mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
43d417858a
refs https://github.com/TryGhost/Team/issues/1542 - moved publish-flow modal into `components/editor-labs/modals/publish-flow` as we have enough editor-related components to keep them in one place - updated publish flow design to use expanding blocks in place of dropdowns - added `openSection` property in publish-flow modal and associated action for toggling sections - moved "publish at" option into a separate component to keep publish-flow modal cleaner (keeps option-specific actions out of the main modal component) - used `{{liquid-if}}` to animate the expanding blocks - added schedule time properties to `PublishOptions` - kept "is scheduled" and "scheduled at" separate so it's possible to keep the selected schedule time across selecting/deselecting the option to schedule - ensures schedule date is kept to the minimum 5-minute in the future across option changes - updated publish-management to reset the scheduled option to "Right now" when the publish-flow modal is opened if a schedule time was previously set but is now in the past |
||
---|---|---|
.. | ||
modals | ||
publish-options | ||
publish-management.hbs | ||
publish-management.js |