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

Migrate ColorSetting component to TS #320

Conversation

Souptik2001
Copy link
Contributor

@Souptik2001 Souptik2001 commented May 11, 2024

Description of the Change

Migrate the ColorSetting component to TS.

Related issue - #295 and also #314

How to test the Change

  • I have added a new block named "Color Setting Component Example", which can be used to test the functionality of the component.

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

Copy link
Member

@Antonio-Laguna Antonio-Laguna left a comment

Choose a reason for hiding this comment

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

@Souptik2001 nice work! Love the example too!

This is looking good to me. There are a couple of minor issues with indentation and I left a question. Pinging @fabiankaegy for extra pair of eyes!

components/color-settings/index.tsx Outdated Show resolved Hide resolved
example/src/blocks/color-settings-example/block.json Outdated Show resolved Hide resolved
example/src/blocks/color-settings-example/edit.js Outdated Show resolved Hide resolved
Signed-off-by: Souptik Datta <[email protected]>
@Souptik2001
Copy link
Contributor Author

Thanks @Antonio-Laguna!

Addressed the issues and added my thoughts on your suggestion. 👍

Copy link
Member

@Antonio-Laguna Antonio-Laguna left a comment

Choose a reason for hiding this comment

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

Awesome work @Souptik2001 !

Thanks a lot for your contribution and your quick turnaround on my review suggestions!

Copy link
Member

@fabiankaegy fabiankaegy left a comment

Choose a reason for hiding this comment

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

Thanks for working on this :)

@fabiankaegy fabiankaegy merged commit 9c1511c into 10up:develop May 14, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants