Skip to content

Publish flow: ensure setting date to the past sets the status to draft #62151

Open
@annezazu

Description

In testing this PR for 6.6 #62070 I noticed that I could set the status to scheduled but then pick a date in the past and the scheduled status wouldn't update. I think the status should be "draft" since it's not yet published but curious for @WordPress/gutenberg-design feedback.

To replicate, set status to "Scheduled" then change the Publish date to the past or now. Notice the status remains as "Scheduled" while the Schedule/Publish button changes:

three.bugs.mov

^Note this shows two bugs I'm opening to give a full view of the current flow. cc @ntsekouras

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Needs DecisionNeeds a decision to be actionable or relevant[Package] Editor/packages/editor[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions