discourse/app/assets/javascripts/admin/addon
Martin Brennan 85774cc214
UX: Automatically collapse admin page header buttons on mobile (#29040)
This commit attempts to improve the mobile experience for
admin page header and subheader by automatically collapsing
all action buttons in these components into a DMenu when viewing
mobile.

This is done by using different "list" wrapper components and a
DMenu trigger and a DropdownMenu on mobile only, and uses has-block
to determine whether to render the DMenu trigger at all.

This also removes the `PluginOutlet` in `AdminPluginConfigPage`, it
was too inflexible for this `DropdownMenu` case, and since the `:actions`
were always rendering we couldn't rely on `has-block`. A new plugin API,
`registerPluginHeaderActionComponent`, has been introduced instead to
replace it.
2024-10-08 08:28:32 +10:00
..
adapters FEATURE: Add Filter for Webhook Events by Status (#27332) 2024-06-07 10:26:00 -05:00
components UX: Automatically collapse admin page header buttons on mobile (#29040) 2024-10-08 08:28:32 +10:00
controllers DEV: Clean up watched-words controller/component (#29106) 2024-10-07 18:28:18 +02:00
helpers DEV: remap all core icons for fontawesome 6 upgrade (#28715) 2024-09-13 16:50:52 +01:00
lib DEV: Convert admin charts to glimmer/gjs (#28271) 2024-08-23 14:59:56 +02:00
mixins DEV: remap all core icons for fontawesome 6 upgrade (#28715) 2024-09-13 16:50:52 +01:00
models UX: Automatically collapse admin page header buttons on mobile (#29040) 2024-10-08 08:28:32 +10:00
routes DEV: Add a skeleton for section landing page & items (#28477) 2024-10-02 12:19:38 +10:00
services DEV: remap all core icons for fontawesome 6 upgrade (#28715) 2024-09-13 16:50:52 +01:00
templates UX: Automatically collapse admin page header buttons on mobile (#29040) 2024-10-08 08:28:32 +10:00