-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Apply __next40pxDefaultSize to TextControl and Button component in renaming UIs #56933
Conversation
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
Size Change: -22 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
Flaky tests detected in 2775329. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7165476920
|
e9ee928
to
8e3d374
Compare
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.
Nice. Can you make the buttons 40px tall too? No blocker, but if you're there at the same time :)
Thanks for the review, @jasmussen!
Makes sense, updated 👍 Block Renaming ModalNavigation Renaming ModalTemplate Renaming ModalPattern Renaming Modal and Pattern Renaming Modal via Command PalettePattern Category Renaming Modal |
Part of #46741
What?
This PR adds a
__next40pxDefaultSize
to the text control component in actions related to renaming.How?
I made changes in 7 places related to renaming. As for renaming the block, it should have already been changed in #56022, but it looks like it was unintentionally deleted by #56386 (Source 1, Source 2).
Testing Instructions
In the UI below, confirm that the height of the text control is 40px.
Block Renaming Modal
Open the Post Editor > Insert a block > Open the Options dropdown > Rename
Block Advanced Panel
Open the Post Editor > Insert a block > Show block sidebar > Open Advanced panel > Block Name
Navigation Renaming Modal
Open the Site Editor > Navigation Page > Select a navigation > Open the Actions dropdown > Rename
Template Renaming Modal
Open the Site Editor > Patterns page > Create a custom template > Select the template > Open the Actions dropdpwn > Rename
Pattern Renaming Modal and Pattern Renaming Modal via Command Palette
Pattern Category Renaming Modal
Open the Site Editor > Patterns page > Create a pattern with categories > Select the category > Open the Actions dropdpwn > Rename