Closed corners2wall closed 5 months ago
The pull request introduces a new dynamic progress indicator to the UI component library, enhances its state management and rendering logic, and is restructured for better composition, alongside removal of unnecessary dependencies and reverting undesired changes. Please create an account on Watermelon to get better results.
#3 - Refactor NavItem component and add usePathname hook in Navigation com… - By kotAPI 2 months ago
#5 - add: docs page + code highlights - By kotAPI 1 months ago
#6 - Pranay/docs improvements dec 6 - By kotAPI 1 months ago
ui is an open repo and Watermelon will serve it for free. 🍉🫶
The project has undergone a significant update, focusing on enhancing the Progress
component. The update includes disabling the ESLint warning for undefined variables, restructuring the Progress
component into Root
and Indicator
components for better context and rendering, adding state management for dynamic progress updates, and introducing new styles for the progress indicator. This comprehensive overhaul aims to improve functionality and user experience through refined coding practices and visual enhancements.
File(s) | Summary of Changes |
---|---|
.eslintrc.cjs |
Disabled the ESLint warning for undefined variables. |
src/components/ui/Progress/Progress.stories.js |
Modified to include useEffect and useState for dynamic progress updates. |
src/components/ui/Progress/Progress.tsx |
Restructured into Root and Indicator components; updated props and logic for progress calculation. |
src/components/ui/Progress/shards/ProgressIndicator.tsx , src/components/ui/Progress/shards/ProgressRoot.tsx |
Introduced ProgressIndicator and ProgressRoot components for better structure and functionality. |
styles/themes/default.scss , styles/themes/components/progress.scss |
Added styles for the progress indicator, including appearance and transition effects. |
"In the realm of code, where progress bars slide,
A rabbit hopped in, with changes wide.
🌟 With tweaks and turns, it danced around,
🚀 To make the progress, visually profound."
~ @coderabbitai
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
b070756
) 94.64% compared to head (2857dc0
) 94.64%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Closes #160 See demo: Demo Add component Progress I used composition of components and add
Root
andIndicator
how in radix @kotAPI Please reviewSummary by CodeRabbit
New Features
Progress
component with dynamic progress indicators and state management.Root
andIndicator
components for modular progress display.Refactor
Progress
component for better context management and efficiency.Style