-
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
Block Hooks: Add help text to Plugins panel. #59371
Conversation
@annezazu @bph @jameskoster LMK if this works for y'all, or if you'd prefer e.g. the dismissible help text discussed in #59328, or different copy 😄 |
|
||
.block-editor-hooks__block-hooks-helptext { | ||
color: $gray-700; | ||
font-size: $helptext-font-size; | ||
margin-bottom: $grid-unit-20; | ||
} |
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 stole this from
gutenberg/packages/block-editor/src/hooks/layout.scss
Lines 25 to 29 in 7808dc7
.block-editor-hooks__layout-controls-helptext { | |
color: $gray-700; | |
font-size: $helptext-font-size; | |
margin-bottom: $grid-unit-20; | |
} |
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: +72 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
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.
LGTM -
@bph Thank you for approving! I'll merge this 😊 @annezazu @jameskoster -- if y'all would prefer to use a dismissible help text after all, LMK! |
Tentatively adding the "Backport to WP Beta/RC" label to nominate this for WP 6.5 (Beta 3). |
Great work! Thank you for this. |
Add a help text to the Plugins panel to provide users with an explanation where the blocks listed in that panel are coming from. Co-authored-by: ockham <bernhard-reiter@git.wordpress.org> Co-authored-by: bph <bph@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org> Co-authored-by: annezazu <annezazu@git.wordpress.org>
I just cherry-picked this PR to the cherry-pick-wp-6-5-beta-3 branch to get it included in the next release: 698ec96 |
Add a help text to the Plugins panel to provide users with an explanation where the blocks listed in that panel are coming from. Co-authored-by: ockham <bernhard-reiter@git.wordpress.org> Co-authored-by: bph <bph@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org> Co-authored-by: annezazu <annezazu@git.wordpress.org>
Add a help text to the Plugins panel to provide users with an explanation where the blocks listed in that panel are coming from. Co-authored-by: ockham <bernhard-reiter@git.wordpress.org> Co-authored-by: bph <bph@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org> Co-authored-by: annezazu <annezazu@git.wordpress.org>
I just cherry-picked this PR to the release/17.8 branch to get it included in the next release: 56a13e5 |
What?
Add a help text to the Plugins panel.
Why?
To provide users with an explanation where the blocks listed in that panel are coming from. Fixes #59328.
How?
By adding a help text 😬
Testing Instructions
Screenshots