mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 23:04:01 +08:00
94b09f3331
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 |
||
---|---|---|
.. | ||
admin_customize_themes.rb | ||
admin_dashboard_new_features.rb | ||
admin_settings.rb | ||
base.rb | ||
category.rb | ||
csv_export_pm.rb | ||
discovery.rb | ||
form_template.rb | ||
group_activity_posts.rb | ||
group.rb | ||
review.rb | ||
search.rb | ||
tag.rb | ||
topic.rb | ||
user_notifications.rb | ||
user_preferences_account.rb | ||
user_preferences_interface.rb | ||
user_preferences_navigation_menu.rb | ||
user_preferences_security.rb | ||
user_preferences.rb | ||
user_private_messages.rb | ||
user.rb |