Skip to content

IBX-7880: Badge#19

Merged
dew326 merged 6 commits intomainfrom
IBX-7880-badge
Sep 16, 2025
Merged

IBX-7880: Badge#19
dew326 merged 6 commits intomainfrom
IBX-7880-badge

Conversation

@albozek
Copy link
Copy Markdown
Contributor

@albozek albozek commented Aug 25, 2025

🎫 Issue IBX-7880

Related PRs:

Description:

For QA:

Documentation:

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

@albozek albozek requested a review from GrabowskiM September 4, 2025 13:43
@albozek albozek requested a review from GrabowskiM September 9, 2025 11:14
@albozek albozek force-pushed the IBX-7880-badge branch 4 times, most recently from 80162d9 to 3595e0b Compare September 15, 2025 09:01
@albozek albozek requested a review from tischsoic September 15, 2025 09:06
@dew326 dew326 merged commit 6c3e4ad into main Sep 16, 2025
5 checks passed
@dew326 dew326 deleted the IBX-7880-badge branch September 16, 2025 12:32
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.

5 participants