Commit Graph

1152 Commits

Author SHA1 Message Date
DIYgod 4e1c9bfdb4
feat: add moonshotai provider and user role priority constants 2025-11-15 12:10:03 +08:00
Stephen Zhou 63c4065bdb
fix: vertical videos are cropped 2025-11-14 22:47:20 +08:00
Innei 16c005aa57
style: enhance code highlighter and login button appearance
- Updated CSS for the code highlighter to improve layout and add custom scrollbar styles.
- Refined the Shiki component with a subtle glow effect and improved header layout.
- Adjusted the LoginButton icon size and color for better visibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-14 21:31:41 +08:00
DIYgod e4f5e173e9
feat: hide grecaptcha badge in styles 2025-11-14 21:22:09 +08:00
DIYgod 94c3b91699
feat: replace hcaptcha with recaptcha-v3 2025-11-14 21:09:10 +08:00
Innei 95fbee4547
fix: disallow follow feed when not login
- Refactored LoginModalContent to improve UI/UX with animations and layout adjustments.
- Added login state checks in FeedForm to disable actions for non-logged-in users.
- Updated EntryListHeader to utilize the new useIsLoggedIn hook for better user authentication handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-14 21:03:49 +08:00
Innei 3adf4feec9
feat(auth): implement login requirement for various actions
- Introduced `requiresLogin` property for menu items and actions across multiple components to enforce user authentication.
- Added `useRequireLogin` hook to manage login checks and modal presentation.
- Updated context menus, action buttons, and settings to utilize the new login guard functionality.
- Enhanced user experience by prompting login where necessary, ensuring actions are only accessible to authenticated users.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-14 15:11:14 +08:00
Innei e3d436d285
feat(subscription): add NotLoggedInNotice component and update localization
- Introduced a new NotLoggedInNotice component to prompt users to log in for syncing subscriptions.
- Updated English, Japanese, and Chinese localization files to include the new notice message.
- Removed commented-out code related to data prefetching in SubscriptionList component for cleaner code.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-14 00:42:45 +08:00
Innei 35437ecf8e
feat(auth): allow loginless
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-14 00:32:34 +08:00
DIYgod ee5f2ff225
feat(profile): add power menu item for users with power tokens 2025-11-13 20:40:04 +08:00
Innei 273eda08fc
fix(subscription): update subscription limit warning icon and clean up localization message
- Replaced the warning icon with a sad face emoji for better visual representation.
- Removed unnecessary commented-out code in the subscription limit warning.
- Cleaned up the localization message by removing the emoji from the string.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-13 18:21:48 +08:00
Innei af3454bcf5
feat(subscription): enhance subscription limit warning with rich text formatting
- Updated the subscription limit warning to use the Trans component for better localization support.
- Modified the warning message in the localization file to include HTML elements for improved readability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-13 14:41:26 +08:00
Stephen Zhou 0b23414311
fix: move mark as read to top 2025-11-12 22:06:55 +08:00
DIYgod 86d53a7caa
feat: ai icons 2025-11-12 21:08:17 +08:00
Innei 2ed3eae425
feat(subscription): add unsubscribe and rename category functionality
- Introduced CategoryUnsubscribeDialogContent for unsubscribing from feeds within a category.
- Added RenameCategoryForm for renaming categories.
- Updated FeedCategory to include options for unsubscribing and renaming categories in the context menu.
- Enhanced localization files to support new dialog messages for unsubscribe and rename actions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-12 21:04:35 +08:00
DIYgod f40e81cdca
feat(entry-placeholder): update button actions and restore 'Sort the timeline by importance' functionality 2025-11-12 20:51:23 +08:00
DIYgod 0a6a3b66ce
feat(ai-chat): prefix message ids with shortcut ids 2025-11-12 20:46:46 +08:00
DIYgod 54e5e84617
feat: ai shortcuts 2025-11-12 20:46:46 +08:00
Innei 9d1e4141ed
fix(button): add no-drag-region class to GlassButton for improved user experience
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-12 16:47:09 +08:00
Stephen Zhou 96bdfcc2d9
fix: show summary card for upgrade plan 2025-11-12 16:28:12 +08:00
DIYgod 2dfb9a7f70
feat(ai-chat): move panel mode toggle to header 2025-11-12 16:04:34 +08:00
Innei 10c73a52b5
fix(timeline): add ListItemSkeleton and syncType to entry column components
- Introduced ListItemSkeleton for loading states in entry lists.
- Updated EntryList and EntryColumnContent to accept and utilize syncType ("remote" or "local") for better state management.
- Modified EntriesContext to include syncType in the context value.
- Enhanced useEntriesByView hook to determine syncType based on query readiness.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-12 15:56:32 +08:00
DIYgod 5a642b0230
feat: simplify 2025-11-12 15:40:25 +08:00
Stephen Zhou b37b60bf03
feat: onetime payment notice for cn users 2025-11-12 12:46:02 +08:00
DIYgod e59f98e85d
feat: subscription limit warning 2025-11-12 11:45:12 +08:00
Innei 3a603bf912
fix: upgrade plan modal error
- Removed unused `useSetSettingTab` import from `UpgradePlanModalContent`.
- Updated `SettingModalContent` to improve initial tab resolution and ensure active setting is correctly managed with memoization and effects.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-11 23:42:57 +08:00
Innei d94e4fbb2f
chore: add rsshub indicator
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-11 21:46:31 +08:00
DIYgod a07e5eb065
fix: update feature descriptions for AI credits and requests in multiple languages 2025-11-11 20:36:33 +08:00
DIYgod 81119140e9
fix: update plans grid to display only paid plans and adjust layout for better responsiveness 2025-11-11 20:15:13 +08:00
DIYgod 2d5d076626
feat: implement timeline summarization feature and update related UI components 2025-11-11 20:02:23 +08:00
Stephen Zhou 9c2754134d
chore: paid settings level 2025-11-11 19:29:48 +08:00
Stephen Zhou 262c9819c3
chore: update feature format 2025-11-11 17:16:59 +08:00
Stephen Zhou c2f7d0eae2
chore: basic plan description 2025-11-11 14:59:12 +08:00
Whitewater 4b0afb4f99
fix: resolve nested button HTML hydration errors (#4688)
* fix: remove nested button from ai shortcut

* fix: UserAvatar should not show login

* chore: ensure userId is accessed safely
2025-11-11 14:41:19 +08:00
Whitewater cfefb5a120
fix: remove unnecessary containerRef in SwipeWrapper component (#4690)
* fix: remove unnecessary containerRef in SwipeWrapper component

* fix: update mobile web app meta tags in index.html
2025-11-11 14:16:21 +08:00
Innei a2e27aa26d
chore(ai): remove ai window rate limit
- Simplified the layout of the usage overview card for better visual clarity.
- Removed the `StatCompact` component as it was no longer needed.
- Adjusted the size of the `UsageProgressRing` for a more cohesive design.
- Cleaned up unused variables to streamline the code.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-11 01:50:05 +08:00
Innei b8a9e92ba8
fix(style): rounded style based on article item container
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-11 00:33:29 +08:00
Innei fc95cddac0
fix(ai): reduce ai indicator interection position, closed 4677
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-11 00:06:28 +08:00
Chrys f8944183ee
fix: scope pictureViewImageOnly to picture feeds (#4680) 2025-11-10 18:09:46 +08:00
Whitewater 2542f23428
fix: flushSync inside lifecycle (#4686) 2025-11-10 17:05:03 +08:00
Whitewater 0ec43718d3
Merge pull request #4687 from RSSNext/fix/hydrate-session-error
fix: hydrate sessions error
2025-11-10 16:59:59 +08:00
DIYgod ad97448509
Merge pull request #4676 from RSSNext/sync/main-to-dev-20251108
Sync main branch to dev branch
2025-11-10 15:09:29 +08:00
Innei b927383e93
fix(ai): should stop when switch session
- Changed the `destroy` method in `ZustandChat` to be asynchronous, ensuring proper cleanup with `await`.
- Updated `newChat` and `switchToChat` actions to await the destruction of the old chat instance before creating a new one.
- Initialized `#eventEmitter`, `#status`, and `#error` in `ZustandChatState` constructor for better state management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-08 16:25:38 +08:00
Innei 9cc55c8765
feat(ai-chat): update ChatHeader and AIEnhancedTimelineLayout for improved panel visibility
- Added logic to control AI panel visibility based on the current view in ChatHeader.
- Enhanced AIEnhancedTimelineLayout to automatically show the AI panel when in 'All' view.
- Refactored imports for better organization and clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-08 16:17:50 +08:00
lawvs 2dcc2967e4 fix: prevent insertion of empty message results 2025-11-08 15:31:31 +08:00
Innei 0a42795377
refactor(ai-chat): enhance AISmartSidebar with spring animations and improved mouse interaction handling
- Replaced mouse position tracking with spring-based intensity for smoother animations.
- Introduced multiple transform properties for layered visual effects.
- Improved event handling for pointer movements and visibility of the prompt.
- Cleaned up code for better readability and performance.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-08 15:22:05 +08:00
Innei 3832e21b7c
fix: can close ai panel
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-08 15:07:28 +08:00
Innei 7f6b35e0b2
refactor: implement timeline redirection and enhance modal routing
- Added a new layout component for timeline pages to handle redirection based on canonical timeline IDs.
- Updated `usePeekModal` to utilize `getTimelineIdByView` for improved URL generation in modal navigation.
- Enhanced the overall routing logic for better user experience and consistency in timeline navigation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-07 21:43:46 +08:00
Innei 6d04292823
Merge branch 'release/desktop/1.1.0' into dev 2025-11-07 21:38:51 +08:00
Innei a1b2a5840b
fix: ai preview peek modal wrong navigation entry url
- Integrated subscription view retrieval in usePeekModal for improved modal routing.
- Updated AnimatedMarkdown to utilize subscription view when navigating entries.
- Cleaned up EntryContentForPreview by removing unnecessary class names for better styling consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-07 21:38:38 +08:00