- Removed "zh-HK" from the supported languages list in constants.ts.
- Updated resources.ts to eliminate references to the "zh-HK" locale, streamlining language support.
- Removed unnecessary background and border styles from DiscoverForm, DiscoverImport, and DiscoverUser components for a cleaner look.
- Streamlined the form layout while maintaining functionality and responsiveness.
- Replaced Radio component with RadioGroupItem and RadioCard for better structure and styling.
- Introduced a new Checkbox component with enhanced state management and animations.
- Updated various files to utilize the new components, ensuring consistent behavior across the application.
- Removed deprecated Radio component and associated styles from the codebase.
- Added modalElementRef to CurrentModalContentProps for improved modal handling.
- Updated ModalInternal to pass modalElementRef correctly.
- Refactored DiscoverFeedForm to include ScrollArea for better scrolling behavior and layout adjustments.
- Introduced ReadmeAside component for displaying feed descriptions in modals.
- Improved form layout with consistent padding and structure.
Signed-off-by: Innei <tukon479@gmail.com>
- Added onAnimationComplete handler to dismiss modals after exit animation.
- Refactored modal stack update logic to remove unnecessary nextFrame call.
- Introduced delay for masonry rendering in recommendations to prevent layout shifts and improve user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Refactored the scroll tracking logic to improve performance and readability.
- Removed unused hooks related to wrapped element size and position.
- Updated the handling of heading positions to streamline the calculation of scroll ranges.
Signed-off-by: Innei <tukon479@gmail.com>
- Added '@follow-app/readability' to the project and updated its import paths.
- Removed the obsolete readability utility from internal utils.
- Updated pnpm-lock.yaml to reflect new dependencies, including '@mozilla/readability' and adjustments to optional dependencies.
- Modified package.json files to include new dependencies and ensure proper workspace linking.
Signed-off-by: Innei <tukon479@gmail.com>