discourse/app/assets/javascripts/admin/addon/routes
Alan Guo Xiang Tan 94b09f3331
DEV: Open theme settings objects editor from admin customize theme page (#26006)
Why this change?

The `/admin/customize/themes/:id/schema/name` route is a work in
progress but we want to be able to start navigating to it from the
`/admin/customize/themes/:id` route.

What does this change do?

1. Move `adminCustomizeThemes.schema` to a child route of
   `adminCustomizeThemes.show`. This is because we need the model
   from the parent route and if it isn't a child route we end up
   having to load the theme model again from the server.

1. Add the `objects_schema` attribute to `ThemeSettingsSerializer`

1. Refactor `SiteSettingComponent` to be able to render a button
   so that we don't have to hardcode the button rendering into the
   `SiteSettings::String` component
2024-03-06 08:24:29 +08:00
..
admin-badges DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-api-index.js DEV: Update transitionTo on Route (#22644) 2023-07-18 14:52:55 -05:00
admin-api-keys-index.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-api-keys-new.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-api-keys-show.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-api-keys.js DEV: Update transitionTo on Route (#22644) 2023-07-18 14:52:55 -05:00
admin-backups-index.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-backups-logs.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-backups.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-badges.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-customize-colors-show.js DEV: Update replaceWith on Route (#23153) 2023-08-21 16:53:54 -05:00
admin-customize-colors.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-customize-email-style-edit.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-customize-email-style-index.js DEV: Update replaceWith on Route (#23153) 2023-08-21 16:53:54 -05:00
admin-customize-email-style.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-customize-email-templates-edit.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-customize-email-templates.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-customize-form-templates-edit.js DEV: Create form templates (#20189) 2023-02-08 11:21:39 -08:00
admin-customize-form-templates-index.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-customize-index.js DEV: Update transitionTo on Route (#22644) 2023-07-18 14:52:55 -05:00
admin-customize-robots-txt.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-customize-theme-components.js FEATURE: Add theme-components route for admin (#24264) 2023-11-08 13:42:27 +10:00
admin-customize-themes-edit.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-customize-themes-index.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-customize-themes-show-schema.js DEV: Open theme settings objects editor from admin customize theme page (#26006) 2024-03-06 08:24:29 +08:00
admin-customize-themes-show.js DEV: Open theme settings objects editor from admin customize theme page (#26006) 2024-03-06 08:24:29 +08:00
admin-customize-themes.js FEATURE: Add theme-components route for admin (#24264) 2023-11-08 13:42:27 +10:00
admin-dashboard-general.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00: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.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-incomings.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-email-index.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-email-logs.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-email-preview-digest.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-received.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-email-rejected.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-sent.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-email-skipped.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-embedding.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-emojis.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-flags-posts-active.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-flags-posts-old.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-flags-topics-index.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-logs-index.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-logs-screened-emails.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-logs-screened-ip-addresses.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-logs-screened-urls.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-logs-staff-action-logs.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-permalinks.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-plugins.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-reports-index.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-reports-show.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-revamp-config-area.js DEV: Automatically generate all admin links for app for new sidebar (#24175) 2023-11-02 10:34:37 +10:00
admin-revamp-config.js DEV: Add new experimental admin UI route and sidebar (#23952) 2023-10-19 14:23:41 +10:00
admin-revamp-lobby.js DEV: Add new experimental admin UI route and sidebar (#23952) 2023-10-19 14:23:41 +10:00
admin-revamp.js FIX: Always preload admin plugin list for admin in sidebar (#25606) 2024-02-09 12:52:22 +10:00
admin-route-map.js DEV: Open theme settings objects editor from admin customize theme page (#26006) 2024-03-06 08:24:29 +08:00
admin-search-logs-index.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-search-logs-term.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-site-settings-category.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-site-settings-index.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-site-settings.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-site-text-edit.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-site-text-index.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-user-badges.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-user-fields.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-user-index.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-user-tl3-requirements.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-user.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-users-index.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-users-list-index.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-users-list-show.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-users-list.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-watched-words-action.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-watched-words-index.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-watched-words.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-web-hooks-edit.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-web-hooks-show.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-web-hooks.js FEATURE: granular webhooks (#23070) 2023-10-09 03:35:31 +00:00
admin.js DEV: save/restore the previous sidebar panel state (#25899) 2024-02-28 12:33:59 +11:00