DataForm: fix field label for panel (should not be uppercase)#75944
DataForm: fix field label for panel (should not be uppercase)#75944
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. |
|
I personally prefer this, I find it much more legible. Thank you for the PR. However I want to make sure that concerns shared by @jameskoster and others are accounted for, so we don't just merge this based on my own opinion, but agree on the general path forward. |
|
Size Change: +39 B (0%) Total Size: 6.84 MB
ℹ️ View Unchanged
|
|
Let's understand what this means for the DS, since (even if the new componentry that @mirka is putting together in Is this different label treatment an dataviews-specific exception? Should we otherwise encode it in the DS? I'm mostly worried about consistency. |
|
@ciampo I think the different semantics give us some flexibility here. Since these aren’t actual form That being said, I would also be in favor of removing the all-caps treatment of |
|
I like that this change guarantees horizontal alignment between label + value. The all-caps variant is pretty close, but not perfect. It also maintains some design consistency with the Inspector panel which seems beneficial. |
|
Flaky tests detected in b46eef0. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/22434084897
|
Related #75730 (comment)
What?
This PR removes the uppercase styles for the field label in the panel layout.
Why?
As per design specs.
How?
Testing Instructions