Commit Graph
2770 Commits
Author SHA1 Message Date
Innei f31d43da08 fix: improve dropdown menu focus management and simplify rendering
- Introduced `useSetGlobalFocusableScope` hook to manage focus scope when the dropdown menu opens and closes.
- Removed the `Focusable` wrapper from the dropdown menu content to streamline rendering.
- Updated the subscription column to utilize `useGlobalFocusableScopeSelector` for better focus state management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-27 22:54:35 +08:00
Innei 119f6b5383 refactor: streamline entry column rendering and introduce VirtualRowItem component
- Removed unused variables and simplified the useEntryActions hook.
- Refactored EntryItemImpl to use memoization for performance optimization.
- Replaced the existing rendering logic in EntryList with a new VirtualRowItem component for better structure and maintainability.
- Consolidated date item rendering into the VirtualRowItem component to enhance clarity and reduce redundancy.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-27 18:51:19 +08:00
Innei c20350f165 feat: enhance focus management and context menu shortcuts
- Added new focusable presets for timeline and entry render states.
- Introduced a custom hook `useContextMenuActionShortCutTrigger` to manage context menu shortcuts based on focusable states.
- Updated various components to utilize the new focusable presets and context menu shortcuts for improved user interaction.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-27 17:59:21 +08:00
Stephen Zhou 1f53a972b0 chore: replace drizzle-studio-expo with expo-sqlite-devtools
https://github.com/drizzle-team/drizzle-studio-expo/issues/12
2025-05-27 16:14:54 +08:00
Stephen Zhou 3adf17f91a fix(mobile): add subscriptionCount and purchaseAmount for list 2025-05-27 15:48:38 +08:00
Stephen Zhou 5937096869 refactor: remove src export from follow/utils 2025-05-27 15:07:35 +08:00
Stephen Zhou 812efafbef chore(mobile): remove drizzle kit 2025-05-27 14:57:32 +08:00
Stephen Zhou 5804071939 chore(mobile): remove babel plugin module resolver 2025-05-27 14:57:09 +08:00
Konv Suu b8a5414efa feat(desktop): add i18n for shortcut settings and improve style (#3823) 2025-05-27 14:54:38 +08:00
lawvs 740485cfb1 fix: adjust ThumbnailImage component for better layout 2025-05-27 12:14:50 +08:00
Stephen Zhou ce7c421e0d refactor(mobile): enable package exports (#3822) 2025-05-27 10:54:49 +08:00
Innei ef304cdf69 feat(desktop): add check for updates functionality in settings
- Integrated a new button in the About section to allow users to check for application updates.
- Updated localization files to include the new button text.
- Enhanced the app's update handling by importing the checkForAppUpdates function.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-27 00:51:38 +08:00
Innei d8866a45b2 refactor(desktop): update button styles and settings modal dimensions
- Adjusted button size and styling for improved consistency across the application.
- Modified minimum height of the settings modal for better layout adaptability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-27 00:02:28 +08:00
Stephen Zhou 7c4b8967cb feat(mobile): mark as read for list 2025-05-26 23:08:04 +08:00
Stephen Zhou 0a2a099d7b refactor(mobile): sperate store package (#3819) 2025-05-26 22:54:15 +08:00
Stephen Zhou d52c5382bb fix(mobile): hydration order 2025-05-26 19:12:15 +08:00
Innei 19479f50a6 feat(desktop): integrate useSmoothScroll hook for enhanced scrolling
- Introduced a new `useSmoothScroll` hook to encapsulate smooth scrolling logic, improving code reusability.
- Updated `EntryScrollArea` to utilize the new hook, replacing the previous inline smooth scroll implementation.
- Exported the `useSmoothScroll` hook from the hooks index for broader accessibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-26 17:10:03 +08:00
Innei 6c73ae53a1 feat(desktop): implement smooth scrolling functionality
- Added a smooth scrolling feature to enhance user experience when navigating through content.
- Replaced the previous spring scroll implementation with a custom smooth scroll function that adapts duration based on scroll distance.
- Updated scroll event handlers to utilize the new smooth scrolling method for both upward and downward scrolling actions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-26 17:04:38 +08:00
Innei 26c6853d7d feat(desktop): enhance resizable columns with double-click reset functionality
- Added double-click event to reset entry and feed column widths to default UI settings.
- Improved resizing logic by storing initial drag position for better handling of resize events.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-26 16:41:34 +08:00
Stephen Zhou 94bb3afef8 refactor(mobile): move service to database package (#3817) 2025-05-26 15:56:23 +08:00
Whitewater 6923d0e773 fix: add video support in entry content (#3816)
* chore: enable fullscreen video in NativeWebView

* feat: add video component support with controls in HTML parser
2025-05-26 14:58:50 +08:00
Stephen Zhou fb40cbea93 refactor(mobile): separate database package (#3809) 2025-05-26 14:48:27 +08:00
DIYgod 9094581f0a feat(desktop): remove react-google-recaptcha-v3 2025-05-26 11:39:27 +08:00
DIYgod f687688879 feat(desktop): disable hot update for staging 2025-05-26 11:24:51 +08:00
lawvs 17ed72d17d fix: update GroupedInsetListCard styles 2025-05-25 14:54:28 +08:00
Innei cd9caf3d99 Merge pull request #3805 from RSSNext/sync/main-to-dev-20250525
Sync main branch to dev branch
2025-05-25 14:49:29 +08:00
Innei 558576c7ee release(desktop): hotfix to release v0.4.9 2025-05-25 14:48:11 +08:00
Innei a225ac475b update
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-25 14:48:09 +08:00
DIYgod 60a2240f86 fix: types 2025-05-25 13:08:55 +08:00
DIYgod 4ba047ebc9 feat(ssr): use hcaptcha 2025-05-25 12:37:58 +08:00
DIYgod 22aec9207e feat(desktop): use hcaptcha 2025-05-25 12:17:40 +08:00
DIYgod fbb6e68ab2 Merge pull request #3802 from RSSNext/sync/main-to-dev-20250525
Sync main branch to dev branch
2025-05-25 10:00:12 +08:00
DIYgod 5d8c652b60 release(desktop): Release v0.4.8
release(desktop): Release v0.4.8
2025-05-25 09:59:39 +08:00
DIYgod 554b00e82b Merge pull request #3801 from RSSNext/sync/main-to-dev-20250525
Sync main branch to dev branch
2025-05-25 09:59:08 +08:00
Innei a165c1a5e5 feat: update social media icon styles and enhance hotkey configuration
- Updated icon class names for social media links to include color styles for better visibility in light and dark modes.
- Added a new hotkey configuration option in the Vite setup to improve user experience with customizable shortcuts.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-25 00:53:16 +08:00
DIYgod b62ffc5831 fix(desktop): appx protocol 2025-05-24 19:03:16 +08:00
Whitewater 2573fa7428 feat: add video support in EntryNormalItem (#3798)
* feat: add video support and enhance media handling in EntryNormalItem

* chore: correct reference name for video view in VideoPlayer component

* fix: remove size class
2025-05-24 19:00:15 +08:00
DIYgod 72f57510d4 docs(desktop): update changelog 2025-05-24 17:38:11 +08:00
DIYgod 58c1da55cb docs(mobile): update changelog 2025-05-24 17:36:04 +08:00
DIYgod 61ff89f111 chore(mobile): update version 2025-05-24 11:35:24 +08:00
DIYgod bf1f34fdb0 feat(mobile): spped up some animations 2025-05-24 11:34:25 +08:00
DIYgod f2f65545fb feat(desktop): speed up some animations 2025-05-24 11:21:46 +08:00
DIYgod db0d36ef2a release(mobile): release v0.2.0 2025-05-24 09:58:11 +08:00
DIYgod 88060afdbb release(desktop): release v0.4.8 2025-05-24 09:57:20 +08:00
Innei 62fc0a0cb1 feat: customize shortcuts (#3786)
* refactor: update command categories and labels for consistency

- Replaced existing command categories with more descriptive names such as "Entry Render", "Global", "Integration", "Layout", "List", "Settings", "Timeline", and "Subscription".
- Updated command labels to remove unnecessary prefixes, enhancing clarity and uniformity across the application.
- Adjusted imports to include the new CommandCategory type for better type safety.

This refactor improves the organization and readability of command definitions, contributing to a more intuitive user experience.

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

* update

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

* update

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

* update

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

* feat: enhance command shortcut customization and recording functionality

- Added a new hotkey scope for recording commands.
- Introduced a mechanism to override command shortcuts using local storage.
- Implemented a key recorder for capturing user-defined shortcuts with validation rules.
- Updated the UI for editing command shortcuts, allowing users to customize their key bindings more intuitively.

This enhancement improves user experience by providing more flexibility in managing command shortcuts.

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

* feat: enhance command shortcut customization by adding new commands

- Updated the default command shortcut for toggling the timeline column.
- Expanded the set of customizable commands to include various subscription and entry actions, improving user flexibility in managing shortcuts.

This update enhances the customization capabilities for command shortcuts, allowing users to tailor their experience more effectively.

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

* refactor: scope

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

* feat: add global commands for quick add and toggle corner play

- Introduced new global commands: "Quick Add" and "Toggle Corner Play" with associated keyboard shortcuts.
- Updated command IDs and types to accommodate the new functionalities.
- Enhanced the event bus integration for better command handling.

This update improves user interaction by providing quick access to essential features through keyboard shortcuts.

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

* refactor: remove unused hotkey scope and streamline command bindings

- Deleted the `useSwitchHotkeyScope` hook and its references to simplify the hotkey management.
- Updated command bindings to ensure they function correctly without the removed scope.
- Enhanced the logic for determining when commands should be active based on the current focus and active scopes.

This refactor improves the clarity and efficiency of the command handling system, reducing unnecessary complexity.

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

* feat: add shortcut conflict detection and enhance shortcut customization UI

- Introduced a new hook `useIsShortcutConflict` to check for conflicts between user-defined shortcuts and existing ones.
- Updated the `EditableCommandShortcutItem` component to visually indicate when a shortcut is customized by the user.
- Enhanced the `ShortcutInputWrapper` to display conflict warnings and improve user interaction when editing shortcuts.

This update improves the user experience by allowing users to easily identify and resolve shortcut conflicts, enhancing the overall customization capabilities of command shortcuts.

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

* feat: update command structure and enhance shortcut descriptions

- Changed the command ID for toggling the timeline column to toggle the subscription column for better clarity.
- Updated command labels to include descriptions for various commands, improving user understanding of their functionalities.
- Enhanced localization files to reflect the new command descriptions, ensuring a consistent user experience across different languages.

This update improves the usability of command shortcuts by providing clearer descriptions and a more intuitive command structure.

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

* feat: introduce new keyboard shortcuts system

- Added a comprehensive command shortcut system that supports multiple categories including global operations, layout controls, timeline navigation, content rendering, subscription management, and entry actions.
- Users can access and customize key bindings through `Settings` -> `Shortcuts`.

This enhancement improves user efficiency by providing a structured way to manage keyboard shortcuts.

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

* refactor

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

* feat: enhance focusable component with presets for improved command handling

- Introduced `FocusablePresets` to encapsulate common focus-related logic, improving code reusability.
- Updated command bindings in various components to utilize the new presets, streamlining the focus management process.
- Enhanced the `Focusable` component to support additional scopes, improving the overall functionality and user experience.

This update simplifies the management of focusable elements and enhances the command handling system.

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

* refactor: enhance Focusable component with asChild prop for improved flexibility

- Updated the Focusable component to support an `asChild` prop, allowing it to render a child element with focusable properties.
- Modified the BizFocusableProps interface to align with the new FocusableProps structure.
- Adjusted usage in the FeedColumn component to utilize the new `asChild` feature, enhancing the component's flexibility.

This change improves the usability of the Focusable component by allowing it to wrap existing elements while maintaining focus management capabilities.

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

* refactor: update WindowUnderBlur and FeedColumn components for improved structure and functionality

- Refactored the WindowUnderBlur component to accept a customizable `as` prop, enhancing its flexibility in rendering.
- Updated the FeedColumn component to utilize the new `WindowUnderBlur` structure, allowing it to wrap the Focusable component directly.
- Enhanced the Focusable component's logic to include additional conditions for the SubscriptionList scope, improving focus management.

These changes streamline the component architecture and improve the overall user experience by allowing for more versatile component usage.

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

* refactor: update command bindings in SubscriptionList for improved focus management

- Replaced the `isFocus` variable with `inSubscriptionScope` to streamline focus handling in the SubscriptionList component.
- Updated command bindings and hotkey conditions to utilize the new `inSubscriptionScope` logic, enhancing the clarity and functionality of focus management.

These changes improve the overall structure and usability of the SubscriptionList component, ensuring better focus handling within the subscription context.

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-23 21:26:55 +08:00
Ethan Xu 75e0c06b05 fix(mobile): email warp (#3791) (#3792) 2025-05-23 20:54:56 +08:00
Stephen Zhou ade8280620 fix(mobile): unread toggle for default category 2025-05-23 18:06:56 +08:00
Stephen Zhou 6a99c07f7b fix(mobile): translation for move view 2025-05-23 17:53:36 +08:00
Stephen Zhou 19717e96b7 refactor: unread store (#3788) 2025-05-23 17:25:09 +08:00
Innei 15b9813820 fix: toc item overflow and speed up entry transition
- Added EllipsisHorizontalTextWithTooltip for better title display in the Table of Contents.
- Updated scroll handling to dispatch layout focus command.
- Adjusted initial and exit motion variants for smoother animations in entry content.
- Changed transition to a bouncy effect for improved visual feedback.

These changes improve user experience and visual consistency across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-23 12:57:30 +08:00