- 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>
- Updated pnpm-lock.yaml to include new dependencies and versions, including jsdom and utf-8-validate.
- Added a new package '@follow-app/readability' with its configuration files, including package.json, tsconfig.json, and build scripts.
- Adjusted import paths in tailwind.config.ts files for both desktop and SSR applications.
- Set the development environment variable in env.ts to false for production readiness.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated import statements for FeedIcon in both the user and list pages to maintain consistency.
- Removed redundant import paths to streamline the code.
Signed-off-by: Innei <tukon479@gmail.com>
- Bumped versions of various dependencies in package.json files, including @tsslint, eslint, nbump, and others.
- Updated @types/node to 22.15.3 in several packages for compatibility.
- Adjusted versions of Radix UI components and other libraries to their latest releases for improved functionality and security.
Signed-off-by: Innei <tukon479@gmail.com>
- Deleted obsolete configuration files and unused components across various packages.
- Updated package.json files to reflect the removal of dependencies.
- Cleaned up code by removing unnecessary exports and unused imports in multiple modules.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new utility function, getHighestWeightColor, to calculate the most dominant color in an image based on pixel frequency.
- Updated recommendations-card component to utilize the new color extraction method, enhancing visual consistency in the UI.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced an empty state UI in the RecommendationDrawerContent to display a message and icon when no recommendations are available.
- Updated the component to conditionally render either the recommendations or the empty state based on the filteredItems length.
Signed-off-by: Innei <tukon479@gmail.com>