Site Hub: Doesn't work properly on some screens in mobile view #69155
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
Mobile Web
Viewport sizes for mobile and tablet devices
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
The site hub icon in mobile view has two functions:
However, it may not work properly in the block theme and classic theme.
Block Theme
On the Design menu, the site hub is supposed to be a link to go back to the dashboard. This was working correctly in WP 6.7:
screenshot
On the other hand, in Gutenberg trunk, the site hub is a button element that does nothing when clicked, and is mislabeled:
screenshot
After some investigation, it appears that this issue occurred on #67199.
Classic Theme
Access the Patterns menu.
In WP 6.7, the site hub button navigates tothe Design menu. This is not what we want, since in WP 6.7, the only allowed menu in the site editor is the Patterns - it should be a link to the dashboard:
screenshot
On the other hand, in Gutenberg trunk, the site hub is a link to the dashboard. This means you cannot return to the Design smenu, which has two menus: Styles and Patterns:
screenshot
This may be related to the introduction of StyleBooks for the Classic theme, which means the Patterns menu is no longer the root menu.
Taking all of this into consideration, I believe that although not everything worked correctly in WP 6.7, there are some regressions in Gutenberg trunk that need to be fixed in WP 6.8.
Step-by-step reproduction instructions
N/A
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: