1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/tests/acceptance
Kevin Ansfield 34cb65df5c new publish menu and date/time picker (#588)
closes https://github.com/TryGhost/Ghost/issues/8249

- replaces the old split-button publish/schedule/update button with a less confusing menu system
- adds a `{{gh-date-time-picker}}` component that contains a datepicker with separate time input
- replaces the date text input in the post settings menu with `{{gh-date-time-picker}}`
  - disabled when post is scheduled, only way to update a scheduled time is via the publish menu
  - validates date is in the past when draft/published so there's no confusion with scheduling
- displays saving status in top-left of editor screen
- refactor editor (auto)saving processes to use ember-concurrency

Other minor changes:
- adds `post.publishedAtBlog{TZ,Date,Time}` properties to Post model to allow working with `publishedAt` datetime in the selected blog timezone rather than UTC
- adds a `beforeSave` hook to `validation-engine` that is called after successful validation and before the Ember Data save call is made
- adds validation of `publishedAtBlog{Date,Time}` to post validator
- prevent gh-task-button showing last task state on first render
- fixes bug where clicking into and out of the published date input in the PSM without making any changes saves a published date for draft posts
2017-04-11 14:39:45 +01:00
..
settings fix broken gh-image-uploader tests 2017-03-17 19:15:02 +02:00
authentication-test.js 🎨 remove usage of ghost's {{asset}} helper in index.html (#574) 2017-03-14 17:04:46 +01:00
content-test.js add dropdown filters for post type, author, and tag (#554) 2017-03-02 12:35:09 -06:00
editor-test.js new publish menu and date/time picker (#588) 2017-04-11 14:39:45 +01:00
ghost-desktop-test.js Update acceptance tests to use new mirage api 2017-01-13 15:59:37 +00:00
password-reset-test.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00
setup-test.js switch to ember-cli-moment-shim (#622) 2017-04-05 19:45:35 +02:00
signin-test.js Update styles for content screen, buttons, and app frame 2017-02-16 19:50:05 +00:00
signup-test.js Update styles for content screen, buttons, and app frame 2017-02-16 19:50:05 +00:00
subscribers-test.js update tests for HTML changes 2017-02-17 10:14:16 +00:00
team-test.js switch to ember-cli-moment-shim (#622) 2017-04-05 19:45:35 +02:00
version-mismatch-test.js new publish menu and date/time picker (#588) 2017-04-11 14:39:45 +01:00