-
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
Add home template details to inspector controls #61762
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: +932 B (+0.05%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
Flaky tests detected in 839a3af. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9154477143
|
I get a strange error when I build this branch:
Any ideas? |
This doesn't seem related to this PR.. Have you resolved the issue? Probably with |
39a1785
to
839a3af
Compare
packages/editor/src/components/site-settings-panel/blog-title-panel.js
Outdated
Show resolved
Hide resolved
} ); | ||
}; | ||
return ( | ||
<PostPanelRow label={ __( 'Posts per page' ) } ref={ setPopoverAnchor }> |
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 text wraps in two lines and I'm not sure how we can address that properly, since all labels have a width:30%
. Should we apply some truncate rules to editor-post-panel__row-label
in general?
It seems like we might have more similar use cases in the future, and it seems like a problem that could be happening already in different languages. --cc @WordPress/gutenberg-design
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.
Pushed a small commit to move the new panels to the right place. This LGTM.
I agree that the wrapping is not great but it seems that something to be addressed separately.
Co-authored-by: ntsekouras <[email protected]> Co-authored-by: youknowriad <[email protected]> Co-authored-by: jameskoster <[email protected]>
What?
Part of: #59689
Designs are from: #59689 (comment)
This PR adds the home template details to inspector controls, similar to the ones that exist in details sidebar.
Testing Instructions
Blog title, Posts per page and Discussion
rows in inspector controls.Screenshots or screencast