This pull request introduces a series of changes aimed at refactoring the Progress component, enhancing its compatibility with the SolidJS framework, and improving its code quality by adopting more consistent coding practices.
Summary
Migrated from React-specific hooks and types to SolidJS's Component, mergeProps, and splitProps for a more streamlined integration with SolidJS.
Replaced the className prop with class to align with SolidJS conventions and ensure proper styling application.
Utilized twMerge from tailwind-merge for conditional class merging, ensuring that the component's classes are correctly combined based on its state and props.
Applied mergeDeep from ../../helpers/merge-deep and getTheme from ../../theme-store to manage theme-related functionalities and deeply merge theme properties.
Adjusted the component structure and props handling to enhance readability and maintainability of the code.
Affected File:
src/components/Progress/Progress.tsx
Fixes #30.
🎉 Latest improvements to Sweep:
New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
Description
This pull request introduces a series of changes aimed at refactoring the
Progress
component, enhancing its compatibility with the SolidJS framework, and improving its code quality by adopting more consistent coding practices.Summary
Component
,mergeProps
, andsplitProps
for a more streamlined integration with SolidJS.className
prop withclass
to align with SolidJS conventions and ensure proper styling application.twMerge
fromtailwind-merge
for conditional class merging, ensuring that the component's classes are correctly combined based on its state and props.mergeDeep
from../../helpers/merge-deep
andgetTheme
from../../theme-store
to manage theme-related functionalities and deeply merge theme properties.Affected File:
src/components/Progress/Progress.tsx
Fixes #30.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: