Skip to content

IBX-10151: [Storybook] Story to preview colors used in Design System#3

Merged
dew326 merged 1 commit intomainfrom
colors-stories
Jun 17, 2025
Merged

IBX-10151: [Storybook] Story to preview colors used in Design System#3
dew326 merged 1 commit intomainfrom
colors-stories

Conversation

@GrabowskiM
Copy link
Copy Markdown
Contributor

@GrabowskiM GrabowskiM commented Jun 10, 2025

🎫 Issue IBX-10151

Description:

Colors Story is only for dev purposes; it's quite raw as there are currently no styles for inputs and tables.

This PR also introduces tags for all components - based on function requirements steps.

For QA:

Documentation:

This comment was marked as outdated.

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 Colors story for development purposes and updates the Storybook tags for several components.

  • Added a Colors.stories.tsx file to visualize SCSS color variables in a table.
  • Updated Storybook tags to include additional classification labels (e.g., foundation, buttons, in-frequent, secondary) across various component stories.

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
stories/Colors.stories.tsx New story to display colors with a basic search filter.
packages/components/src/Icon/Icon.stories.tsx Added "foundation" tag to existing autodocs tag.
packages/components/src/Expander/Expander.stories.tsx Added "buttons" tag to existing autodocs tag.
packages/components/src/Button/Button.stories.tsx Added "foundation" and "buttons" tags to autodocs tag.
packages/components/src/Autosave/Autosave.stories.tsx Added "in-frequent" tag to autodocs tag.
packages/components/src/Accordion/Accordion.stories.tsx Added "secondary" tag to autodocs tag.
Comments suppressed due to low confidence (1)

stories/Colors.stories.tsx:27

  • [nitpick] The variable name 'iconsRows' is misleading since the data represents colors rather than icons. Consider renaming it to 'colorRows' for clarity.
const iconsRows = colorsList.filter(({ name }) => searchValue === '' || name.includes(searchValue)).map(({ name, hex }) => {

layout: 'centered',
},
tags: ['autodocs'],
tags: ['autodocs', 'in-frequent'],
Copy link

Copilot AI Jun 10, 2025

Choose a reason for hiding this comment

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

[nitpick] The tag 'in-frequent' appears to be unusually hyphenated. Consider using 'infrequent' unless the current spelling is intentional.

Suggested change
tags: ['autodocs', 'in-frequent'],
tags: ['autodocs', 'infrequent'],

Copilot uses AI. Check for mistakes.
@GrabowskiM GrabowskiM changed the title Colors stories IBX-10151: [Storybook] Story to preview colors used in Design System Jun 10, 2025
@dew326 dew326 merged commit f1e7757 into main Jun 17, 2025
11 checks passed
@dew326 dew326 deleted the colors-stories branch June 17, 2025 08:04
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