Skip to content
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

Remove incorrect version from deprecated __nextHasNoMarginBottom prop of AnglePickerControl Component #56336

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

fabiankaegy
Copy link
Member

@fabiankaegy fabiankaegy commented Nov 20, 2023

What?

Removes the version when the deprecated __nextHasNoMarginBottom prop will get removed from AnglePickerControl component

Why?

This prop was supposed to be deprecated as of WordPress 6.4. But since we don't have a clear process for deprecating APIs that shipped in WordPress core the removal is currently on hold. So this PR removes the incorrect version number when the prop will get removed.

How?

/

Testing Instructions

/

Testing Instructions for Keyboard

/

Screenshots or screencast

/

@fabiankaegy fabiankaegy added [Type] Code Quality Issues or PRs that relate to code quality [Package] Components /packages/components labels Nov 20, 2023
@fabiankaegy fabiankaegy self-assigned this Nov 20, 2023
@fabiankaegy fabiankaegy force-pushed the fix/deprecation-of-angle-picker-control-margin branch from 42479db to ce108f8 Compare November 20, 2023 18:58
@fabiankaegy fabiankaegy force-pushed the fix/deprecation-of-angle-picker-control-margin branch from ce108f8 to 11e949d Compare November 20, 2023 19:00
@Mamaduka
Copy link
Member

This could be a breaking change. There's an ongoing discussion for similar prop #55401.

@tyxla
Copy link
Member

tyxla commented Nov 22, 2023

I'd love to get rid of all those deprecated features that we already claim should have been removed, but I share @Mamaduka's concerns.

@fabiankaegy fabiankaegy force-pushed the fix/deprecation-of-angle-picker-control-margin branch from 59d5f32 to bf2834c Compare November 22, 2023 11:18
@fabiankaegy fabiankaegy changed the title Remove deprecated __nextHasNoMarginBottom prop from AnglePickerControl Component Remove incorrect version from deprecated __nextHasNoMarginBottom prop of AnglePickerControl Component Nov 22, 2023
@fabiankaegy
Copy link
Member Author

@Mamaduka @tyxla I Agree with both of you. So I changed this PR to only remove the incorrect version number from the deprecation

Copy link

Flaky tests detected in bf2834c.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6956550560
📝 Reported issues:

@fabiankaegy fabiankaegy merged commit 77d0226 into trunk Nov 22, 2023
49 of 50 checks passed
@fabiankaegy fabiankaegy deleted the fix/deprecation-of-angle-picker-control-margin branch November 22, 2023 11:53
@github-actions github-actions bot added this to the Gutenberg 17.2 milestone Nov 22, 2023
@tyxla
Copy link
Member

tyxla commented Nov 22, 2023

Thanks @fabiankaegy 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[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.

3 participants