Commit Graph
601 Commits
Author SHA1 Message Date
Stephen Zhou b82da59a5f fix(mobile): catch database clone 2025-06-11 16:07:09 +08:00
Stephen Zhou fa99d6f266 fix(mobile): database migration (#3903) 2025-06-11 16:05:01 +08:00
Stephen Zhou d3f889a42d refactor(desktop): use translation and readability from shared store (#3902) 2025-06-11 12:36:26 +08:00
Stephen Zhou c2e0c3d20d fix(mobile): auto delete database when migrate fail 2025-06-11 11:47:42 +08:00
Stephen Zhou 784a95cff1 refactor(desktop): use database and store from shared package (#3897) 2025-06-11 11:36:25 +08:00
Innei e6b905c796 fix(list): update fetchOwnedLists to include query parameter
- Modified fetchOwnedLists method to pass an empty query object to the API call, ensuring compatibility with the updated API structure.
- This change enhances the data retrieval process for owned lists.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 00:38:10 +08:00
Innei 0fd9298f20 fix(desktop): fix switch sub hotkey scope
- Renamed FeedColumn to SubscriptionColumn for consistency and clarity.
- Updated imports and component references throughout the subscription column module.
- Introduced new SubscriptionColumnHeader, SubscriptionList, and SubscriptionTabButton components to enhance functionality and organization.
- Removed the deprecated TimelineList component to streamline the codebase.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 00:04:04 +08:00
Innei 228b4b09ae feat(profile): redesign user profile modal
- Introduced a new ListCard component to display user-created lists with relevant details.
- Updated user data handling to include image and improved structure for user information.
- Refactored the UserProfileModalContent to streamline rendering of user info, lists, and subscriptions.
- Removed unnecessary state management and improved overall layout for better user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 23:43:20 +08:00
Innei d39f95c5b3 fix(desktop): can update list after create list
- Replaced grouped data hooks with direct ID retrieval for lists and inboxes to simplify data management.
- Updated related components to utilize the new hooks for improved performance and clarity.
- Enhanced list creation and update logic to utilize centralized actions for better maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 21:45:56 +08:00
Innei 507a525965 feat(profile): add user profile with bio, website, and social links
- Added fields for user bio, website, and social links (Twitter, GitHub, Instagram, Facebook, YouTube, Discord) in the profile settings form.
- Updated the user profile modal to display bio, website, and social links.
- Improved email management UI for better layout and user experience.
- Introduced new translations for the added fields in the settings locale.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 00:08:25 +08:00
Innei 0750ebf39c feat(footer): redesign PoweredByFooter with structured links and social media icons
- Introduced a new layout for the footer, including sections for product, community, and resources with relevant links.
- Added social media icons for GitHub, Twitter, and Discord.
- Improved accessibility and styling for footer elements.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-09 21:56:17 +08:00
Innei a92bdb89b3 feat(user-profile): integrate user lists and subscriptions in profile page
- Added functionality to fetch and display user-created lists alongside subscriptions.
- Introduced new components for rendering lists and subscriptions with loading states.
- Updated metadata fetching to include lists data for user profiles.
- Refactored user subscriptions query for better data handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-09 21:20:22 +08:00
DIYgod 8f37d441f2 Merge pull request #3883 from RSSNext/sync/main-to-dev-20250608
Sync main branch to dev branch
2025-06-08 10:11:57 +08:00
lawvs 6cb4a3ea48 fix: improve purchaseAmount handling for better null checks 2025-06-08 03:22:45 +08:00
Innei 059ab9d996 refactor(desktop): update SharePanel and UrlBuilder for improved share URL handling
- Refactored SharePanel to retrieve the share URL directly from the entry data.
- Enhanced UrlBuilder with a new method for generating share URLs that includes view and subscription parameters.
- Updated the shareEntry method to utilize the new structure for better flexibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-06 18:43:45 +08:00
Innei a4ad4bf661 feat(desktop): enhance SharePanel with dedicated share URL generation
- Introduced a new method in UrlBuilder for generating share URLs for entries.
- Updated SharePanel to utilize the new share URL method for improved clarity and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-06 17:35:16 +08:00
Innei 5a53e6f46e feat: replace number formatting with formatNumber utility across discover and feed components for improved readability
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-06 14:15:07 +08:00
Innei fc16118891 feat: implement subscription column layout for desktop and mobile, including responsive components and user interface enhancements
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-06 13:49:17 +08:00
Innei 49b876f32f fix(tracker): refactor user property management and language detection
- Updated analytics initialization to append user properties more effectively.
- Changed PostHog configuration to always identify person profiles.
- Introduced methods in TrackerManager for managing user properties, including appending and clearing.
- Improved sign-out process to clear user properties from the tracker.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-05 22:18:02 +08:00
Innei 726a312545 feat(tracker): integrate PostHog analytics and enhance tracking capabilities (#3862)
- Added PostHog as a new tracking adapter for improved analytics.
- Updated the analytics initialization to include PostHog configuration.
- Refactored the tracking manager to support batch processing and error handling.
- Enhanced the existing tracking logic to accommodate new event types and properties.
- Updated environment variables to include PostHog keys for configuration.
- Added new rules and documentation for the tracking system.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-05 21:54:58 +08:00
DIYgod 2c27d91aaa feat(mobile): show analytics in feed form 2025-06-05 19:30:08 +08:00
DIYgod 6a51c8f341 feat(mobile): optimize rsshub form screen 2025-06-05 18:40:12 +08:00
DIYgod 9c3457a29e feat(mobile): rsshub routes sorting 2025-06-05 13:22:36 +08:00
Stephen Zhou 56dadac46e refactor(desktop): use action store (#3868) 2025-06-05 00:57:38 +00:00
lawvs 761aa97a72 chore: ensure staleTime is set for prefetch entries query 2025-06-05 02:14:49 +08:00
Innei 9dd5109bf8 fix: standardize control key naming across platforms, fixed #3860
- Updated the control key naming in the SpecialKeys object for Windows, macOS, and Linux to ensure consistency.
- Modified the transformShortcut function to replace "$mod" with "Control" instead of "Ctrl" for better clarity.
- Adjusted the key sorting order to reflect the updated naming convention.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-04 20:20:45 +08:00
Innei e5e474b987 fix: update shortcut key bindings and improve sorting utility
- Changed the shortcut for toggling Zen mode to use "Shift+$mod+Z".
- Removed redundant sorting functions from SettingShortcuts and moved sorting logic to utils.
- Enhanced the sorting utility for shortcut keys to ensure consistent ordering of modifier keys.
- Updated GlobalHotkeysProvider to utilize the new sorting logic and added a check for normal layer focus.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-04 20:16:40 +08:00
Innei 397365c508 feat(desktop): implement popover for sharing entries with social media options
- Added a new Popover component to display sharing options for entries.
- Created SharePanel component to handle different sharing actions, including native sharing and copying links.
- Integrated mouse position tracking to position the popover correctly.
- Updated entry action commands to utilize the new sharing functionality.
- Added new icons for social media platforms and updated localization files for share-related texts.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-04 18:57:00 +08:00
Stephen Zhou 0f34e5b267 refactor: merge auth client type 2025-06-04 11:59:45 +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
Stephen Zhou 939562d678 refactor: force selector for useEntry (#3859) 2025-06-03 17:33:31 +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
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 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 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 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 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 ce7c421e0d refactor(mobile): enable package exports (#3822) 2025-05-27 10:54:49 +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