Commit Graph
23 Commits
Author SHA1 Message Date
Stephen Zhou 6b2cb47bb6 chore: lint 2025-04-30 16:19:21 +08:00
DIYgod 7ce5420f92 feat: optimize language selector display 2025-04-30 15:58:25 +08:00
Stephen Zhou 4dc6c7ce4c fix: default summary to false, allow trial user to update settings, close #3629 2025-04-30 15:57:43 +08:00
Stephen Zhou 8586d689a4 chore: type 2025-04-30 15:53:39 +08:00
Innei 892899d878 chore(desktop): remove support for zh-HK language and update resources
- 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.
2025-04-30 15:36:25 +08:00
Innei 66a81b897b refactor(desktop): simplify form styling in discover module
- 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.
2025-04-30 15:35:14 +08:00
Innei 2d67706046 refactor(desktop): update radio and checkbox components for improved functionality
- 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.
2025-04-30 15:29:48 +08:00
DIYgod f48697c416 feat: simplified language list 2025-04-30 15:17:04 +08:00
Konv Suu 31e98ce981 fix(desktop): discover feed form can't handle failed validation (#3628) 2025-04-30 13:00:56 +08:00
Kieran Cui b2f74af479 fix(desktop): EntryList Component keep scroll position is inaccurate (#3627) 2025-04-30 10:17:35 +08:00
Stephen Zhou 08b353f499 feat: star action (#3625) 2025-04-30 00:25:03 +08:00
Stephen Zhou ad4b25270e chore: fix type check 2025-04-29 22:21:09 +08:00
Stephen Zhou 5aed9a7e4c fix: allow font settings on mobile, close #3550, close #3618 2025-04-29 22:13:08 +08:00
Innei b6c3e5734b feat: enhance DiscoverFeedForm layout and modal integration
- 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>
2025-04-29 21:39:32 +08:00
Innei 18d15a4c44 feat: enhance modal behavior and improve recommendations rendering
- 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>
2025-04-29 20:07:28 +08:00
Innei d9e6c7fb67 refactor: rename useFeed to useFeedQuery for consistency across components
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-29 19:07:16 +08:00
Stephen Zhou 607f170689 fix(desktop): feed form submit 2025-04-29 16:24:02 +08:00
Konv Suu e2cbc87a36 fix(desktop): preview feature is invaliable in discover (#3623) 2025-04-29 16:20:12 +08:00
Konv Suu e7bc5bf6d0 fix(desktop): add z-index to close button for proper stacking (#3619) 2025-04-29 16:19:42 +08:00
Stephen Zhou 31ad3373d5 fix: exclude current entry when mark above as read 2025-04-29 11:03:19 +08:00
Innei 87c9a483c0 refactor(markdown): optimize scroll tracking logic, fixed #2965
- 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>
2025-04-29 00:36:11 +08:00
Innei e6aa58e25e feat(desktop): fallback readability if server error
- 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>
2025-04-28 23:31:42 +08:00
Innei bf2e3444b9 refactor: adjust desktop structure
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 21:42:23 +08:00