Skip to content

Feat: Adds the deprecation warning for 36px default size in range control. - #66721

Merged
mirka merged 7 commits into
WordPress:trunkfrom
vipul0425:fix/issue-65751-range-control
Nov 25, 2024
Merged

mirka merged 7 commits into
WordPress:trunkfrom
vipul0425:fix/issue-65751-range-control

Conversation

@vipul0425

Copy link
Copy Markdown
Contributor

Part of #65751

What?

Deprecate the 36px default size in RangeControl.

Testing Instructions

  • Unit tests pass
  • Storybook stories should not log console warnings
  • All code snippets in documentation (JSDoc, Storybook, README) should have the __next40pxDefaultSize prop enabled

Screenshots or screencast

image

@vipul0425
vipul0425 requested a review from ajitbohra as a code owner November 4, 2024 17:29
@github-actions

github-actions Bot commented Nov 4, 2024 •

Copy link
Copy Markdown

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: vipul0425 <vipulgupta003@git.wordpress.org>
Co-authored-by: mirka <0mirka00@git.wordpress.org>

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

@vipul0425 vipul0425 mentioned this pull request Nov 4, 2024
24 of 25 tasks
@mirka
mirka requested a review from a team November 13, 2024 20:32
@mirka mirka added [Type] Code Quality Issues or PRs that relate to code quality [Package] Components /packages/components Needs Dev Note Requires a developer note for a major WordPress release cycle labels Nov 13, 2024

@mirka mirka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good!

The only thing left is to suppress the redundant warnings for usages inside BorderControl and FontSizePicker, using the same mechanism we did in 1b7eeec for ToggleGroupControl #66747 (comment).

@vipul0425
vipul0425 requested a review from mirka November 22, 2024 07:15

@mirka mirka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We can see from the failing tests that there are more usages in BoxControl.

@mirka mirka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

All green 🟢

Thank you for the follow-ups!

@mirka
mirka merged commit 3381613 into WordPress:trunk Nov 25, 2024
@github-actions github-actions Bot added this to the Gutenberg 19.8 milestone Nov 25, 2024
@Mamaduka Mamaduka mentioned this pull request Mar 12, 2025
45 of 49 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Dev Note Requires a developer note for a major WordPress release cycle [Package] Components /packages/components [Type] Code Quality Issues or PRs that relate to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants