WordPress / gutenberg

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

Site Editor: Ensure SnackBar (save confirmation message) is in the correct place #47446

Open Marc-pi opened 1 year ago

Marc-pi commented 1 year ago

Description

In site editor (menu Appearance > Editor beta)

please notice that we do not have the same behavior when editing a post (when we are not editing the templates)

image image image


i'm poking @jasmussen design team + @annezazu FSE Outreach program declaread as bug, because we do not have the same behavior depending the admin area we are (site editor vs post editor)

Step-by-step reproduction instructions

See above

Screenshots, screen recording, code snippet

No response

Environment info

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

ndiego commented 1 year ago

please notice that we do not have the same behavior when editing a post (when we are not editing the templates)

Hi @Marc-pi, thanks for reporting this. I want to confirm we see the same thing. When saving a post, I see a similar confirmation message as is displayed in the Site Editor.

save-behavior

annezazu commented 1 year ago

I can replicate what Nick sees. Updating the issue title either way to make it easier to find.

Marc-pi commented 1 year ago

When saving a post, I see a similar confirmation message as is displayed in the Site Editor.

so you have 2 extra frictions !!!

annezazu commented 1 year ago

This matches what's been reported here: https://github.com/WordPress/gutenberg/issues/19749 Mind if I close this out as a result?

Marc-pi commented 1 year ago

i'll backport the points in the related post, to minimise the nr of tickets, so i close

Marc-pi commented 1 year ago

reopened, since here it deals with the confirmation box that is displayed at the opposite side of the screen than the publish button it is generated from. #19749 is related and also quite different

the (clickable) snackbar msg is not located in proximity to the button that generates it (see https://core.trac.wordpress.org/ticket/40822), which is not natural (UX)