- 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>
- 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>
- Deleted the constants file for RSSHubCategories as it is no longer needed.
- Removed the recommendations.module.css file to clean up unused styles.
- Updated recommendations and recommendations-card components to utilize the new import path for constants.
- Enhanced the layout and styling of the Recommendations component for better user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Added `modalContentClassName` prop to various modal presentations to allow for better content overflow handling.
- Updated modal components to utilize the new class for improved layout in specific contexts.
- Introduced new `EntryItemSkeleton` component for loading states in entry columns, enhancing user experience during data fetching.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed the MasonryItemFixedDimensionWrapper component to streamline image rendering in the ImageGallery.
- Updated the Media component usage to directly handle image properties without the additional wrapper.
- Cleaned up imports by removing unused hooks and types for better code clarity.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed background color classes from multiple item components to streamline styling.
- Updated AutoCompletion component to enhance pointer events handling.
- Improved text color classes for better readability across article, audio, picture, and video item components.
- Adjusted Card component styling for a more cohesive appearance.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced hardcoded text sizes with standardized 'text-body' class for consistency across various components.
- Wrapped TooltipContent in RootPortal for better rendering in EnhancedSettingsIndicator and SettingSyncIndicator components.
- Improved accessibility and visual consistency in EntryHeaderImpl and EntryContent components by updating text styles.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated DropZone component to include a cursor button style for better user interaction.
- Refactored DiscoverForm to improve layout and styling, including the addition of a SegmentGroup for target selection.
- Enhanced form styling across various components for a more cohesive appearance, including rounded borders and shadow effects.
- Improved accessibility and visual hierarchy in user forms and import forms.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed mediaInfo prop type to Nullable<MediaInfoRecord> in MediaInfoRecordProvider and HTML components for better null handling.
- Refactored useTocItems hook to improve performance and added refreshItems method for dynamic updates.
- Updated Toc component to support ref forwarding, allowing external components to trigger refresh of TOC items.
Signed-off-by: Innei <tukon479@gmail.com>
- Adjusted padding in the modal title for better alignment.
- Reorganized command IDs for clarity and consistency, ensuring all actions are included.
- Updated styles in the customizable toolbar for improved visual hierarchy and readability.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(desktop): add error handling for fetching content in readability action
* feat(desktop): enhance entry item actions with copy functionality
- Added 'Copy Title' and 'Copy Link' actions to the entry item context menu.
- Adjusted layout spacing in the readability notice for improved UI consistency.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(readability): enhance ReadabilityNotice component and add new icons
- Updated ReadabilityNotice component for improved UI and user experience, including a new button for retrying content fetching.
- Added new SVG and React Native icon for warning notifications.
- Modified localization string for better clarity on content fetching failure.
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
- Updated the settings menu to utilize showSetting instead of createSettingWindow, ensuring the settings modal opens in the main window.
- Removed the settingWindow management logic to streamline the window handling process.
- Adjusted related imports and function calls across the application for consistency.
Signed-off-by: Innei <tukon479@gmail.com>