Commit Graph
111 Commits
Author SHA1 Message Date
Cleves e26c30d6a4 fix(desktop): update keyboard shortcut styling for undo action (#3720) 2025-05-14 13:05:54 +08:00
Innei 20049b0150 fix: update language display logic in Shiki code highlighter
- Modified the language display condition to show an empty div for plaintext instead of rendering the language name and icon.
- This change improves the clarity of the code highlighter by avoiding unnecessary elements for plaintext.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 00:46:42 +08:00
Innei 42150751f2 feat: add navigation buttons for entry content with new icons
- Implemented left and right navigation buttons in the entry content component to switch between entries.
- Added SVG icons for left and right navigation.
- Enhanced user interaction with hover effects for better visibility.

This update improves the navigation experience within the entry content, aligning with recent command enhancements.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 00:22: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 5d53148738 fix: update title styling in list item template for better visibility, fixed #3634
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-13 17:46:43 +08:00
Stephen Zhou 450b759318 fix: no notification registration when no notification action enabled 2025-05-13 17:02:29 +08:00
Stephen Zhou 2015c32b1a fix: first ActionBar in social media being cut off 2025-05-13 16:47:01 +08:00
Stephen Zhou b06d8ff62e fix: bring back open in browser for social media 2025-05-13 16:14:22 +08:00
Stephen Zhou 07d0e8524d fix: toast rsshub fetch error 2025-05-13 15:35:03 +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
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 4905d61deb refactor: streamline navigateEntry calls and move useBackHome hook to its own export
Signed-off-by: Innei <i@innei.in>
2025-05-12 15:58:42 +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
Stephen Zhou 69a0c940d2 fix(desktop): can not navigate to view from feed 2025-05-12 00:06:36 +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 e2847c41cb refactor(toolbar): update action order constants and improve toolbar item visibility logic
- Replaced the `entryItemInMore` set with `MAIN_ACTIONS` and `MAIN_ACTIONS_SET` for better clarity and maintainability.
- Updated the `DEFAULT_ACTION_ORDER` to utilize the new constants, ensuring proper filtering of toolbar actions.
- Refactored the `useActionOrder` hook to use the renamed `ENTRY_ITEM_HIDE_IN_HEADER` for improved readability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-09 23:22:59 +08:00
Innei e80f8a4dd3 fix(desktop): update responsive styles in EntryContent and ContainerToc components, fixed #3651
- Adjusted max-width breakpoint for EntryContent to improve layout on larger screens.
- Modified visibility and styling of the ContainerToc component for better responsiveness.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-09 23:01:32 +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 91c8d312ea refactor(desktop): singleton modal stack present method
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-09 17:32:31 +08:00
Innei 5d4dbff9fc fix(desktop): adjust margin in EntryListHeader button for improved layout
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-09 14:54:45 +08:00
Innei 0eab8f7fa9 fix(desktop): scroll in GuideModalContent for improved scrolling experience
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-09 14:51:04 +08:00
Innei b9d841600d fix(desktop): refactor UpdateNotice component to use useRef for handleClick and adjust styles
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-09 14:47:08 +08:00
DIYgod c76b530815 fix(desktop): mas credential 2025-05-08 22:53:36 +08:00
DIYgod 791873f2ed fix(desktop): PreviewHeaderInfoWrapper styles 2025-05-08 22:09:36 +08:00
DIYgod 5e25035008 feat(desktop): revert reset search keyword on success, cc #3610 2025-05-08 20:14:02 +08:00
Innei 92349e3149 fix(trending): add pointer-events-none class to overlay
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 17:30:42 +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
Innei 2f492c8245 style(desktop): update FeedIcon component styling and enhance MagneticHoverEffect interactions
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 16:15:25 +08:00
Innei ff39f75c78 feat(icons): add new icons for mobile and update existing icon references in desktop components
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 14:19:31 +08:00
Innei 5af334001b style(desktop): replace motion div with standard div in GuideModalContent for improved layout
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 14:16:07 +08:00
Innei 43db7a5713 style(desktop): update icon in RecommendationListItem component
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 14:03:27 +08:00
Innei 912b1ae0bc style(desktop): adjust icon alignment in RecommendationListItem component
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 14:02:16 +08:00
Innei 10b9b16053 style(desktop): enhance layout and styling in RecommendationListItem component
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 13:53:03 +08:00
Innei d6d8f65086 style(desktop): refine layout and styling in FeedCard and EntryListHeader components
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 13:42:57 +08:00
DIYgod cee647c458 feat: hide invitation page according to server config 2025-05-08 13:20:45 +08:00
Innei fb0e167556 style(desktop): update button styles in EntryListHeader and FeedItem components
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 13:12:20 +08:00
DIYgod 7079022e2f fix(ssr): styles 2025-05-08 12:24:56 +08:00
DIYgod 70527f0f1e feat(desktop): remove entries query error toast 2025-05-08 11:36:03 +08:00
Stephen Zhou c749dba3c4 fix(desktop): transform form style 2025-05-08 10:47:03 +08:00
Stephen Zhou 5114155f33 fix: can not unlink social account, close #3653 2025-05-07 23:31:01 +08:00
DIYgod e7f88b7788 feat(desktop): optimize login form 2025-05-07 22:50:23 +08:00
Innei 37e43ee32a refactor(navigation): improve route parameter handling and introduce isPreviewFeed hook
- Updated `useNavigateEntry` to fix a typo in variable name.
- Enhanced `parseRouteParams` to accept search parameters and removed the isPreview logic from it.
- Introduced `useIsPreviewFeed` hook to encapsulate preview logic based on route parameters.
- Updated components to utilize the new `useIsPreviewFeed` hook for cleaner code and better separation of concerns.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-07 21:55:19 +08:00
DIYgod 9a90b2cb4d feat(ssr): optimize ssr header 2025-05-07 21:22:49 +08:00
Innei d3cae6a815 refactor(feed-summary): simplify feed link rendering by removing URL validation and conditional logic
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-07 21:02:54 +08:00
Innei b9d2c3f900 feat(feed-summary): add URL validation and conditional rendering for feed links
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-07 20:07:56 +08:00