mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 14:03:18 +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 |
||
---|---|---|
.. | ||
concerns | ||
about_serializer_spec.rb | ||
admin_plugin_serializer_spec.rb | ||
admin_user_action_serializer_spec.rb | ||
admin_user_list_serializer_spec.rb | ||
basic_group_serializer_spec.rb | ||
basic_group_user_serializer_spec.rb | ||
basic_post_serializer_spec.rb | ||
basic_reviewable_flagged_post_serializer_spec.rb | ||
basic_reviewable_queued_post_serializer_spec.rb | ||
basic_reviewable_serializer_spec.rb | ||
basic_reviewable_user_serializer_spec.rb | ||
basic_user_serializer_spec.rb | ||
category_detailed_serializer_spec.rb | ||
category_serializer_spec.rb | ||
category_upload_serializer_spec.rb | ||
current_user_serializer_spec.rb | ||
detailed_user_badge_serializer_spec.rb | ||
directory_item_serializer_spec.rb | ||
emoji_serializer_spec.rb | ||
found_user_serializer_spec.rb | ||
found_user_with_status_serializer_spec.rb | ||
group_show_serializer_spec.rb | ||
group_user_serializer_spec.rb | ||
group_user_with_custom_fields_serializer_spec.rb | ||
invite_serializer_spec.rb | ||
listable_topic_serializer_spec.rb | ||
new_post_result_serializer_spec.rb | ||
notification_serializer_spec.rb | ||
pending_post_serializer_spec.rb | ||
post_revision_serializer_spec.rb | ||
post_serializer_spec.rb | ||
poster_serializer_spec.rb | ||
reviewable_flagged_post_serializer_spec.rb | ||
reviewable_queued_post_serializer_spec.rb | ||
reviewable_score_serializer_spec.rb | ||
reviewable_serializer_spec.rb | ||
reviewable_user_serializer_spec.rb | ||
single_sign_on_record_serializer_spec.rb | ||
site_serializer_spec.rb | ||
suggested_topic_serializer_spec.rb | ||
tag_group_serializer_spec.rb | ||
tag_serializer_spec.rb | ||
theme_serializer_spec.rb | ||
theme_settings_serializer_spec.rb | ||
topic_link_serializer_spec.rb | ||
topic_list_item_serializer_spec.rb | ||
topic_list_serializer_spec.rb | ||
topic_tracking_state_item_serializer_spec.rb | ||
topic_tracking_state_serializer_spec.rb | ||
topic_view_details_serializer_spec.rb | ||
topic_view_posts_serializer_spec.rb | ||
topic_view_serializer_spec.rb | ||
upload_serializer_spec.rb | ||
user_auth_token_serializer_spec.rb | ||
user_badge_serializer_spec.rb | ||
user_bookmark_list_serializer_spec.rb | ||
user_card_serializer_spec.rb | ||
user_post_bookmark_serializer_spec.rb | ||
user_serializer_spec.rb | ||
user_status_serializer_spec.rb | ||
user_summary_serializer_spec.rb | ||
user_with_custom_fields_serializer_spec.rb | ||
web_hook_post_serializer_spec.rb | ||
web_hook_topic_view_serializer_spec.rb | ||
web_hook_user_serializer_spec.rb | ||
wizard_serializer_spec.rb |