Commit Graph
23 Commits
Author SHA1 Message Date
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 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
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
Cason Kervis fc1e7ea730 feat: add Zotero integration and sort integration panel (#3738) 2025-05-20 12:08:28 +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 eff497600c fix(desktop): use ref for hotkey arguments to maintain state consistency
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-19 20:28:07 +08:00
Innei df2f3a12a2 fix(desktop): skip editable element trigger hotkey
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-19 20:15:42 +08:00
Innei b42c53fdd5 feat(shortcuts): add toggle folder collapse shortcut and command
- Introduced a new keyboard shortcut for toggling folder collapse with the key "Z".
- Updated command IDs to include the new toggleFolderCollapse command.
- Enhanced the subscription command registration to handle the new toggle functionality.
- Updated localization files to include the new shortcut description.

These changes improve user navigation and interaction with subscription folders in the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 22:16:11 +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
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
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
Innei 75a0520faa feat: enhance subscription command handling and shortcuts
- Added new subscription commands for switching between tabs, improving user navigation.
- Updated hotkeys for switching views to utilize the new commands, enhancing user experience.
- Refactored command manager to include subscription commands, ensuring better integration.
- Updated localization for new shortcuts to provide clear user guidance.

This update aims to streamline subscription navigation and improve overall usability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-12 21:58:16 +08:00
Innei 0345fc216a refactor: update hotkey management and command handling
- Replaced `HotKeyScopeMap` with `HotkeyScope` enum for better type safety and clarity.
- Refactored hotkey scope handling across various components to utilize the new enum.
- Introduced new commands for entry rendering and timeline navigation, enhancing user interaction.
- Improved the use of conditional hotkey scopes for better context awareness.

This refactor aims to streamline hotkey management and improve the overall user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-12 21:13:57 +08:00
Stephen Zhou 90718d932a chore: fix type 2025-05-12 18:58:41 +08:00
Innei cfa1391c7e feat: add tinykeys for hotkey management and refactor command handling, fixed #3635
- Introduced `tinykeys` for improved hotkey management in the application.
- Added global hotkey support for showing shortcuts.
- Refactored command registration to streamline the integration of new commands.
- Updated hotkey scope handling for better context awareness in the application.

This enhances user experience by providing more responsive and context-sensitive keyboard shortcuts.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-12 18:08:14 +08:00
Innei fb384f861c refactor(discover): split discover and feed cards
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 17:28:47 +08:00
Stephen Zhou 31ad3373d5 fix: exclude current entry when mark above as read 2025-04-29 11:03:19 +08:00
Innei bf2e3444b9 refactor: adjust desktop structure
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 21:42:23 +08:00