Commit Graph
4909 Commits
Author SHA1 Message Date
DIYgod 2a4dde01b2 fix(desktop): entry media not updated 2025-06-04 13:02:48 +08:00
Stephen Zhou 0f34e5b267 refactor: merge auth client type 2025-06-04 11:59:45 +08:00
Stephen Zhou f88bc049de fix(mobile): share button position and status bar in modal 2025-06-04 11:07:40 +08:00
Stephen Zhou 75c9f80467 fix(mobile): profile share button position 2025-06-04 10:52:23 +08:00
Stephen Zhou aabdcb311f fix(mobile): filter icon color 2025-06-04 10:32:05 +08:00
Stephen Zhou c7be63bdf4 fix(mobile): icon color in dark mode 2025-06-04 10:20:54 +08:00
Stephen Zhou 113cb6d886 fix(mobile): translation hydration 2025-06-04 09:52:27 +08:00
Stephen Zhou c601752e55 fix(mobile): clean outdated data when hydrating 2025-06-04 09:43:10 +08:00
Innei 496b1d65b2 refactor: replace tipc to ipcServices (#3863)
* init

* refactor: remove @egoist/tipc integration and clean up IPC services

- Deleted references to @egoist/tipc, including related imports and methods.
- Refactored IPC services to utilize decorators for method registration.
- Updated renderer to use new IPC method calls directly.
- Cleaned up unused files and dependencies related to tipc.
- Enhanced the structure of IPC services for better maintainability.

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

* refactor: replace tipcClient with ipcServices and clean up IPC integration

- Removed all instances of tipcClient and replaced them with ipcServices for improved IPC method calls.
- Deleted the obsolete ipc-client.ts file and related references.
- Updated various components and hooks to utilize the new ipcServices structure.
- Enhanced type safety and maintainability of IPC service interactions.

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-03 23:12:48 +08:00
DIYgod 47e07a4cc3 feat(desktop): copy and paste login token 2025-06-03 20:57:23 +08:00
Innei 5bbd96ed90 fix: share menu in other system, resolves FOL-2507
Signed-off-by: Innei <i@innei.in>
2025-06-03 20:20:52 +08:00
Stephen Zhou 939562d678 refactor: force selector for useEntry (#3859) 2025-06-03 17:33:31 +08:00
lawvs ce3a23bf62 refactor: reorg image saving and sharing logic to use utility functions 2025-06-03 16:53:38 +08:00
2ee4c5f87b feat(corner-player): use the episode cover first, instead of the feed cover (#3855)
* feat(corner-player): use episode cover first instead of feed cover

* fix(eslint): fix missing dependency eslint problem

playerOpenAt is a const in component life cycle, but eslint warning it.
it should have no effct, just let eslint never warning.

* fix: ensure absolute view in AISummary component takes full width

* fix(rsshub): update label text from 'Follow' to 'Folo'

fix(rsshub): update label text from 'Follow' to 'Folo'

* feat(ssr): fetch more entries by feed api

* feat(desktop): enhance rsshubAnalytics query to support language filtering

---------

Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: DIYgod <i@diygod.me>
2025-06-03 16:36:45 +08:00
Whitewater 82fb9ce1dc fix: pager should not flicker when scrolling fast(#3858)
* fix: correct initialPageIndex assignment

* chore: optimize event handlers with useCallback
2025-06-03 11:32:16 +08:00
DIYgod 14d4da3d28 feat(desktop): enhance rsshubAnalytics query to support language filtering 2025-06-02 22:46:47 +08:00
DIYgod bb029e7144 feat(ssr): fetch more entries by feed api 2025-06-02 10:17:38 +08:00
Cason Kervis 234cb74281 fix(rsshub): update label text from 'Follow' to 'Folo'
fix(rsshub): update label text from 'Follow' to 'Folo'
2025-06-02 09:34:17 +08:00
lawvs 2612f9aab1 fix: ensure absolute view in AISummary component takes full width 2025-06-01 18:06:45 +08:00
lawvs 9d3a9a944b fix: tweak assign video media model in ThumbnailImage component 2025-05-30 12:23:48 +08:00
Cason Kervis e3db0aef11 fix(button): fix 'mark above as read' button not center in social media (#3836) 2025-05-29 22:35:18 +08:00
Alex Su 10648a13c2 chore(locales): update zh-TW translations (#3838)
* feat(locales): update zh-TW translations

* feat(locales): add new zh-TW translations

* fix(locales): correct typos for zh-TW translations
2025-05-29 22:34:40 +08:00
Innei 4e4e09919c refactor: remove Markdown and MarkdownWeb components
- Deleted Markdown and MarkdownWeb components to streamline the codebase.
- This change eliminates unused components related to markdown rendering, improving maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-29 22:29:30 +08:00
Stephen Zhou f7faf78eb5 fix: add border to 2fa qr code, close #3844 2025-05-29 22:15:33 +08:00
Whitewater 336021a94e chore: add Android build trigger and release draft creation (#3843)
* chore: add release draft creation and version setup for Android builds

* chore: add Android build trigger

* fix: update comments for clarity
2025-05-29 17:31:53 +08:00
Konv SuuandInnei b8262413f3 feat(desktop): add reset defaults button for shortcuts (#3834)
* feat(desktop): add reset defaults button for shortcuts

* feat(desktop): add conditional reset defaults button for shortcuts

- Implemented a check to display the "Reset Defaults" button only if shortcuts have been customized.
- Enhanced user experience by preventing unnecessary button visibility when defaults are already in place.

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
2025-05-29 16:52:24 +08:00
lawvs d5e4976a3b fix: update pageMargin for improved layout consistency 2025-05-29 16:31:46 +08:00
lawvs 08d4056f73 fix: adjust pageMargin and offscreenPageLimit for better scrolling experience 2025-05-29 16:11:11 +08:00
Innei 9af7dccf33 refactor: merge markdown parser
- Replaced button with a div in FeedListItem for better accessibility.
- Introduced MarkdownNative component for improved markdown rendering in mobile.
- Updated RsshubFormScreen to utilize MarkdownNative for displaying route descriptions.
- Refactored renderMarkdown function to use parseMarkdown for better performance and added support for text alignment in table cells.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-29 15:48:31 +08:00
Innei ee0ec4422c feat: add FocusableGuardProvider for managing global focus behavior
- Introduced FocusableGuardProvider to handle focus management based on modal presence and route parameters.
- Integrated with existing focus hooks and event bus for improved user experience in modal scenarios.
- Updated RootProviders to include the new FocusableGuardProvider.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-29 15:02:36 +08:00
Innei 017387db2c feat: add rn native markdown rendering
- Introduced PrivacyPolicyScreen and TermsScreen components to display legal documents.
- Implemented markdown rendering for both screens using the renderMarkdown utility.
- Updated imports in various modules to reference the new screen components.
- Enhanced AISummary to accept ReactNode as summary content for better flexibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-29 14:18:56 +08:00
lawvs 91306e3158 feat: implement auto-scroll to entry after pull-up navigation 2025-05-29 12:16:44 +08:00
Stephen Zhou bf7193d3ce fix(mobile): convert markdown to text for summary 2025-05-29 12:11:44 +08:00
Stephen Zhou b610def7be chore: downgrade electron-forge (#3842) 2025-05-29 03:40:44 +00:00
Stephen Zhou ef6ad2a7f2 chore: fix type check 2025-05-29 10:42:07 +08:00
Stephen Zhou 852fb1d8fa fix(desktop): do not summary for short content 2025-05-29 10:38:34 +08:00
Innei e656cfd3a2 chore: update dependencies
- Changed the ESLint rule for "package-json-extend/ensure-package-version" from "warn" to "error" to enforce stricter package version checks.
- Updated various dependencies across multiple package.json files, including:
  - Upgraded @eslint/compat to version 1.2.9
  - Updated @types/node, @types/react, and @types/react-dom to their latest versions.
  - Bumped eslint to version 9.27.0 and lint-staged to version 16.1.0.
  - Updated several other packages such as turbo, tsx, and various Radix UI components to their latest versions.
- Ensured compatibility with the latest versions of dependencies.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-28 22:16:06 +08:00
Innei 04d83732a7 chore: update drizzle-orm to version 0.43.1 across multiple packages
- Updated drizzle-orm dependency from version 0.42.0 to 0.43.1 in the following packages:
  - apps/desktop/package.json
  - packages/internal/database/package.json
  - packages/internal/shared/package.json
- Adjusted related dependencies and configurations to ensure compatibility with the new version.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-28 22:04:29 +08:00
Innei de6c2ff72d feat: implement OPML import functionality with feed selection modal
- Added the DiscoverImport component to handle OPML file uploads and parsing.
- Introduced OpmlSelectionModal for users to select feeds to import, including quota management and search functionality.
- Enhanced error handling and user feedback during the import process.
- Updated translations for new features and improved user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-28 22:00:11 +08:00
Innei 7b3ec11fd4 feat: add analysis for feed management table
- Added mode configuration to Login and Register forms for improved validation handling.
- Updated HCaptcha rendering to only display in production environments.
- Enhanced the Subscription Feeds section with analytics data fetching and display, including subscription count and updates per week.
- Introduced IntersectionObserver for better visibility tracking of feed items.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-28 20:05:18 +08:00
Innei c0a2d10f4d refactor: simplify Media component rendering and enhance DiscoverFeedCard styling
- Removed the unnecessary key prop from the Media component to streamline rendering.
- Added mediaContainerClassName to the FeedCardMediaThumbnail for improved styling consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-28 17:39:23 +08:00
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