Improve the DocumentBar post type label for the Homepage and Posts Page cases #66320
Closed
2 tasks done
Labels
Needs Design Feedback
Needs general design feedback.
[Package] Editor
/packages/editor
[Type] Bug
An existing feature does not function as intended
Description
#65170 added a 'post type label' to the DocumentBar and removed the type icon to provide a clearer information about the object being edited. So far so good. Screenshot:
There are at least two edge cases though where other parts of the UI use a special label for the object being edited: The 'Homepage' and 'Posts Page' pages.
In this cases, while the DocumentBar still says just 'Page', the
PostCardPanel
in the Settings panel adds a more specific label to these special pages.As such, users see two inconsistent pieces of information, which is confusing, and may think something is going wrong.
Screenshots:
I'd suggest to provide a consistent information and make the Document Bar handle these special cases by providing a consistent label:
Step-by-step reproduction instructions
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.
The text was updated successfully, but these errors were encountered: