DataForm: Show tooltip in edit button in panel layout#77024
DataForm: Show tooltip in edit button in panel layout#77024ntsekouras wants to merge 1 commit intotrunkfrom
panel layout#77024Conversation
|
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: -22 B (0%) Total Size: 7.74 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in 01249a0. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/23943233456
|
|
@jameskoster I've expanded about the
|


What?
Extracted from #76934
There are cases when we use the
panelDataForm layout with a field that its value is not required and we don't want to show a label. If it's empty, we end up with just theedit(pencil) icon button with no context about which this field is.Adding the tooltip I think is the minimum.
This might be useful for
excerptanddescriptionfields, if we end up not showing any labels.Testing Instructions
npm run storybook:dev) -?path=/story/dataviews-dataform--layout-panellabelPosition:noneand edit the title to empty it.Screenshots or screencast