Skip to content

feat: scheduled publish / unpublish#10203

Merged
jmikrut merged 6 commits into
mainfrom
feat/schedule-publish
Dec 27, 2024
Merged

feat: scheduled publish / unpublish#10203
jmikrut merged 6 commits into
mainfrom
feat/schedule-publish

Conversation

@jmikrut

@jmikrut jmikrut commented Dec 27, 2024

Copy link
Copy Markdown
Member

Adds a feature to allow editors to schedule publish / unpublish events in the future. Must be enabled by setting versions.drafts.schedulePublish: true in your Collection / Global configs.

Screen.Recording.2024-12-27.at.2.54.12.PM.mov

Todo:

  • Translate new i18n keys
  • Wire up locale-specific scheduled publish / unpublish actions

@jmikrut jmikrut enabled auto-merge (squash) December 27, 2024 21:34
@jmikrut jmikrut disabled auto-merge December 27, 2024 21:52
@jmikrut jmikrut merged commit 37d1f2d into main Dec 27, 2024
@jmikrut jmikrut deleted the feat/schedule-publish branch December 27, 2024 21:52
@github-actions

Copy link
Copy Markdown
Contributor

🚀 This is included in version v3.12.0

@cbratschi

Copy link
Copy Markdown

@jmikrut Thanks a lot for adding this feature. But how can I remove an upcoming event? The dialog doesn't offer a delete option yet.

@PP-Tom

PP-Tom commented Dec 28, 2024

Copy link
Copy Markdown

Thanks for adding this feature!

  • It seems there isn't a way to schedule an unpublish of a specific locale.
  • I still think the publish button should publish that specific locale by default, in our experience so far, clients are accidentally publishing unfinished localization.
  • Once published, the button becomes disabled so you can't then schedule an unpublish.

@RafalFilipek

Copy link
Copy Markdown
Contributor

How does this exactly work? Does publishing in the future save a snapshot of the record, which will then be published? If I view the record afterward, I understand that I see the state that will be visible after the last set publish action. So, there's no possibility to change something "earlier."

If I understand this correctly, shouldn't there be an option to delete publish and unpublish events to "remove from the stack" the changes and allow something to be changed?

The mechanism of future publishing is a very complex functionality, so I would like to understand it very well. :)

@SalahAdDin

Copy link
Copy Markdown

Any documentation about it?

kendelljoseph pushed a commit that referenced this pull request Feb 21, 2025
Adds a feature to allow editors to schedule publish / unpublish events
in the future. Must be enabled by setting
`versions.drafts.schedulePublish: true` in your Collection / Global
configs.


https://github.com/user-attachments/assets/ca1d7a8b-946a-4eac-b911-c2177dbe3b1c

Todo:

- [x] Translate new i18n keys
- [x] Wire up locale-specific scheduled publish / unpublish actions
@harsh2august

Copy link
Copy Markdown

Hey It is not getting published.

@SalahAdDin

Copy link
Copy Markdown

@harsh2august It is recommended to create a new issue with the full track.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants