Skip to content

Separate pre-publish and post-publish panels visibility and settings #57268

Open

Description

Description

In the publishing flow, there's something that has always puzzled me a little. As a user, when I publish a post what I get is that the user interface shows me something before publishing and something else after publishing.

  • Before: it shows me a series of checks: visibility and publish date settings, plus some suggestions like reminders to add tags and categories. Those are all useful things to check and make perfectly sense.
  • After: there aren't checks. They're more suggestions on what to do next or available actions like 'view post'.

As such, the nature of the pre and post publish panels is very different conceptually.

The problem with this is that the more I publish posts, the more I don't understand why after publishing I get a checkbox that says:

Always show pre-publish checks.

It refers to 'pre' publish checks, but I'm gettint this checkbox in the post publish panel, which doesn't make much sense. As a user, I'd be pretty confused. What this checkbox exactly enables / disables?

More importantly: unchecking thie checkbox disableds both the pre and post publish panels. It only refers to the 'pre' publish checks but it also disables the post publish suggestions. To me, this ic clearly wrong and not a good user experience.

Additionally: both panels provide slots that can be filled by plugins to add checks and suggestions. Users may find useful to disabled only one of the two panels and not be forced to disable or enable both of them at once. Plugins also may find useful to provide different flows depending whterh one or both panels are enabled or disabled.

Overall, I'd think these two panels should be completely separated and have two different settings to toggel their visibility.

Worth also reminding that in the Preferences modal dialog there's only one checkbox that disables both although it only refers to the 'pre' publish checks.

Screenshots of the two panels, without and with additional content added by plugins:

prepublish and postpublish

Screenshot of the related setting in the Preferences modal dialog, where also the description only refers to the 'pre' publish checks:

pre-publish checks preference

Step-by-step reproduction instructions

  • Publish a post.
  • Observe both the pre and the pos publish panels show a checkbox labeled Always show pre-publish checks.
  • Either uncheck the checkbox or disable the related setting in the Preferences modal dialog.
  • Publish another post.
  • Observe that both the pre and post publish panels are disabled.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

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

Metadata

Assignees

No one assigned

    Labels

    [Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Package] Edit Post/packages/edit-post[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions