Commit Graph
150 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 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
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 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
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
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
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
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 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
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 a9e7f99b31 fix(discover): adjust viewport class for DiscoverFeedForm to prevent overflow
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-19 18:38:46 +08:00
Cleves 3c15de56e4 fix(desktop): use profile query with userInfo fallback in Avatar (#3745) 2025-05-19 18:38:13 +08:00
Innei 939d7f9b2b fix: discover form overflow style
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-19 18:26:33 +08:00
Konv SuuandInnei 0fc79c43a3 fix(desktop): add overflow-scroll for content visibility (#3758)
* fix(desktop): add overflow-scroll for content visibility

* fix(discover): no scroll in transform form

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
2025-05-19 15:50:39 +08:00
DIYgod 2234b4b1a6 feat: display video duration 2025-05-18 14:00:14 +08:00
Innei e14cda3b86 fix: footer mark read alignment
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-17 16:41:41 +08:00
Stephen Zhou 9679b4d62b fix(desktop): hideAllReadSubscriptions when show unread only 2025-05-16 16:03:43 +08:00
Innei 813c78a36a fix(entry-column): social media sticky header
- Removed conditional logic from viewportClassName in EntryColumnWrapper for cleaner code.
- Updated the margin for the first social media item to enhance layout consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-16 13:57:40 +08:00
Innei 1ace59308b feat(auth): add loading state to login modal for improved user experience
- Enhanced the LoginModalContent component to include a loading state while fetching authentication providers.
- Implemented skeleton loaders to prevent content layout shifts during loading.
- Improved user feedback by displaying loading indicators before the authentication options are available.

These changes enhance the overall user experience during the login process.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-16 00:01:34 +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
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 1e71cd5a59 fix(navigation): use keyboard to navigation select between feed and folder
- Removed unused export of FeedCategory to streamline the component structure.
- Added import for target from happy-dom in FeedList for improved functionality.
- Implemented cleanup of selected feed IDs when a category or folder is targeted in FeedList.

These changes enhance code clarity and maintainability in the timeline column components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 22:07:02 +08:00
DIYgod 180933b709 feat(deskotp): remember discover language 2025-05-15 21:26:43 +08:00
Stephen Zhou a5d8455f54 feat(desktop): hideAllReadSubscriptions option for category 2025-05-15 19:35:54 +08:00
DIYgod 75102f4e12 feat(desktop): trending api types 2025-05-15 17:57:13 +08:00
Stephen Zhou a9172317b7 fix(desktop): hide actions on header for social media 2025-05-15 17:53:34 +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 7a6d627cb4 fix(desktop): adjust styling for list item and entry header components
- Changed font weight from 'semibold' to 'medium' in ListItem component for better visual consistency.
- Updated icon class in EntryHeader component to ensure proper styling and alignment of elements.

These adjustments improve the overall appearance and readability of the entry components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 13:29:53 +08:00
DIYgod e392e59c85 feat(mobile): optimize login process 2025-05-15 11:34:10 +08:00
Stephen Zhou 9b8bd7db07 fix(web): ignore customizeColumn on mobile 2025-05-15 10:59:13 +08:00
Stephen Zhou 1f3707aabd fix(web): only show view with subscription 2025-05-15 10:52:23 +08:00
Stephen Zhou dfde42d348 fix(web): readability support 2025-05-15 10:44:05 +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