-
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
Fix custom template creation regression #50797
Conversation
Size Change: +68 B (0%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
Flaky tests detected in aa0aa39. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5044227482
|
@@ -50,7 +50,7 @@ function AddCustomGenericTemplateModalContent( { onClose, createTemplate } ) { | |||
placeholder={ defaultTitle } | |||
disabled={ isBusy } | |||
help={ __( | |||
'Describe the template, e.g. "Post with sidebar".' | |||
'Describe the template, e.g. "Post with sidebar". A custom template can be manually applied to any post or page.' |
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.
This is just to match the post editor's modal.
@jasmussen I have made the input in the modal to be full width for now. We should probably land this regression and have a follow up for design improvements, as it's not working right now on trunk. What do you think? |
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 think we should merge this as it fixes an important bug.
There are other design details to polish in this flow, and we can probably include the custom-template-naming step therein.
The input becomes a bit wide, so it'd be good to follow up. |
I'll make an issue for the UX / Polish board when I get a moment 👍 Edit: No need, already tracked in #50395. |
What?
Resolves: #50793
I introduce a regression in #50595 where the creation of a custom template is not possible right now. This PR fixes that.
Since it seems we focuses on the other flows mostly, this might need some css tweaks or design feedback