Skip to content

Conversation

@heavyweight
Copy link
Contributor

What?

#71545 (comment)

The password field suffix was not properly configured and aligned.

Closes

Why?

  • The suffix was not wrapped with InputControlSuffixWrapper

How?

Testing Instructions

  • Checkout this PR.
  • Run npm run storybook:dev.
  • Visit the dataform validation story ?path=/story/dataviews-dataform--validation.
  • The suffix of the password field should be correctly aligned.

Testing Instructions for Keyboard

Screenshots or screencast

Before After
Screenshot 2025-10-21 at 14 35 59 Screenshot 2025-10-21 at 14 33 31

@github-actions
Copy link

github-actions bot commented Oct 21, 2025

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: heavyweight <[email protected]>
Co-authored-by: juanfra <[email protected]>
Co-authored-by: mirka <[email protected]>
Co-authored-by: oandregal <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@juanfra juanfra added [Type] Enhancement A suggestion for improvement. [Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond labels Oct 21, 2025
Copy link
Member

@juanfra juanfra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I left a couple of comments so we can match the reference implementation one-to-one.

@heavyweight heavyweight force-pushed the fix/dataform-password-suffix branch from f44943f to b4528dd Compare October 22, 2025 15:29
Copy link
Member

@juanfra juanfra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM

Let’s loop in @mirka to make sure everything looks good on her end.

@oandregal
Copy link
Member

@heavyweight there's a CI job failure due to the lack of changelog entry. Every PR to the dataviews package needs to be documented there, so consumers of the npm package can track the changes easily.

Copy link
Member

@mirka mirka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for the follow up @heavyweight, and thanks @juanfra for the spot-on review 🙏

@heavyweight heavyweight force-pushed the fix/dataform-password-suffix branch from 2619a8a to 49cf2df Compare October 24, 2025 08:10
@heavyweight heavyweight force-pushed the fix/dataform-password-suffix branch from 49cf2df to d68ecc2 Compare October 24, 2025 08:18
@heavyweight heavyweight force-pushed the fix/dataform-password-suffix branch from d68ecc2 to 4459d54 Compare October 24, 2025 08:20
@mirka mirka merged commit 8ff0758 into WordPress:trunk Oct 24, 2025
33 checks passed
@github-actions github-actions bot added this to the Gutenberg 22.0 milestone Oct 24, 2025
sidharthpandita1 pushed a commit to sidharthpandita1/gutenberg that referenced this pull request Oct 24, 2025
* Fix password suffix alignment

* Fixup button attrs

* Add changelog entry

Co-authored-by: heavyweight <[email protected]>
Co-authored-by: juanfra <[email protected]>
Co-authored-by: mirka <[email protected]>
Co-authored-by: oandregal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants