Commit Graph
349 Commits
Author SHA1 Message Date
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
Innei a653b34b05 fix(settings): adjust opacity of setting section title for improved visibility
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-25 12:33:49 +08:00
DIYgod 44d218ea88 feat(desktop): optimize settings colors 2025-04-25 12:08:48 +08:00
Innei 6256b7d762 feat(ui): add readability command to entry item wrapper and enhance action button animation
- Introduced a new readability command in the EntryItemWrapper for improved user interaction.
- Updated ActionButton to utilize a radial pulse animation for enhanced visual feedback.
- Adjusted state management in ActionButton to control highlight motion based on user interaction.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-24 21:44:55 +08:00
DIYgod f6578dfbe4 Merge remote-tracking branch 'origin/dev' into dev 2025-04-24 21:39:21 +08:00
DIYgod b0b2788168 Merge branch 'hotfix/mas' into dev 2025-04-24 21:35:20 +08:00
Innei 1461daa79b feat(ui): enhance CommandActionButton with tooltip description and update command label structure
- Added tooltipDescription prop to ActionButton for improved user guidance.
- Updated CommandActionButton to utilize the new tooltipDescription.
- Modified Command interface to replace subTitle with description for better clarity.
- Adjusted entry command registration to include description in labels.
- Updated various components to ensure consistent text color usage for better readability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-24 21:30:59 +08:00
DIYgod 165c9eb279 feat: hide power 2025-04-24 21:07:53 +08:00
Innei a525406600 refactor(ui): update styling for improved visual consistency across components
- Changed background classes to 'bg-material-ultra-thick' in various UI elements including media, buttons, and modals for a cohesive design.
- Standardized text color usage to 'text-text-secondary' and 'text-material-opaque' in entry items and notifications for better readability.
- Enhanced hover effects and transitions for buttons and interactive elements to align with design standards.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-24 20:34:35 +08:00
DIYgod 9da9dec7ec fix(desktop): use onTouchStart instead onClick to entry list on touchable device 2025-04-24 19:33:50 +08:00
Innei be2cb05dc2 fix(entry-read-history): update styling for improved visual consistency
- Changed background class from 'bg-material-medium' to 'bg-material-opaque' in EntryReadHistory component.
- Updated context menu shadow and background classes for better alignment with design standards in EntryReadHistory.shared component.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-24 13:05:55 +08:00
Innei 1ea969fa9e chore(dependencies): update tailwindcss-uikit-colors and react-native-uikit-colors to version 0.5.2
- Updated tailwindcss-uikit-colors in package.json files across multiple projects.
- Updated react-native-uikit-colors in mobile and pnpm-lock.yaml files for consistency.
- Adjusted ProfileButton component styling for macOS compatibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-24 12:58:21 +08:00
Innei b6eb586121 fix(context-menu): ensure submenu is only transformed if it has items
- Updated the submenu transformation logic to check for item length before processing, preventing unnecessary transformations.
- Adjusted the EntryTitle component's hover effect class for improved scaling behavior.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-24 12:45:06 +08:00
Innei b3a2fdb1fb fix(list-item-template): standardize text color usage
- Removed conditional text color classes for read/unread states in ListItem component.
- Ensured consistent application of 'text-text-secondary' across various text elements for improved styling coherence.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-24 12:40:00 +08:00
Whitewater 55de55e715 fix: keep only two decimal places at most for balance (#3564)
* fix: keep only two decimal places at most for balance

* refactor: use mono font styling for balance
2025-04-23 17:43:50 +00:00
Innei 634436ee83 refactor: update background colors and styling across components
- Replaced 'bg-theme-modal-background-opaque' with 'bg-theme-background' in various error fallback components for consistency.
- Updated hover background classes from 'bg-theme-button-hover' to 'bg-material-ultra-thick' in multiple UI elements.
- Removed the 'modalOpaque' setting from UI settings for cleaner configuration.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 23:54:50 +08:00
Innei e3892d06ce fix(view-selector): ignore user event if disabled
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 23:28:11 +08:00
Innei 4e67eef418 refactor: enhance styling and structure of select components
- Updated the Select component styles for improved consistency and usability, including adjustments to padding and border properties.
- Refined the MarkdownLink component by removing unnecessary background classes for a cleaner appearance.
- Enhanced the MagneticHoverEffect component with a more descriptive class for backdrop blur.
- Introduced a Divider component in the SelectSeparator for better visual separation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 23:25:31 +08:00
Innei b1578b1129 refactor: update placeholder and background colors across components
- Replaced instances of 'bg-theme-placeholder-image' with 'bg-material-ultra-thick' for improved consistency in styling.
- Updated text placeholder colors from 'text-theme-placeholder-text' to 'text-text-tertiary' in various components.
- Enhanced visual coherence and alignment with the new color scheme throughout the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 23:23:48 +08:00
Innei 3fb0f6726d refactor: update text color scheme across multiple components
- Replaced instances of 'text-foreground' with 'text-text' for improved consistency in styling.
- Adjusted various components including MarkdownLink, AchievementModalContent, and others to align with the new color scheme.
- Enhanced readability and visual coherence throughout the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 23:23:48 +08:00