mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
505ae7493e
no issue We want to automatically show brand settings expanded in the design menu when the active theme has no custom theme settings, in order to do that without causing visual noise/jank we need to ensure that we have all the data we need up-front before the design menu is rendered. - optimized `customThemeSettings` loading behaviour - `.load()` will now only perform a fetch if settings have not previously been loaded so it can be called without causing unnecessary waits - `.reload()` will force a clear+refetch of the settings - called by `themeManagement.activate()` after successfully changing a theme - moved fetching of theme settings from the design menu constructor to the `settings.design` route's `model()` hook - means the app will wait for loading to finish before showing any of the design settings screen so we can guarantee the data we need is available - moved update of preview html from the design menu constructor to the design settings route as it's a more appropriate place to find screen setup/loading behaviour |
||
---|---|---|
.. | ||
editor | ||
integration/webhooks | ||
integrations | ||
member | ||
members | ||
offer | ||
settings | ||
setup | ||
staff | ||
tag | ||
application.js | ||
authenticated.js | ||
dashboard.js | ||
designsandbox.js | ||
editor.js | ||
error404.js | ||
home.js | ||
integration.js | ||
integrations.js | ||
launch.js | ||
member.js | ||
members.js | ||
offer.js | ||
offers.js | ||
pages.js | ||
posts.js | ||
pro.js | ||
reset.js | ||
settings.js | ||
setup.js | ||
signin.js | ||
signout.js | ||
signup.js | ||
site.js | ||
tag.js | ||
tags.js | ||
unauthenticated.js | ||
whatsnew.js |