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

Convert ClipboardButton to TypeScript #51334

Merged

Conversation

sunyatasattva
Copy link
Contributor

What?

This PR converts the deprecated ClipboardButton component to TypeScript.

Why?

Even if it is deprecated, it was still on the list in #35744. It was easy enough, so I think it's better to have even deprecated components converted to TypeScript.

@mirka mirka self-requested a review June 8, 2023 12:28
@mirka mirka added the [Package] Components /packages/components label Jun 8, 2023
@mirka mirka added this to In progress (owned) ⏳ in WordPress Components via automation Jun 8, 2023
Copy link
Member

@mirka mirka left a comment

Choose a reason for hiding this comment

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

Looks good, thank you! 🎉

We can merge once you add a quick changelog 👍

@sunyatasattva
Copy link
Contributor Author

@mirka Changelog pushed 😊 Thanks for the review!

Comment on lines 28 to 31
### Internal

- `ClipboardButton`: Convert to TypeScript ([#51334](https://github.com/WordPress/gutenberg/pull/51334)).

Copy link
Member

Choose a reason for hiding this comment

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

We need to move this to the "Unreleased" section at the top.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done :)

Copy link
Member

@mirka mirka left a comment

Choose a reason for hiding this comment

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

Perfect, thanks!

@mirka mirka enabled auto-merge (squash) June 15, 2023 13:12
@mirka mirka merged commit fb0a8f0 into WordPress:trunk Jun 15, 2023
49 checks passed
WordPress Components automation moved this from In progress (owned) ⏳ to Done 🎉 Jun 15, 2023
@github-actions github-actions bot added this to the Gutenberg 16.1 milestone Jun 15, 2023
sethrubenstein pushed a commit to pewresearch/gutenberg that referenced this pull request Jul 13, 2023
* Convert `ClipboardButton` to TypeScript

* Add changelog entry

* Update CHANGELOG.md

---------

Co-authored-by: Lena Morita <lena@jaguchi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Components /packages/components
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants