Ghost/ghost/admin
Kevin Ansfield 505ae7493e Optimized loading of custom theme setting in design screens
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
2021-10-22 10:49:13 +01:00
..
.github Added codecov.io coverage uploader to CI 2021-10-21 10:37:03 +02:00
app Optimized loading of custom theme setting in design screens 2021-10-22 10:49:13 +01:00
config Added codecov.io coverage uploader to CI 2021-10-21 10:37:03 +02:00
lib Updated offers list in email cta to include only active 2021-10-18 14:48:01 +05:30
mirage Fixed offer tests 2021-10-20 18:44:38 +05:30
public/assets Added articles to offers 2021-10-22 10:31:06 +02:00
tests Fixed tests 2021-10-21 13:16:20 +01:00
.csscomb.json Unsplash integration 2017-08-15 16:01:12 +01:00
.editorconfig deps: ember-cli@2.8.0 2016-10-07 17:32:30 +01:00
.ember-cli Co-located component template files 2020-05-18 13:14:08 +01:00
.eslintignore Bumped ember core dependencies to 3.5.x 2019-03-06 07:39:51 +00:00
.eslintrc.js Update dependency eslint-plugin-ghost to v2.0.0 2020-10-23 09:59:09 +01:00
.gitignore Updated gitignore to exclude IDE files 2021-06-09 15:42:13 +05:30
.watchmanconfig deps: ember-cli@1.13.13 2015-11-30 11:21:39 -06:00
ember-cli-build.js Initial ember-promise-modals implementation 2021-09-13 13:01:12 +01:00
ember-cli-update.json Updated core files to match ember-cli new output 2020-08-03 09:24:58 +01:00
Gruntfile.js Bower => NPM (#972) 2018-03-19 17:56:09 +00:00
LICENSE 2021 2021-01-25 16:51:15 +00:00
package.json Update dependency eslint-plugin-ghost to v2.7.0 2021-10-21 22:40:54 +00:00
README.md Updated badge URL in README 2021-02-03 09:21:06 +00:00
renovate.json Removed ember-testing group from Renovate config 2021-05-12 15:52:17 +01:00
SECURITY.md Updated links to ghost.org sites 2021-01-19 13:18:59 +13:00
testem.js Increased testem's browser_start_timeout to 120s 2020-07-20 12:20:26 +01:00
yarn.lock Update dependency eslint-plugin-ghost to v2.7.0 2021-10-21 22:40:54 +00:00

Ghost-Admin

This is the home of Ember.js based admin client that ships with Ghost.

Do you want to set up a Ghost blog? Check the getting started guide

Do you want to modify or contribute to Ghost-Admin? Please read how to install from source and swing by our forum if you need any help 😄

Have a bug or issue?

Bugs and issues (even if they only affect the admin client) should be opened on the core Ghost repository.

Copyright & License

Copyright (c) 2013-2021 Ghost Foundation - Released under the MIT license. Ghost and the Ghost Logo are trademarks of Ghost Foundation Ltd. Please see our trademark policy for info on acceptable usage.