Commit Graph
4868 Commits
Author SHA1 Message Date
Whitewater a86ef8acdd feat: improve pull-up-to-next by add transition animation (#3832)
* feat: add  replaceControllerView method for enhanced navigation

* refactor: simplify screen options merging in WrappedScreenItem component

* feat: improve pull-up threshold handling in usePullUpToNext hook

* feat: enhance navigation by replacing controller view with animation in EntryDetailScreen
2025-05-28 11:24:29 +08:00
Innei 8e3503f96a feat: add tailwindcss-content-visibility for enhanced styling
- Integrated `tailwindcss-content-visibility` version 1.0.2 into the project.
- Updated `tailwind.config.ts` to include the new plugin for improved utility management.
- Modified `package.json` files to include the new dependency in both the desktop app and renderer layer.
- Enhanced the `feeds.tsx` component to support sorting functionality for better user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-28 00:29:52 +08:00
Innei dbd43ae5ab feat: setting feed management table
- Updated the ModalInternal component to center the icon within the modal.
- Refactored useFeedActions to utilize new modal hooks for confirming unsubscribe actions and category creation.
- Introduced ConfirmDestroyModalContent and ShortcutModalContent components for better modal management.
- Improved the handling of batch unsubscribe actions in the SettingFeeds component.
- Updated translations for better clarity in user prompts.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-28 00:12:45 +08:00
Innei de00a1864e refactor: enhance mobile settings modal and layout components
- Introduced `useTypeScriptHappyCallback` for improved tab change handling in the mobile settings modal.
- Updated the `Content` component to utilize `useLoaderData` for better data management and added a dynamic `viewportClassName`.
- Simplified the `SettingItemButtonImpl` by removing the `tab` prop and using an `isActive` flag for better clarity in active state management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-27 23:29:11 +08:00
Innei 00342e7a7d refactor: optimize FeedCategory and FeedItem components for better performance
- Converted `FeedCategoryAutoHideUnread` to a memoized component for improved rendering efficiency.
- Simplified context menu handling in `FeedItem` by utilizing `useEventCallback` for event handlers.
- Enhanced double-click functionality in `FeedItem` and `ListItem` to use memoized callbacks, improving performance and reducing unnecessary re-renders.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-27 23:21:37 +08:00
Innei e374dd6473 perf: use focusable selector hooks across components
- Replaced instances of `useGlobalFocusableScope` with `useGlobalFocusableScopeSelector` for improved focus state management.
- Updated various components including FeedColumn, Subview, EntryColumn, and FeedItem to utilize the new selector for better performance and clarity.
- Added a new `viewportClassName` property to the SettingPageConfig interface for enhanced configuration options.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-27 23:01:37 +08:00
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 1bf983e7ce chore: remove useless override and patch (#3826) 2025-05-27 15:58:06 +08:00
Stephen Zhou 3adf17f91a fix(mobile): add subscriptionCount and purchaseAmount for list 2025-05-27 15:48:38 +08:00
Innei 2d853d9c70 chore: update TypeScript configuration and package exports
- Reformatted tsconfig.json for better readability.
- Removed unused exports files from internal components.
- Updated package.json files to reflect changes in exports structure and added new paths for schemas and services in the database package.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-27 15:15:32 +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
Konv Suu 7266470118 feat: integrate cleanJsonText function for json parsing (#3824)
* feat: integrate cleanJsonText function for json parsing

* chore: update
2025-05-27 14:54:00 +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
Eric Zhu 0f6ee421fd chore(locales): update zh-CN translations (#3793)
* chore(locales): update zh-CN translations

* update
2025-05-27 00:33:13 +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 v0.4.9 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 5251fa921e Merge pull request #3804 from RSSNext/hotfix/25.5.25
chore(desktop): Release v0.4.9 for hotfix
2025-05-25 14:48:35 +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 a778f2fa04 docs: update readme 2025-05-25 13:26:14 +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
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
DIYgod d696701a41 release(mobile): Release v0.2.0
release(mobile): Release v0.2.0
2025-05-25 09:58:17 +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