discourse/app/assets/javascripts/admin/addon/models
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
..
admin-dashboard.js FEATURE: Always show full page "New Features" to admins (#28383) 2024-08-16 09:12:24 +10:00
admin-plugin.js UX: Automatically collapse admin page header buttons on mobile (#29040) 2024-10-08 08:28:32 +10:00
admin-user.js FEAT: Allow admin delete user's associated accounts (#29018) 2024-09-27 20:08:05 +08:00
api-key.js DEV: Fix "no-setter-return" lint (#24585) 2023-11-28 10:49:49 +01:00
backup-status.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
backup.js DEV: Update admin models to native class syntax (#20704) 2023-03-17 10:18:42 +00:00
color-scheme-color.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
color-scheme.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
email-log.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
email-preview.js DEV: Update admin models to native class syntax (#20704) 2023-03-17 10:18:42 +00:00
email-settings.js DEV: Update admin models to native class syntax (#20704) 2023-03-17 10:18:42 +00:00
email-style.js DEV: Update admin models to native class syntax (#20704) 2023-03-17 10:18:42 +00:00
email-template.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
flag-type.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
form-template.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
incoming-email.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
permalink.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
report.js DEV: remap all core icons for fontawesome 6 upgrade (#28715) 2024-09-13 16:50:52 +01:00
screened-email.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
screened-ip-address.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
screened-url.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
site-setting.js FEATURE: Allow site settings to be edited throughout admin UI (#26154) 2024-03-18 08:50:39 +10:00
site-text.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
staff-action-log.js FEATURE: Log tag group changes in staff action log (#28787) 2024-09-09 10:50:48 +08:00
theme-settings.js DEV: Load theme objects typed setting metadata when routing to editor (#26354) 2024-03-26 14:02:05 +08:00
theme.js DEV: remap all core icons for fontawesome 6 upgrade (#28715) 2024-09-13 16:50:52 +01:00
tl3-requirements.js DEV: Update admin models to native class syntax (#20704) 2023-03-17 10:18:42 +00:00
user-field.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
version-check.js DEV: Update admin models to native class syntax (#20704) 2023-03-17 10:18:42 +00:00
watched-word.js FEATURE: add HTML replacements 2024-05-14 10:41:27 +02:00
web-hook.js FIX: Selecting categories for new admin webhooks (#26746) 2024-04-25 09:43:16 -05:00