Skip to content

Library: Snackbar notices are not shown when deleting a pattern #52003

@talldan

Description

@talldan

Description

Snackbar notices don't seem to be working in the Library.

There is code to trigger a notification, for example when deleting a pattern, but the notice doesn't appear in the UI.

Step-by-step reproduction instructions

  1. Open the site editor
  2. Open the library from the navigation menu.
  3. Open the 'Custom patterns' from the navigation menu
  4. Using the 'Actions' dropdown or the delete shortcut, try deleting a pattern

Expected: The pattern is deleted, a snackbar notice is shown confirming, and the deletion is announced to screenreaders.
Actual: The pattern is deleted, there's no snackbar or announcement

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions