Repository navigation
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 Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @parthVataliya16. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. 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. |
mirka
left a comment
There was a problem hiding this comment.
A couple more things:
- In addition to this, there are a lot of code snippets in Markdown files across the repo that use SelectControl, and all of them need the prop. Otherwise the devs referring to those snippets would be copy pasting deprecated code. (I added some clarification in the original issue's procedure checklist.)
- We should also add the prop to the SelectControl usage in the Storybook story for the
Disabledcomponent. - In a previous PR I introduced a way to suppress warnings when the component's size is dependent on a parent component's size, and the parent component is responsible for logging the warning. I went ahead and added (70b6769) that to the relevant components here, which are DimensionControl and TreeSelect.
|
@PARTHVATALIYA Hi 👋 I need these merged soon, are you still available or do you need someone to take over? 🙂 |
|
Hello @mirka, Sorry for the inconvenience! I wasn’t able to resolve the deprecation warning. Could you please guide me, or feel free to take over if needed? |
mirka
left a comment
There was a problem hiding this comment.
No worries, thank you for your help here!
* Add the changelog for the deprecation * Add the changelog for the deprecation * Move changelog * Suppress warning on internal usage * Add props to WithCustomChildren and remove size from selectControl * Fix changelog * Update in Disabled story * Add prop to rest of readme snippets --------- Co-authored-by: PARTHVATALIYA <parthvataliya@git.wordpress.org> Co-authored-by: mirka <0mirka00@git.wordpress.org>
Part of #65751
What?
Deprecate the 36px default size in SelectControl.
Testing Instructions