Repository navigation
Feature progress component - #103
Merged
Merged
Conversation
✅ Deploy Preview for egdev6-design-system ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Progress atom for displaying determinate and indeterminate task completion states, including styling, Storybook examples, tests, and public package export.
Changes:
- Added Progress component, hook, variants, props, and atom barrel export.
- Added indeterminate progress animation with reduced-motion handling.
- Added unit tests and Storybook stories covering ranges, labels, variants, and accessibility attributes.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/styles/animations.css |
Adds progress indeterminate keyframes and CSS class. |
src/index.ts |
Exports the new Progress atom from the package entrypoint. |
src/components/atoms/progress/useProgress.ts |
Implements progress value clamping, ARIA values, labels, and class composition. |
src/components/atoms/progress/types.ts |
Defines Progress props and CVA variants. |
src/components/atoms/progress/Progress.tsx |
Renders the progressbar, optional label, value label, and indicator. |
src/components/atoms/progress/Progress.test.tsx |
Adds tests for range math, invalid values, ARIA behavior, and prop forwarding. |
src/components/atoms/progress/Progress.stories.tsx |
Adds Storybook docs and examples for variants and states. |
src/components/atoms/progress/index.ts |
Adds the component barrel exports. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
egdev6
approved these changes
May 29, 2026
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.
Summary
Progress component is used to track the progress of an activity.
It's a presentational component that displays a progress bar based on the value prop.
Context / Issue
[ATOMS] Progress 27
Type of change
Changes
Added progress component code and structure.
Also added in styles the proper animation to use in this component.
How to Test
Fetch the repo and pull the branch: feature/progress
Launch the command
npx storybook-watchCheck the progress component.