Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-publish checks showing template part details #64913

Closed
jameskoster opened this issue Aug 29, 2024 · 1 comment · Fixed by #67010
Closed

Pre-publish checks showing template part details #64913

jameskoster opened this issue Aug 29, 2024 · 1 comment · Fixed by #67010
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Bug An existing feature does not function as intended

Comments

@jameskoster
Copy link
Contributor

This is a very obscure bug; if you open the pre-publish checks, then switch immediately to edit a template part, the pre-publish panel will show broken/incorrect information about the template part. Here's a video:

pre-publish.mp4

To re-produce

  1. Edit a draft page
  2. Ensure pre-publish checks are enabled in editor preferences
  3. Ensure template preview is toggled on so you can select the header or footer
  4. Select the header (or footer) then click 'Edit' in the block toolbar
  5. Notice the pre-publish panel contents update to reflect the template part

What I'd expect

By navigating away from editing the page I'd consider the publish flow interrupted. Consequently I'd expect the pre-publish panel to close.

@jameskoster jameskoster added [Type] Bug An existing feature does not function as intended [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") labels Aug 29, 2024
@sarthaknagoshe2002
Copy link
Contributor

@jameskoster Thank you for reporting this bug! I have submitted a PR to fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Bug An existing feature does not function as intended
Projects
None yet
2 participants