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

KZN-2527/progressbar-rename-mood-to-color #4919

Merged
merged 24 commits into from
Aug 12, 2024

Conversation

gyfchong
Copy link
Contributor

Why

Moving away from mood

What

  • Deprecate mood
  • Add color prop

Copy link

changeset-bot bot commented Aug 12, 2024

🦋 Changeset detected

Latest commit: 267cb49

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@kaizen/components Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gyfchong gyfchong marked this pull request as ready for review August 12, 2024 01:28
@gyfchong gyfchong requested a review from a team as a code owner August 12, 2024 01:28
Copy link
Contributor

github-actions bot commented Aug 12, 2024

✨ Here is your branch preview! ✨

Last updated for commit 267cb49: update codemod readme

…ex.ts

Co-authored-by: Cassandra <cassandra.tam@cultureamp.com>
…ex.ts

Co-authored-by: Cassandra <cassandra.tam@cultureamp.com>
@gyfchong gyfchong marked this pull request as draft August 12, 2024 01:57
Geoffrey Chong added 4 commits August 12, 2024 12:06
…m:cultureamp/kaizen-design-system into KZN-2527/progressbar-rename-mood-to-color
packages/components/src/ProgressBar/ProgressBar.tsx Outdated Show resolved Hide resolved
packages/components/src/ProgressBar/ProgressBar.tsx Outdated Show resolved Hide resolved
packages/components/src/ProgressBar/ProgressBar.tsx Outdated Show resolved Hide resolved
packages/components/src/ProgressBar/ProgressBar.tsx Outdated Show resolved Hide resolved
label: "25%",
value: 25,
max: 100,
isAnimating: false,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggestion (although perhaps create a constant instead of calling the function multiple times):

Suggested change
isAnimating: false,
isAnimating: isChromatic(),

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a stickersheet only for chromatic, maybe not worth ever setting it to true?

Copy link
Contributor

Choose a reason for hiding this comment

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

Moreso just for manually checking for yourself :)

But oops, just realised I meant the opposite 😂 It was supposed to be !isChromatic(), so that we disable animation for Chromatic, but can see it ourselves.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added an extra example for this instead of making them all animate on local

gyfchong and others added 7 commits August 12, 2024 12:22
Co-authored-by: Cassandra <cassandra.tam@cultureamp.com>
Co-authored-by: Cassandra <cassandra.tam@cultureamp.com>
Co-authored-by: Cassandra <cassandra.tam@cultureamp.com>
Co-authored-by: Cassandra <cassandra.tam@cultureamp.com>
Co-authored-by: Cassandra <cassandra.tam@cultureamp.com>
@gyfchong gyfchong marked this pull request as ready for review August 12, 2024 03:23
@gyfchong gyfchong marked this pull request as draft August 12, 2024 03:38
@gyfchong gyfchong marked this pull request as ready for review August 12, 2024 03:49
@gyfchong gyfchong merged commit 404b1cb into main Aug 12, 2024
24 checks passed
@gyfchong gyfchong deleted the KZN-2527/progressbar-rename-mood-to-color branch August 12, 2024 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants