Commit Graph
536 Commits
Author SHA1 Message Date
Stephen Zhou f85f2f5fbb feat: allow hide private subscription in view timeline (#3773) 2025-05-22 17:09:53 +08:00
Innei 8bcbb7b067 chore(dependencies): update react-native-uikit-colors and tailwindcss-uikit-colors to version 0.6.2
- Updated the version of react-native-uikit-colors from 0.5.2 to 0.6.2 in multiple package.json files.
- Updated the version of tailwindcss-uikit-colors from 0.6.0 to 0.6.2 in relevant package.json files.
- Ensured consistency across the project by aligning dependency versions.

These changes help maintain compatibility and leverage improvements in the updated packages.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-22 15:09:04 +08:00
Innei 4f7158e287 fix(utils): streamline scroll animation logic in springScrollTo
- Removed unnecessary requestAnimationFrame handling to simplify the scroll animation process.
- Enhanced the stopping condition for animations to ensure smoother transitions during scrolling.

These changes improve the efficiency and responsiveness of the scrolling behavior.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-22 14:18:28 +08:00
Innei 70da1ab94b fix(desktop): improve scroll animation handling in EntryContent
- Introduced a reference for scroll animations to manage their lifecycle more effectively.
- Updated the cleanup logic to stop ongoing animations when scrolling actions are triggered.
- Enhanced the scroll behavior by ensuring animations are properly halted before new scroll actions are initiated.

These changes aim to provide a smoother user experience during content transitions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-22 14:16:47 +08:00
Innei f52cf91d9b fix(desktop): add highlight boundary condition
- Updated EventBus dispatch calls in layout commands to include a highlightBoundary parameter for better focus control.
- Modified EntryItemWrapper to dispatch focus command with highlightBoundary set to false after a timeout.
- Adjusted GlobalHotkeysProvider to dispatch focus commands with highlightBoundary set to true for improved user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-22 13:13:47 +08:00
Whitewater c48b94a525 fix: enhance video parse in entry content (#3782)
* fix: add source attributes for video elements in parseHtml function

* feat: enhance video component to support source elements and preview images
2025-05-22 02:39:24 +08:00
Innei bc0a9358b5 feat: title transform follow the english title case rules
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-21 22:34:37 +08:00
Innei 65b648be8f feat: refactor zen mode functionality and update shortcuts
- Removed the zen mode option from the app menu and adjusted the corresponding global shortcut to use `$mod+Shift+Z`.
- Updated the zen mode state management in the settings module to streamline the toggle functionality.
- Enhanced command handling for zen mode, integrating it with the new command structure for better consistency.
- Updated localization files to reflect changes in shortcut labels.

This refactor improves the overall user experience by ensuring a more intuitive shortcut for toggling zen mode.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-21 22:03:06 +08:00
DIYgod 96cb362944 fix: types 2025-05-21 21:51:13 +08:00
DIYgod 0db149fe12 feat(desktop): notifications settings 2025-05-21 21:42:18 +08:00
Whitewater f1f163e543 fix: prevent hydration error by set TooltipTrigger to use asChild prop (#3778) 2025-05-21 10:25:41 +00:00
Innei 4ae8bf21e8 chore: add Prettify helper
- Added APP_NAME constant with value "Folo" to global declarations in both desktop and SSR environments.
- Updated type definitions to use Prettify for improved type handling in context menu and component definitions.
- Enhanced the useTitle hook to incorporate APP_NAME in the title template for better context in the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-21 16:52:39 +08:00
Innei 6be20f483c feat: enhance shortcut management and add new commands
- Removed the `$mod` replacement for `Meta` in shortcut handling to ensure proper cross-platform functionality.
- Introduced new commands for "Open in Browser" and "Open Site in Browser" with corresponding shortcuts.
- Updated the `useFeedActions` and `useListActions` hooks to utilize the new command shortcuts.
- Improved the `transformShortcut` function for better platform-specific shortcut handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 23:37:37 +08:00
Innei 0f5a0ad8b0 feat: update shortcut handling to use $mod for cross-platform compatibility
- Replaced instances of `Meta` with `$mod` in shortcut definitions across various components and hooks.
- Introduced new shortcuts for actions like "Open in Browser" and "Mark All as Read".
- Enhanced the `useCommandBinding` hook to support the new shortcut structure.
- Updated UI components to reflect the changes in shortcut keys, ensuring consistency in user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 23:15:29 +08:00
DIYgod bf2312057d feat(desktop): display route top feeds 2025-05-20 22:23:04 +08:00
Stephen Zhou 25d1f06fd5 fix(desktop): reset highlightMotion state after switching entry 2025-05-20 22:07:40 +08:00
Innei 4fa171b418 feat: add folo scheme
- Introduced `LEGACY_APP_PROTOCOL` to manage legacy protocol support alongside the new `APP_PROTOCOL`.
- Updated various files to utilize the new protocol constants, ensuring compatibility and consistency across the application.
- Enhanced mobile app configuration to support multiple schemes for better flexibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 20:46:12 +08:00
Innei 014c2cafc5 fix: tablist indicator initial position
- Modified the `Tabs` component to initialize the indicator state with `undefined` for width and position.
- Updated rendering logic in `TabsList` to conditionally apply styles based on the presence of indicator values, improving robustness.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 19:39:05 +08:00
DIYgod 5ce34edc98 feat(desktop): display rsshub route heat 2025-05-20 19:38:07 +08:00
DIYgod 5f06de023f feat(desktop): discover category independent page 2025-05-20 17:21:34 +08:00
Innei b96a02a416 feat: enhance date formatting and UI component styles
- Updated `RelativeDay` component to utilize user-defined date formats.
- Refactored date formatting logic to improve performance with `useMemo`.
- Adjusted styles in `DateItem` and `ScrollArea` components for better visual consistency.
- Enhanced `SegmentGroup` background styling for improved UI clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 16:55:16 +08:00
Cason Kervis fc1e7ea730 feat: add Zotero integration and sort integration panel (#3738) 2025-05-20 12:08:28 +08:00
Innei 243cd37a88 feat: enhance hotkey functionality and command structure
- Added new hotkey scope for sub-layer functionality.
- Introduced `useCommandBinding` hook to streamline command binding.
- Updated command IDs to include focus to entry render functionality.
- Refactored hotkey registration to improve clarity and maintainability.
- Adjusted event handling for better focus management in the global hotkeys provider.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-19 23:11:23 +08:00
Innei 939d7f9b2b fix: discover form overflow style
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-19 18:26:33 +08:00
DIYgod 2234b4b1a6 feat: display video duration 2025-05-18 14:00:14 +08:00
DIYgod c8d11b58e9 feat: update transformVideoUrl 2025-05-18 14:00:13 +08:00
Innei ff8cee07e1 chore: update tos.md 2025-05-16 00:07:10 +08:00
Innei e69d120bd9 feat(legal): integrate privacy policy and terms of service into the application, #3577
- Added a new internal package for legal documents, including privacy policy and terms of service.
- Implemented a build script to convert markdown files to HTML for easy access.
- Updated the mobile and desktop applications to link to the new legal documents.
- Enhanced the login modal to include links to the privacy policy and terms of service.
- Updated routing in the SSR application to serve the legal documents.

These changes ensure compliance with legal requirements and improve user access to important information.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 23:58:07 +08:00
DIYgod 180933b709 feat(deskotp): remember discover language 2025-05-15 21:26:43 +08:00
DIYgod 75102f4e12 feat(desktop): trending api types 2025-05-15 17:57:13 +08:00
Innei 13120c7b0d feat(desktop): enhance subscription navigation and shortcuts
- Renamed and updated shortcut configurations from "feeds" to "subscriptions" for better clarity and organization.
- Introduced new commands for navigating to the next and previous subscriptions.
- Implemented keyboard shortcuts for subscription navigation and focused subscription view.
- Updated localization files to reflect changes in shortcut keys and labels.

These enhancements improve user experience by streamlining subscription management and navigation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 14:55:06 +08:00
lawvs d359b74190 fix: correct import path for Spring constant 2025-05-15 01:10:43 +08:00
Innei aff493f38f feat(desktop): integrate AvatarGroup component for enhanced user read history display
- Added AvatarGroup component to encapsulate user avatars in EntryReadHistory for improved layout and interaction.
- Refactored EntryReadHistory to utilize AvatarGroup, simplifying the rendering of user avatars.
- Updated EntryUser component to enhance user profile interaction and tooltip display.

These changes enhance the visual presentation and user experience of the read history feature.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 00:04:29 +08:00
DIYgod afb7d57b82 feat(desktop): SubscribeModalOpened tracker event 2025-05-14 22:58:20 +08:00
Innei 51d9328f71 fix(desktop): enhance error handling and focus management in components
- Updated PageError component to allow pointer events for better user interaction.
- Refactored FeedColumn to utilize useFocusable for improved keyboard navigation and removed unnecessary focus state management.
- Enhanced highlightElement function to support customizable highlight colors and optimized canvas usage.

These changes improve accessibility and user experience by refining error handling and focus management across components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 22:02:01 +08:00
Innei 0667b2bacb fix(desktop): improve UI elements and keyboard interaction
- Adjusted CSS properties in BoostProgress for better alignment.
- Implemented keyboard event listener in GlobalHotkeysProvider to highlight focused elements on Tab key press.
- Enhanced highlightElement function with z-index for improved visibility.
- Updated TooltipTrigger in RelativeTime to prevent focus issues.
- Added tabIndex to RadioCard for better keyboard navigation.

These changes enhance user experience by refining UI components and improving keyboard accessibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 21:52:04 +08:00
Innei c2d8ffaa19 feat: support vim keybinding navigation between entry content and timeline
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-13 22:35:26 +08:00
Innei 262a7ce55e feat: enhance command binding and shortcut management
- Introduced `useCommandBinding` to streamline the registration of command hotkeys.
- Added new entry navigation commands for scrolling to the next and previous entries.
- Updated existing components to utilize the new command binding approach, improving consistency and maintainability.
- Refactored shortcut handling to support new entry render commands, enhancing user experience.

This update aims to improve the overall efficiency of command and shortcut management in the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-13 21:13:04 +08:00
Stephen Zhou f329ae905f fix: reenable summary as default 2025-05-13 15:45:30 +08:00
Stephen Zhou ed95fb6b23 feat: show rsshub error message 2025-05-13 15:34:29 +08:00
Innei 1d9507842e feat: enhance shortcut management and command registration
- Introduced new macro functions for shortcut localization, improving the handling of shortcut keys.
- Updated shortcut configurations to utilize the new macro functions, ensuring consistency in key naming.
- Refactored command registration to include new entry navigation commands, enhancing user interaction.
- Improved hotkey management by adding support for new entry scrolling commands.

This update aims to streamline shortcut handling and improve overall user experience in navigation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-12 22:21:20 +08:00
Stephen Zhou 591d473acf fix(desktop): ignore empty self referer matches 2025-05-12 18:48:37 +08:00
Innei 5e3cebd85f chore: fix typo
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-12 17:30:44 +08:00
Innei b031880b59 fix(mobile): bottom bar safe area padding and should press id to action button, closes #3706 #3699
- Updated the EntryColumnMobile to improve logo click handling with blur effect.
- Refined MobileFloatBar styles for better visual consistency and responsiveness.
- Adjusted EntryListHeader button styling for improved text visibility.
- Added id prop to ActionButton for better accessibility and interaction tracking.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-12 15:05:58 +08:00
lawvs 794da2c2a4 fix: import path 2025-05-11 23:32:58 +08:00
Innei c7b03a2550 refactor(ui): enhance Button and variants for improved styling and interaction
- Updated Button component animations for tap and hover states to provide a more responsive feel.
- Adjusted padding and margin in button variants for better alignment and visual consistency.
- Enhanced hover and active states with additional shadow effects for improved user feedback.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-10 00:11:49 +08:00
Innei 6b8f11c2f1 refactor(ui): update Button component to support textClassName prop for improved styling flexibility
- Modified Button component to accept a new textClassName prop for better control over text styling.
- Updated various components to utilize the new prop, enhancing consistency in button styling across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-09 23:58:45 +08:00
Innei 1b88d72d32 feat(settings): add option to hide read subscriptions, fixed #3584
- Introduced a new setting to hide read subscriptions in the general settings.
- Updated the FeedItem and ListItem components to conditionally render based on the new setting.
- Modified the general settings UI to include the new option and updated translations accordingly.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-09 22:53:58 +08:00
Innei d5049dae7c refactor(ui): update Switch component with improved animation and styling
- Introduced constants for thumb size and switch width for better maintainability.
- Enhanced animation logic using `useMemo` for smoother transitions.
- Updated transition properties to utilize predefined spring presets for consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-09 22:51:38 +08:00
Innei 7a5eb752ab refactor(ui): enhance SelectTrigger and Switch components with improved styles and animations
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-09 22:25:52 +08:00