Skip to content

Conversation

DaniGuardiola
Copy link
Member

What?

I organized and documented these.

Why?

In a follow-up, I'm gonna move them to a shared file where they'll be used in other components (first one will be ToggleGroupControl.

How?

Make each utility do a single thing really well, document everything, ensure nice minimal APIs and types.

Testing Instructions

Tabs should still work properly, can check the storybook stories or places with tabs in Gutenberg.

Testing Instructions for Keyboard

n/a

Screenshots or screencast

n/a

@DaniGuardiola DaniGuardiola requested a review from ajitbohra as a code owner June 27, 2024 18:53
Copy link

github-actions bot commented Jun 27, 2024

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: DaniGuardiola <daniguardiola@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>

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

@DaniGuardiola DaniGuardiola requested a review from a team June 27, 2024 19:14
@DaniGuardiola DaniGuardiola self-assigned this Jun 27, 2024
@DaniGuardiola DaniGuardiola added the [Type] Code Quality Issues or PRs that relate to code quality label Jun 27, 2024
@DaniGuardiola DaniGuardiola removed the request for review from ajitbohra June 27, 2024 20:14
Copy link
Contributor

@ciampo ciampo left a comment

Choose a reason for hiding this comment

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

Good work! Let's just leave a CHANGELOG entry (under the Internal section) before merging

@ciampo ciampo added the [Package] Components /packages/components label Jun 28, 2024
@DaniGuardiola
Copy link
Member Author

@ciampo thx for the review, I'll add a changelog entry for the whole thing in the last PR, since this is really step 1 of 3 of the same task (refactor ToggleGroupControl to use the same animation logic as Tabs) 👍

@DaniGuardiola DaniGuardiola marked this pull request as draft June 28, 2024 17:59
@DaniGuardiola DaniGuardiola marked this pull request as ready for review June 28, 2024 17:59
@DaniGuardiola DaniGuardiola merged commit 0ea6751 into trunk Jun 28, 2024
@DaniGuardiola DaniGuardiola deleted the tabs/organize-animation-utils branch June 28, 2024 18:56
@github-actions github-actions bot added this to the Gutenberg 18.8 milestone Jun 28, 2024
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.

2 participants