Skip to content

Command Palette: Nothing appears in the side menu after removing the template part #52023

Closed

Description

@t-hamano

Description

When Command Palette is launched in edit mode for a template part, the "Delete template part" action appears by default. When this action is executed, the template part is deleted and the page appears to move, but nothing appears in the side menu.

I expect a transition to the Library or All template parts menu once the template part is removed.

Step-by-step reproduction instructions

  • Create a template part in the site editor.
  • Open the Command Palette.
  • Click "Delete template part".
  • Confirm that nothing appears in the sidebar.

Note: The snackbar shows "undefined" deleted, but this issue has already been reported on #51969.

Screenshots, screen recording, code snippet

2b721f853a8484efd58223a84a547967.mp4

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

Activity

  1. added
    [Type] Bug
    [Feature] Site Editor
    on Jun 28, 2023
  2. moved this to 🏗️ In Progress in WordPress 6.3.x Editor Taskson Jun 28, 2023
  3. moved this from 🏗️ In Progress to ✅ Done in WordPress 6.3.x Editor Taskson Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Site Editor[Type] Bug

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions