-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Improve metrics on post publish view buttons #53245
Conversation
Size Change: -56 B (0%) Total Size: 1.5 MB
ℹ️ View Unchanged
|
Flaky tests detected in 6737b22. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5729776562
|
Oh, while I'm here, I wonder if we should reduce the button labels:
Not a strong opinion and probably, but the "Post" seems implied, and any time we can remove the CPT type usually translation benefits from it. Also, what's the capitalization story here? I seem to recall us avoiding titlecase 🤔 |
6737b22
to
f17b529
Compare
@jasmussen I don't, but is this the only readonly input? I used the disabled styling from the design library, but kept the color value (as it's not entirely disabled). Also added the gap.
They're currently using the post type's view item and add new item labels, like this:
I don't mind a follow-up to not use those labels, and simplify to View and Add new though. 🙂 |
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.
Let's get this in, but just in general, the less local overrides we can go with the better. Thanks for the attention to detail!
Just noticed that increasing the left/right padding of the URL readonly input as shown in the last screenshot broke the text-overflow ellipsis in Firefox. Firefox: Chrome: Besides that, I'd think the left/right padding is unnecessarily a bit too big and uneven with the top/bottom one. Edit: weirdly enough, it's the top/bottom value that breaks the ellipsis in firefox. |
What?
Tidying up the post publish view to get it better in line with existing UI.
Testing Instructions
Screenshots or screencast