-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Components: Remove deprecated calendar help from DateTimePicker
#45999
Conversation
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
Size Change: -725 B (0%) Total Size: 1.31 MB
ℹ️ View Unchanged
|
@@ -5,6 +5,7 @@ | |||
### Enhancements | |||
|
|||
- `TabPanel`: Add ability to set icon only tab buttons ([#45005](https://github.com/WordPress/gutenberg/pull/45005)). | |||
- `DateTimePicker`: Remove deprecated `__nextRemoveHelpButton` and `__nextRemoveResetButton` ([#45999](https://github.com/WordPress/gutenberg/pull/45999)). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tyxla, our policy on removing deprecated APIs and props has changed recently, so I'm not entirely sure that we can remove these props. Here's a recent example #45195 (comment) and you can find general conversations in this issue #40316. |
Thanks for letting me know @Mamaduka! I wonder what alternatives we have? Punt the decision for 6 more months of releases by just bumping the |
@Mamaduka would that policy apply also for experimental props like the ones being discussed in this PR?
Off the top of my mind:
|
Okay, I've filed #46006 to bump the removal version of the deprecated props. That gives us some time to think about it better while the checks in |
What?
This PR removes the deprecated calendar help functionality from the
DateTimePicker
package.Why?
The
DateTimePicker
calendar help has been deprecated since Version 13.4 and was scheduled to be removed for 14.6.Removing the deprecated props and the related code fixes the Static Analysis check which is currently failing in
trunk
.How?
We're removing the deprecated props and related code.
Testing Instructions
npm run storybook:dev
and verify theDateTimePicker
component stories look good.