WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.33k stars 4.12k forks source link

Ability to turn off constant snackbar notifications #39997

Open maddisondesigns opened 2 years ago

maddisondesigns commented 2 years ago

Description

The constant barrage of notifications and popups in Gutenerg is so annoying! Can you please add an option (saved to the database and not just local storage) that allows us to turn off these annoying notifications.

I don't need preview popups even time I hover over a block in the Block Inserter. I don't need to be told that I just inserted a pattern when I just clicked on a pattern to insert it. I don't need to be told that I just published a Page when I literally just clicked the Publish button.

We already get enough popups when browsing the web, we don't need them when we're simply trying to edit our own site's content. The Snackbar notifications currently show for a minimum of 20 seconds, which is waaaaay to long. Not only should this length be reduced, we should be able to turn off ALL of these notifications altogether.

screenshot_877 screenshot_875 screenshot_876

Step-by-step reproduction instructions

Screenshots, screen recording, code snippet

No response

Environment info

macOS Monterey 12.3.1 Firefox 98.0.2 WP 5.9.2 Core (no plugin)

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

alexstine commented 2 years ago

I see this being a tricky one since screen reader users may not always have the same context or UX that sighted people have. Maybe a solution is to allow the setting to hide visually without removing the screen reader alert. Just an idea to kick off the discussion. 👍

maddisondesigns commented 2 years ago

@alexstine I'm not sure I understand why you think this is a tricky one. I'm not suggestion to turn them off altogether. My suggestion was to provide an option to allow users to turn them off if they want to. If you're using a screen reader, have poor eyesight, or just happen to like the notifications, then you most likely wouldn't turn them off.

alexstine commented 2 years ago

@maddisondesigns I think the setting just needs to be clear. I might even go as far as writing something like this.

Disable action notifications This disables notifications for most non-important actions around the editor. NOTE: Do not disable this if you rely on screen readers or additional accessibility tools.

Why? As I mentioned, sometimes it isn't always apparent when a certain action is completed. At the very least, I think it should be made clear to the group it would most matter to that this setting should not be used.

Thanks.

samxmunoz commented 2 years ago

I think you should be able to either turn off the notifications or it should be clearer that when you click them they go away.

Visual feedback like an "X" in the upper corner would be clearer that you don't need to just wait for them to disappear.

But I agree, this is a lot:

Screen Shot 2022-07-25 at 8 25 36 AM .