Ghost/ghost/admin
Kevin Ansfield 471a3b8c0d Fixed portal settings modal sometimes having stale data
no issue

On the membership screen we save settings before opening the portal settings modal but we weren't waiting for the save to finish which meant that the portal settings modal could load using stale data.

- passed the save settings task in via the portal settings modal's model
- added a `finishPreloading` action that contains all of the dynamic setup tasks that were previously in the component's `init` method
    - if a preload task was passed in and it's currently running (as it would be if the modal is opened via the membership screen button) then it will wait for the task to finish before running the setup tasks
- trigger the `finishPreloading` action when the modal is rendered
- show a loading spinner in place of the modal contents whilst pre-loading
2021-05-19 15:37:06 +01:00
..
.github ⬆️ Bumped minimum Node version to 12.22.1 and 14.16.1 2021-05-07 14:10:26 +01:00
app Fixed portal settings modal sometimes having stale data 2021-05-19 15:37:06 +01:00
config Added share/send preview footers to post preview modal 2021-02-02 16:08:05 +00:00
lib Switch deprecated htmlSafe imports from @ember/string to @ember/template 2021-05-12 12:33:40 +01:00
mirage Fixed tests 2021-05-10 21:02:54 +01:00
public/assets Added SSL precondition for Stripe Connect UI (#1967) 2021-05-19 19:56:45 +05:30
tests 🎨 Reverted ability to set post access level to labels 2021-05-14 16:01:14 +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 Bumped ember core dependencies to 3.7.x 2019-03-07 16:25:43 +00:00
.watchmanconfig
ember-cli-build.js Pinned all postcss dependencies to v7 (#1830) 2021-01-19 09:25:05 +00: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 reframe.js to v3.0.3 (#1968) 2021-05-19 09:52:53 +01: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 Lock file maintenance 2021-05-19 09:57:32 +01: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.