gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

The "Block created" and "Block updated" messages shouldn't be persistent

Open johnbillion opened this issue 8 years ago • 2 comments

Describe the bug

When creating a reusable block, the "Block created" confirmation message appears but remains persistent until the user actively dismisses it.

The same occurs when updating (for example, naming) a reusable block. The "Block updated" message is persistent until the user dismisses it.

This results in confirmation message stacking when saving the post. See screenshot.

To Reproduce Steps to reproduce the behavior:

  1. Create a new post.
  2. Insert content into a block
  3. Convert the block into a reusable block
  4. Note the confirmation message, and note that it is persistent
  5. Publish the post
  6. Note the "Post published" message and the "Block created" message stack on top of each other

Expected behavior

Ideally the confirmation messages for reusable blocks would disappear after a timeout, or disappear at least when the post is published to avoid stacking.

Screenshots

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: 70

Additional context

  • Gutenberg version: WordPress 5.0 beta 5

johnbillion avatar Nov 20 '18 19:11 johnbillion

Same with the messages "Post updated" and "Page updated" after saving a post or page after it is published. It stays visible until click on the x. This does not happen when post or page is a draft.

There's a couple of annoying things due to that behavior:

  1. If the post or page is saved every now and again that message will be up there more or less permanently, which defeats its purpose really.
  2. A click in the title open the permalink - perfectly hidden behind that message.

Ideally the messages would disappear after a timeout.

bildschirmfoto 2018-11-23 um 16 56 27

pmmueller avatar Nov 23 '18 16:11 pmmueller

Another request for this from the WordPress.com forums.

KokkieH avatar Dec 27 '18 07:12 KokkieH