discourse/app/assets/javascripts/admin/addon
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
..
adapters DEV: Migrate remaining admin classes to native syntax (#20717) 2023-03-17 12:25:05 +00:00
components DEV: Open theme settings objects editor from admin customize theme page (#26006) 2024-03-06 08:24:29 +08:00
controllers DEV: Open theme settings objects editor from admin customize theme page (#26006) 2024-03-06 08:24:29 +08:00
helpers DEV: replace registerUnbound usage with default exports (#23802) 2023-10-19 14:28:25 +01:00
lib DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
mixins DEV: Open theme settings objects editor from admin customize theme page (#26006) 2024-03-06 08:24:29 +08:00
models DEV: Fix random typos (#25957) 2024-02-29 12:24:37 +01:00
routes DEV: Open theme settings objects editor from admin customize theme page (#26006) 2024-03-06 08:24:29 +08:00
services FIX: "Action Logs" button on user admin page (#25300) 2024-01-17 13:49:59 +00:00
templates DEV: Open theme settings objects editor from admin customize theme page (#26006) 2024-03-06 08:24:29 +08:00