Ghost/ghost/admin/app/controllers
Kevin Ansfield cf8b372fed Added fullscreen preview with toggle to publish flow
refs https://github.com/TryGhost/Team/issues/1621

- copied existing preview modal over to `editor-labs/modals` directory
  - old modal will be deleted in cleanup
- moved "Preview" button from editor template to the `<PublishManagement>` component
  - allows for preview modal to be controlled alongside the publish flow modal
- added `togglePreviewPublish()` action to `<PublishManagement>`
  - opens whichever of preview/publish is not currently open, this opens the new modal on top of the old modal
  - waits for the modal animation duration to pass then closes the modal that's now underneath, this prevents the flashing that occurs when modals are both opening and closing at the same time because that results in a 50% opacity of both modals during the middle of the animation
- updated preview modal and publish-flow modals to have "Publish" and "Preview" buttons respectively that call the `togglePreviewPublish` action
- updated preview modal to be fullscreen to better match the publish modal
2022-05-11 23:46:01 +01:00
..
editor Collapsed @service injection definitions to single-line style 2022-02-01 17:03:54 +00:00
members Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
settings Renamed products to tiers (#2372) 2022-05-11 22:41:54 +05:30
setup 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
application.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
billing.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
dashboard.js Updated member count charts to use the new Stats API 2022-03-31 16:09:41 +02:00
designsandbox.js Renamed design sandbox template 2021-02-05 14:00:51 +01:00
editor.js Added fullscreen preview with toggle to publish flow 2022-05-11 23:46:01 +01:00
error.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
home.js Added display of get-started modal after completing setup flow 2022-02-01 18:20:26 +00:00
launch.js Updated pricing setup on launch wizard 2021-05-20 17:01:12 +05:30
member.js Renamed products to tiers (#2372) 2022-05-11 22:41:54 +05:30
members-activity.js Excluded all email related events from feeds when newsletter is disabled 2022-01-27 19:19:15 +00:00
members.js Renamed products to tiers (#2372) 2022-05-11 22:41:54 +05:30
offer.js Renamed products to tiers (#2372) 2022-05-11 22:41:54 +05:30
offers.js Renamed products to tiers (#2372) 2022-05-11 22:41:54 +05:30
pages-loading.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
pages.js Switched majority of files from EmberObject to native class syntax using @classic decorator (#2227) 2022-02-01 09:34:03 +00:00
posts-loading.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
posts.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
reset.js Renamed passwordreset body object to password_reset 2022-04-28 15:33:09 +01:00
settings.js Collapsed @service injection definitions to single-line style 2022-02-01 17:03:54 +00:00
setup.js Directed selfhosters to 'done' screen after setup 2022-03-11 12:42:06 +00:00
signin.js Renamed passwordreset body object to password_reset 2022-04-28 15:33:09 +01:00
signup.js Fixed linter error 2022-03-09 12:24:36 +00:00
site.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
tag.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
tags.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
whatsnew.js Hide system info when running in hosted environments 2022-05-10 14:11:23 +01:00