Merged
Conversation
This was referenced Aug 25, 2025
d22dd6c to
df530c2
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new Badge component to the design system. The component displays numerical values with a maximum display limit and different size variants.
- Adds a new Badge React component with TypeScript support
- Implements size variants (small, medium) and value formatting with 99+ overflow
- Provides SCSS styling with responsive sizing and consistent design tokens
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/components/src/Badge/index.ts | Main export file for the Badge component |
| packages/components/src/Badge/Badge.types.ts | TypeScript type definitions and size constants |
| packages/components/src/Badge/Badge.tsx | React component implementation with value formatting |
| packages/components/src/Badge/Badge.stories.tsx | Storybook stories for component documentation |
| packages/assets/src/scss/styles.scss | Imports the badge SCSS module |
| packages/assets/src/scss/_variables.scss | Defines badge size variables |
| packages/assets/src/scss/_badge.scss | SCSS styling for the badge component |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
df530c2 to
54f6971
Compare
GrabowskiM
requested changes
Sep 4, 2025
GrabowskiM
requested changes
Sep 5, 2025
34923db to
e35398e
Compare
GrabowskiM
requested changes
Sep 8, 2025
tischsoic
requested changes
Sep 9, 2025
80162d9 to
3595e0b
Compare
3595e0b to
82cb03e
Compare
tischsoic
approved these changes
Sep 16, 2025
GrabowskiM
approved these changes
Sep 16, 2025
dew326
approved these changes
Sep 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related PRs:
Description:
For QA:
Documentation: