Skip to content

Convert ClipboardButton to TypeScript#51334

Merged
mirka merged 4 commits intoWordPress:trunkfrom
sunyatasattva:chore/typescript/clipboard-button
Jun 15, 2023
Merged

Convert ClipboardButton to TypeScript#51334
mirka merged 4 commits intoWordPress:trunkfrom
sunyatasattva:chore/typescript/clipboard-button

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.

@sunyatasattva sunyatasattva requested a review from ajitbohra as a code owner June 8, 2023 12:08
@mirka mirka self-requested a review June 8, 2023 12:28
@mirka mirka added the [Package] Components /packages/components label 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
@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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants