-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Replace horizontal ellipsis icon with vertical ellipsis icon. #52731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Size Change: -97 B (0%) Total Size: 1.43 MB
ℹ️ View Unchanged
|
Ping @WordPress/gutenberg-design for a kind feedback. Also regarding the following point:
|
There are use cases still where the horizontal ellipsis can be used, so I don't think it should be removed from the library. I have seen some mockups related to fonts, where horizontal ellipsis can better indicate the direction of what happens next, i.e. when a menu opens to the right. I agree we should have some documentation on best practices. We might even end up back to a point where we realize, no, in fact we don't use the horizontal one and can remove it. But for now I think we should keep it just as we have arrows and chevrons pointing in all directions, as a utility that's available. |
Agree that we shouldn't remove the icon, especially as it's a public library and third parties may be using it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that - at least for now - we should not remove the horizontal icon.
The PR looks good, and I think this would improve the consistency of our UI 👍
Thanks everyone for your feedback. Merging. |
Fixes #52408
What?
All the ellipsis icon buttons in the editor use the vertical ellipsis icon, except two.
Also, the ellipsis button in the Patterns list has a small target size of only 24 x 24 pixels, which seems to be there only for visual concerns.
Why?
It is best to always use the same icon. consistency and affordance considerations prevail on any otehr ad-hoc visual consideration.
Regarding the target size: Functionality come first than visuals and the target size should be the standard one for icon buttons 36 X 36 pixels.
How?
Note: with this change, the
moreHorizontal
icon is now unused. As such,packages/icons/src/library/more-horizontal.js
could be completely removed. Please do let me know what to do in this regard.Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast