discourse/app/assets/javascripts/admin/addon/controllers
Martin Brennan 70f7c0ee6f
FEATURE: More flexible admin plugin config nav definition (#26254)
This commit changes the API for registering the plugin config
page nav configuration from a server-side to a JS one;
there is no need for it to be server-side.

It also makes some changes to allow for 2 different ways of displaying
navigation for plugin pages, depending on complexity:

* TOP - This is the best mode for simple plugins without a lot of different
  custom configuration pages, and it reuses the grey horizontal nav bar
  already used for admins.
* SIDEBAR - This is better for more complex plugins; likely this won't
  be used in the near future, but it's readily available if needed

There is a new AdminPluginConfigNavManager service too to manage which
plugin the admin is actively viewing, otherwise we would have trouble
hiding the main plugin nav for admins when viewing a single plugin.
2024-03-21 13:42:06 +10:00
..
admin-badges DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-api-keys-index.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-api-keys-new.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-api-keys-show.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-api-keys.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-backups-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-backups-logs.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-backups.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-badges.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-colors-show.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-colors.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-email-style-edit.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-email-templates-edit.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-email-templates.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-form-templates-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-robots-txt.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-customize-themes-edit.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-themes-show.js FEATURE: add language picker for theme translations in admin UI (#26150) 2024-03-18 12:00:28 -04:00
admin-customize-themes.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-dashboard-general.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-dashboard-moderation.js DEV: Replace period mixin with a component (#25292) 2024-01-18 13:06:42 +01:00
admin-dashboard-new-features.js FEATURE: dedicated admin section for new features (#24292) 2023-11-20 09:59:04 +11:00
admin-dashboard-reports.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-dashboard-tab.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-dashboard.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-email-advanced-test.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-bounced.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-email-logs.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-preview-digest.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-email-received.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-rejected.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-sent.js FEAT: add cc addresses and post_id to sent email logs (#25014) 2024-01-03 09:27:25 +08:00
admin-email-skipped.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-embedding.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-emojis.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-logs-screened-emails.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-logs-screened-ip-addresses.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-logs-screened-urls.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-logs-staff-action-logs.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-permalinks.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-plugins-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-plugins-show-settings.js FEATURE: Allow site settings to be edited throughout admin UI (#26154) 2024-03-18 08:50:39 +10:00
admin-plugins.js FEATURE: More flexible admin plugin config nav definition (#26254) 2024-03-21 13:42:06 +10:00
admin-reports-show.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-revamp.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-search-logs-index.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-search-logs-term.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-site-settings-category.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-site-settings.js FEATURE: Allow site settings to be edited throughout admin UI (#26154) 2024-03-18 08:50:39 +10:00
admin-site-text-edit.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-site-text-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-user-badges.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-user-fields.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-user-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-user.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-users-list-show.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-watched-words-action.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-watched-words.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-web-hooks-edit.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-web-hooks-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-web-hooks-show.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-web-hooks.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00