Commit Graph
368 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 123e6937ee chore: update pnpm-lock.yaml and add readability package
- 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>
2025-04-28 23:10:46 +08:00
Innei bf2e3444b9 refactor: adjust desktop structure
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 21:42:23 +08:00
Innei 2a670cd694 chore: update dependencies across multiple packages
- 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>
2025-04-28 21:22:15 +08:00
Innei 4d746522f1 refactor: remove unused files and clean up project structure
- 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>
2025-04-28 20:58:51 +08:00
Whitewater 99c1a6fb64 fix: adjust layout for scroll area issues (#3612)
* fix: adjust layout to workaround scroll area viewport display issues

* feat: add asChild prop to ScrollArea for enhanced flexibility
2025-04-28 07:47:41 +00:00
Konv Suu 58b8a788ff fix(desktop): use estimated minutes for audio duration display (#3609) 2025-04-28 13:47:47 +08:00
Konv Suu 33070c53ce feat(desktop): add clear results functionality and reset keyword field on success (#3610) 2025-04-28 13:47:30 +08:00
Innei 0b18afd7b9 feat(color): add getHighestWeightColor function for improved color extraction
- 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>
2025-04-27 22:57:36 +08:00
Innei d58d66a3c5 feat(discover): add empty state handling in recommendations
- 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>
2025-04-27 22:51:19 +08:00
Innei 764fc0ecf9 refactor(discover): remove unused constants and styles
- 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>
2025-04-27 22:47:43 +08:00
Innei d35639f57a fix(modal): feed modal preview view cls
- 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>
2025-04-27 21:56:43 +08:00
Stephen Zhou 812b0894aa fix: update profile, close #3574 2025-04-27 18:44:48 +08:00
Stephen Zhou 948f76a02c feat: mark above / below as read (#3570) 2025-04-27 09:16:24 +00:00
Innei f64494663d refactor(picture-gallery): simplify image rendering by removing unused wrapper component
- 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>
2025-04-27 16:11:11 +08:00
Innei 165c7ab06e fix(desktop): auto completion can't user interreaction
- 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>
2025-04-27 14:54:34 +08:00
Innei 91b9fae6c5 refactor(desktop): update text styles and enhance tooltip functionality
- 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>
2025-04-27 14:26:40 +08:00
DIYgod e95759b0ed Merge pull request #3600 from RSSNext/sync/main-to-dev-20250427
Sync main branch to dev branch
2025-04-27 11:51:29 +08:00
DIYgod 8b0778ef97 fix(desktop): disable touchstart event of entry list on web mobile 2025-04-27 11:49:28 +08:00
DIYgod 29f115a743 fix(desktop): hide check update menu for mas 2025-04-26 09:20:23 +08:00
Innei bac823a658 refactor(desktop): enhance UI components and form layouts
- 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>
2025-04-26 00:33:22 +08:00
Innei 9a46e0d9d7 fix(desktop): toc items refresh after Readability enable
- 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>
2025-04-25 23:40:02 +08:00
Innei 1cf1876a50 refactor(desktop): update modal styles and command IDs for consistency
- 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>
2025-04-25 22:45:00 +08:00
Konv SuuandInnei 65d97f425d feat(desktop): add error handling for fetching content in readability (#3567)
* 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>
2025-04-25 22:29:44 +08:00
Konv Suu bf452b0119 feat(desktop): add copy title action and tooltip warning (#3582)
* feat(desktop): add copy title action to entry actions and improve tooltip for desktop features

* update
2025-04-25 20:48:13 +08:00
Stephen Zhou a95de490ec feat: translation mode (#3568) 2025-04-25 20:38:44 +08:00
DIYgod 83df0cb246 docs: update changelog 2025-04-25 13:37:44 +08:00
DIYgod 80111a0deb release(desktop): release v0.4.4 2025-04-25 12:48:09 +08:00
Innei 5120c2c409 fix(settings): replace createSettingWindow with showSetting for improved window management
- 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>
2025-04-25 12:44:46 +08:00