Commit Graph
4796 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
lawvs 2ba2948693 fix: update Text component styling for better readability 2025-05-22 15:25:10 +08:00
Stephen Zhou 1e3c5dc983 docs: link to google play 2025-05-22 15:21:49 +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 26c64bf040 fix(ux): remove highlight boundary when using mouse
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-22 13:53:43 +08:00
Innei 582303fcbf fix(desktop): shortcut scope switching logic
- Replaced the use of `useShortcutScope` with `useConditionalHotkeyScope` in the Modal component for improved hotkey handling.
- Updated the `useSwitchHotkeyScope` hook to maintain the current active scopes using `useLayoutEffect`.
- Modified the SubviewLayout to conditionally enable the Escape key hotkey based on the active scope.

These changes streamline hotkey management and enhance user experience across modal and subview interactions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-22 13:40:23 +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
DIYgod 9f011216e8 feat(mobile): always updating messaging token 2025-05-22 12:30:09 +08:00
DIYgod 51e1ece5ae fix(desktop): notification token updating 2025-05-22 12:25:37 +08:00
DIYgod 43692c67ee feat(desktop): updateNotificationsToken with existing credentials on launch 2025-05-22 11:04:50 +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 dd1c61d681 chore: update .prettierignore and package.json for desktop build
- Added 'apps/mobile/native/example' to .prettierignore.
- Modified the 'analyze:web' script in package.json to include WEB_BUILD=1 for enhanced build configuration.
- Fixed missing newline at the end of locales/settings/en.json file.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-21 23:16:07 +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
DIYgod 2f87870bdb feat(desktop): get client messaging token 2025-05-21 22:23:09 +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
Konv Suu 04cc13bef7 feat(desktop): unify with trending component (#3767)
* feat(desktop): unify with trending component

* resolve conflict

* update
2025-05-21 20:28:00 +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
Konv Suu a3ae0a92c9 feat(desktop): center the text in the badge (#3771) 2025-05-21 13:55:52 +08:00
Whitewater 9c270c78a0 feat: add entry pull up and release ui (#3770)
* feat: add ScrollViewBottom prop to SafeNavigationScrollView for additional content rendering

* feat: implement EntryPullUpToNext component for enhanced navigation experience

* feat: integrate EntryPullUpToNext component into EntryDetailScreen for improved navigation

* chore: add entry pull up and release messages to localization files
2025-05-21 11:51:23 +08:00
Stephen Zhou 04583a3003 fix(desktop): hide more when limit is not exceeded for entry read history 2025-05-21 09:26:54 +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 c4c1b35670 fix: improve scroll behavior and update styles in entry content
- Added a new event listener to handle scroll events, ensuring the "Keep Scrolling" panel visibility is managed correctly.
- Refactored the `FloatPanel` component styles for better visual consistency and alignment with the design system.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 21:58:54 +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 6b4b1f37f3 fix: cleanup rn global env and enhance setting auto enabled logci
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 20:04:42 +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
Innei 8ef045de1c refactor: simplify settings change detection in migration v1
- Introduced a new `hasSettingsChanged` function to streamline the logic for detecting changes in UI and general settings.
- Replaced the previous loop-based checks with a more concise implementation using the new function, improving code readability and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 19:34:07 +08:00
DIYgod 1b7c199905 feat(desktop): rsshub route search 2025-05-20 17:21:34 +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
Innei b996ef3a22 refactor: update Tailwind configuration and enhance entry navigation
- Removed the conditional hover support in Tailwind configuration.
- Added a safelist for line-clamp classes to improve styling options.
- Refactored navigation logic in `useNavigateEntry` to optimize route handling.
- Enhanced `EntryItemWrapper` to dispatch focus events after navigation.
- Updated `EntryContent` to implement motion animations and improve entry transitions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 16:38:56 +08:00
Whitewater 7f984ecf1c feat: implement pull up to next functionality (#3760)
* feat: implement pull-up-to-next functionality in EntryDetailScreen

* feat: add onScroll callback support in SafeNavigationScrollView

* refactor: utilize EntryExtraData

* feat: refactor Entry components to utilize EntryExtraData type

* refactor: replace useSharedValue with useRef and useState for pull-up functionality

* feat: enhance pull-up-to-next functionality with enabled prop

* fix: types
2025-05-20 13:05:06 +08:00
Cason Kervis fc1e7ea730 feat: add Zotero integration and sort integration panel (#3738) 2025-05-20 12:08:28 +08:00
Innei 81a5186fd0 fix: disable fetch reading history in inbox entry
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 01:00:30 +08:00
Innei a6c9b20d92 refactor: update hotkey registration and enhance entry content structure
- Changed special key mappings from an array to an object for improved clarity.
- Integrated `RootPortal` for `RegisterCommands` to enhance rendering logic.
- Added scroll detection and user interaction feedback in `RegisterCommands`.
- Introduced a floating panel to notify users when scrolled to the bottom.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 00:58:40 +08:00
Innei fd51a23a67 feat!: enhance keyboard logic for vim users
- Simplified keyboard shortcuts for switching views and showing shortcuts.
- Enhanced hotkey registration to include special key mappings.
- Updated command hotkeys in various components for consistency.
- Adjusted user guide to reflect new shortcut key for showing shortcuts.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-19 23:46:01 +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 596694c610 refactor: improve user avatar display and login layout
- Updated UserAvatar component to include text truncation for better name display.
- Adjusted layout in Login component for improved spacing and alignment.
- Replaced heading with paragraph for success message and refined button styles.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-19 21:38:45 +08:00
Innei 33ef0c4b51 fix: drop blur not working on the vibrancy layer of macos electron
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-19 21:12:21 +08:00
Eric Zhu 3ecb527ba1 chore(locales): update zh-CN translations (#3703)
* chore(locales): update zh-CN translations

* update

* update

* update

* update
2025-05-19 20:49:23 +08:00
Innei 9750f7b206 Merge pull request #3763 from RSSNext/sync/main-to-dev-20250519
Sync main branch to dev branch
2025-05-19 20:48:53 +08:00
Innei 1dd09abf11 Merge pull request #3762 from RSSNext/hotfix/input-element
chore(desktop): Release v0.4.7 for hotfix
v0.4.7
2025-05-19 20:41:40 +08:00