Commit Graph
6354 Commits
Author SHA1 Message Date
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
Stephen Zhou 36fd41cd1a build(ssr): output path desktop/v1.1.2 2025-11-11 11:33:59 +08:00
Innei c8b759948f fix(locales): update error messages for subscription limits in multiple languages
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-11 02:08:14 +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
a564581ccb fix: grammar in README.md (#4679)
* fix: grammar in README.md

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Innei <tukon479@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-10 18:08:43 +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 cdd7506d98 Merge pull request #4675 from RSSNext/release/desktop/1.1.1
release(hotfix): release desktop/1.1.1
2025-11-08 17:03:53 +08:00
Innei ae0c6c39a6 chore: bump version to 1.1.1 in package.json
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-08 16:48:58 +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 desktop/v1.1.1 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
Stephen Zhou 03c0cc54b5 chore: downgrade linkedom 2025-11-08 15:17:47 +08:00
Innei 3832e21b7c fix: can close ai panel
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-08 15:07:28 +08:00
DIYgod 161297f5b8 fix: update Mac and Microsoft Store badge URLs in README 2025-11-08 10:10:16 +08:00
DIYgod 4a60720f09 release(desktop): Release v1.1.0
release(desktop): Release v1.1.0
desktop/v1.1.0
2025-11-08 07:38:52 +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
Innei 4a1fb17eae refactor: enhance timeline handling and view parsing
- Updated `useNavigateEntry` to utilize `getTimelineIdByView` for better clarity in timeline ID generation.
- Introduced `VIEW_SLUG_BY_VIEW` and `VIEW_PARAM_ALIAS_MAP` in `useRouteParams` for improved mapping of feed views to their respective routes.
- Refactored `computeTimelineTabLists` in `useTimelineList` to normalize and filter timeline IDs, enhancing the handling of known timeline values.

This refactor improves maintainability and readability of the timeline navigation logic.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-07 21:32:40 +08:00
DIYgod 698ba883a4 fix(ai): incorporate isInMASReview hook in RateLimitNotice and useAutoTimelineSummaryShortcut 2025-11-07 20:22:19 +08:00
DIYgod f5628c954a Merge remote-tracking branch 'origin/dev' into release/desktop/1.1.0 2025-11-07 20:07:44 +08:00
lawvs bffe2cd0df fix(ai): lint 2025-11-07 17:39:28 +08:00
Whitewater 26d7e3cb1a fix: handle chatId encoding in reconnectToStream (#4670)
* fix: handle chatId encoding in reconnectToStream

* fix: ensure chatId is always encoded in reconnectToStream
2025-11-07 17:15:09 +08:00
Innei e972598982 Merge remote-tracking branch 'origin/dev' into release/desktop/1.1.0 2025-11-07 17:06:44 +08:00
Innei 520ea60f2a fix(ai): detect resume tip after consume chat
- Introduced ChatBottomPanel component to manage chat input, shortcuts, and rate limit notices.
- Refactored ChatInterface to utilize ChatBottomPanel, enhancing the structure and readability of the chat layout.
- Created ChatMessageContainer to handle message display and scrolling behavior, improving user experience.
- Added ScrollToBottomButton for easier navigation in long chat histories.
- Consolidated message rendering logic into a new Messages component for better maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-07 16:59:40 +08:00
lawvs 2332ae2bb4 fix: lint 2025-11-07 16:18:17 +08:00
lawvs c25539f51a fix(ai-chat): add unread session indicator to dropdowns 2025-11-07 16:07:12 +08:00
Innei 8ee2e92993 fix(ai): rate limit notice message logic
- Renamed the configuration parameter for clarity and simplified checks for rate limiting.
- Consolidated logic for generating rate limit messages, enhancing readability and maintainability.
- Improved handling of remaining requests and reset times for better user feedback.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-07 15:50:52 +08:00
DIYgod 73261ccf74 chore: update changelog for v1.1.0 with new features and fixes 2025-11-07 15:11:26 +08:00
DIYgod fd55f86766 release(desktop): release v1.1.0 desktop@1.1.0 2025-11-07 10:53:22 +08:00
Innei 77f04b9753 feat(ai-chat): add interruption notice and retry functionality
- Implemented a notice for users when the session is interrupted, prompting them to retry their last message.
- Added localization for the interruption message in English, Japanese, and Chinese.
- Enhanced the chat interface to handle message retries effectively, improving user experience during connection issues.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-07 00:43:19 +08:00
lawvs 500814ad3a fix: simplify type usage in rate limit functions 2025-11-07 00:10:14 +08:00
lawvs f60083c730 chore: update package versions for client-sdk and ai-tools 2025-11-07 00:08:54 +08:00
Innei 8794dcbce9 chore: lint
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-06 23:58:20 +08:00
Innei 60f4ce2355 feat(ai): rate limit indicator 2025-11-06 23:42:25 +08:00
Innei c465843bd9 feat(ai-chat): merge ChatHistoryDropdown and TaskReportDropdown
- Refactored session handling by introducing shared components for session items and empty states.
- Added functionality to filter and display both chat and task sessions in ChatHistoryDropdown.
- Implemented loading states and delete session capabilities for better user experience.
- Improved task session management with the ability to create new tasks directly from the dropdown.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-06 22:47:14 +08:00
Innei ec672495b3 fix(ai): fix load ai history session
- Changed RateLimitNotice from a div to a button for better accessibility and interaction.
- Added an "Upgrade Plan" button to encourage users to upgrade their plan directly from the notice.
- Improved layout styling for better visual clarity.

fix(useChatHistory): streamline loading state checks

- Simplified loading state condition in loadHistory function to improve performance.

fix(ai-chat-session): remove unnecessary localization logic in fetchRemoteSessions

- Cleaned up fetchRemoteSessions function by removing unused i18n imports and related code.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-06 22:24:24 +08:00
DIYgod 3492de2c3c fix: downgrade vite version from 7.2.0 to 7.1.11 2025-11-06 21:55:28 +08:00
DIYgod 2ff37e1094 fix: use exact package version 2025-11-06 21:30:35 +08:00
Innei e0a2e6c49c fix(chat): chat bottom input container calcultion
- Removed the rateLimitNoticeRef from ChatInterface, simplifying the height calculation.
- Updated RateLimitNotice component to eliminate the ref prop, streamlining its implementation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-06 21:26:11 +08:00
DIYgod 7ca97e0208 fix: types 2025-11-06 21:16:06 +08:00
Innei ad1d4d9635 feat(ai-chat): add unread message indicator to TaskReportDropdown and SessionItem components
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-06 21:13:33 +08:00
DIYgod 68fb09eb03 chore: update dependencies (#4667)
* chore: update dependencies

* Implement code changes to enhance functionality and improve performance
2025-11-06 21:09:46 +08:00