-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Description
Description
The site hub icon in mobile view has two functions:
- On menus other than the Design menu, it returns to the upper menu.
- On the Design menu, it returns to the dashboard.
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:
On the other hand, in Gutenberg trunk, the site hub is a button element that does nothing when clicked, and is mislabeled:
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:
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:
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.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Metadata
Metadata
Assignees
Labels
Type
Projects
Status