Commit Graph
13 Commits
Author SHA1 Message Date
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
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 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
Stephen Zhou 25d1f06fd5 fix(desktop): reset highlightMotion state after switching entry 2025-05-20 22:07:40 +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 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 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 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 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