Skip to content

Conversation

@git-babel
Copy link
Contributor

@git-babel git-babel commented Jan 8, 2025

Changelog

  • Added minor test cases for util functions
  • Removed unused util functions

@netlify
Copy link

netlify bot commented Jan 8, 2025

Deploy Preview for sendbird-uikit-react ready!

Name Link
🔨 Latest commit a7bfac6
🔍 Latest deploy log https://app.netlify.com/sites/sendbird-uikit-react/deploys/677e336006e22400080a5c00
😎 Deploy Preview https://deploy-preview-1294--sendbird-uikit-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

case Colors.ONBACKGROUND_3: return 'sendbird-color--onbackground-3';
case Colors.ONBACKGROUND_4: return 'sendbird-color--onbackground-4';
case Colors.ONCONTENT_1: return 'sendbird-color--oncontent-1';
case Colors.ONCONTENT_2: return 'sendbird-color--oncontent-2';
Copy link
Contributor

Choose a reason for hiding this comment

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

If we use the ONCONTENT_2, we need CSS set too. But it seems there's no CSS files for this className.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As you said, we have a logic to convert the enum value to the class name, but there is no actual css for sendbird-color--oncontent-2. Should we delete the logic and test for Colors.ONCONTENT_2?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, I think it's good to remove it. We can always add it back when needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed.

@git-babel git-babel merged commit 82a93b4 into feat/state-mgmt-migration-1 Jan 9, 2025
10 checks passed
@bang9 bang9 deleted the feat/add-minor-util-tests branch November 7, 2025 04:19
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