Commit Graph

6305 Commits

Author SHA1 Message Date
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
lawvs 7d6df0ec17 fix: correct token usage message logic 2025-11-06 20:57:36 +08:00
Whitewater b6787a79f4
feat(rateLimit): enhance RateLimitNotice to display token usage info (#4662)
* feat(rateLimit): enhance RateLimitNotice to display token usage information

Updated RateLimitNotice component to accept token usage data and display it alongside error messages. Modified related components to utilize the new token usage prop for improved user feedback on rate limits.

* fix: remove rate limit notice for onboarding

* fix: handle negative reset time

* fix: correct reset time check in RateLimitNotice component

* refactor(rateLimit): refactor RateLimitNotice to utilize chatConfig for message display

- Removed tokenUsage prop and normalized token data logic.
- Integrated chatConfig to build messages for free usage and token usage.
- Improved message rendering logic for better clarity on rate limits and resets.

* chore: clean code

* refactor: update RateLimitNotice handling and layout adjustments
2025-11-06 20:45:19 +08:00
songkeys 46d8fccd2f feat(onboarding): compatible with json 2025-11-06 19:11:58 +08:00
DIYgod 959904d72e
feat(chat): enhance resumeStream handling to manage transient status during stream resumption 2025-11-06 17:41:15 +08:00
DIYgod 264bd711e6
refactor(debug-registry): streamline debug registry entries for error simulation and app upgrade notifications 2025-11-06 17:14:24 +08:00
DIYgod 5ee4817cb6
fix(ai-chain-of-thought): update title rendering logic and improve heading extraction 2025-11-06 17:12:43 +08:00
songkeys 84380d5c1a feat(onboarding): add skip button 2025-11-06 17:04:32 +08:00
DIYgod 6748801e4e
feat(ai): add max height and auto scroll support to AIReasoningPart component 2025-11-06 17:03:33 +08:00
Innei 3439180c6c
feat(updater): implement distribution update handling and external link opening
- Added a new method to open external URLs in the app.
- Enhanced the updater to check for distribution updates and notify users.
- Updated the updater status types to include distribution updates.
- Refactored the update notice component to handle distribution store updates.
- Added localization for distribution update notifications.

This update improves the user experience by allowing seamless updates from distribution stores and providing clear notifications for available updates.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-06 16:37:33 +08:00
DIYgod fef048fc2c
feat(about): integrate EnvironmentDebugModalContent and enhance renderer version click handling 2025-11-06 16:25:40 +08:00
lawvs 9b9ee76bcc fix: handle undefined initialValue and check for empty JSON root 2025-11-06 15:32:15 +08:00
songkeys 6f02b5142a fix(onboarding): missing step 2025-11-06 12:28:02 +08:00
DIYgod 0634a79780
fix: types 2025-11-06 09:51:38 +08:00
DIYgod ae97aa2b1a
refactor(ai): drop floating chat panel and simplify timeline layout 2025-11-06 09:09:06 +08:00
Innei f6a8691e3a
fix(translation): update user role checks for translation prefetching
Refactored translation prefetching logic across multiple components to utilize the new isFreeRole function. This change ensures that users with Free roles do not trigger translation prefetching, optimizing performance and enhancing user experience. Updated relevant imports and conditions in EntryItemImpl, useEntryContent, and various EntryList components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-05 21:41:56 +08:00
DIYgod f7b648f25e
feat(aiChat): conditionally render floating panel based on view type
style: adjust padding in ListItem component for better spacing
2025-11-05 17:33:57 +08:00
DIYgod aee647197b
refactor: remove aiColWidthAll from UISettings interface 2025-11-05 17:12:53 +08:00
DIYgod 9bd586345c
feat: new ai layout for all view 2025-11-05 17:03:43 +08:00
DIYgod b0fdc29688
feat(context): remove feedId from timeline summary context and related functions 2025-11-05 15:38:28 +08:00
Innei 61398f72f1
feat(mcp): add Fabric AI workspace integration to MCP presets
Introduced a new MCP preset for Fabric AI, including configuration details such as transport type and API URL. This addition enhances the functionality of the MCP by allowing users to connect their Fabric AI workspace, enabling features like reading and searching workspaces, creating, and updating notes.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-05 14:44:58 +08:00
Innei 053f680dc0
fix(translation): implement user role-based translation prefetching
Enhanced translation prefetching logic across multiple components by incorporating user role checks. Users with the Free role will no longer trigger translation prefetching, optimizing performance and resource usage. Updated relevant hooks and components to utilize the new logic for improved user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-05 01:24:34 +08:00
Innei e9553e40d0
feat(payment): implement upgrade prompt for AI summary and enhance error handling
Added functionality to suggest an upgrade when payment-related errors occur in the AI summary component. Introduced a new UpgradeRequiredDialog for user prompts and integrated it with existing error handling. Updated localization for upgrade messages in multiple languages. Refactored related components to improve clarity and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-05 01:06:36 +08:00
Innei cd99ec9179
feat(error-handling): enhance error parsing and localization updates
Updated the error parsing logic in the error-parser.ts file to include additional status handling for FollowAPIError. Improved the toastFetchError function to utilize status codes for payment-related errors. Additionally, localized new error messages in English, Japanese, and Chinese, including updates for trial user limits and AI memory errors.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-04 23:18:35 +08:00
Innei 2ac5aed4e1
fix(ui): sonner styles
Updated the global shortcuts registration to ensure proper detection of editable elements by checking if the target is an instance of HTMLElement. This change enhances the accuracy of shortcut handling in editable contexts.

style(toast): remove unused toast styles

Deleted redundant CSS styles related to sonner toast notifications to streamline the stylesheet and improve maintainability.

style(toast): enhance toast styles with z-index and pointer events

Added z-index and pointer-events styles to the toast component for better layering and interaction handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-04 22:55:49 +08:00
Innei ad97c27906
feat(ai-summary): enhance AI summary card with upgrade suggestion and error handling
Updated the AISummaryCardBase component to suggest an upgrade when encountering a payment-related error. Refactored error handling to utilize the FollowAPIError class. Improved localization for upgrade prompts in English, Japanese, and Chinese. Adjusted related components to pass error objects instead of error codes for better clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-04 22:33:41 +08:00
Innei d4389ce2d3
fix(view-all): can not move to category in all view
Refactored the FeedCategoryImpl function to replace the 'view' prop with 'viewOnRoute' for better clarity and consistency. Adjusted related subscription action calls to utilize the new prop, ensuring proper state management and navigation behavior.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-04 21:42:44 +08:00
Innei fabe63621e
refactor(api): remove unused API fetch and activation modal components
Deleted the api-fetch module and the ActivationModalContent component, streamlining the codebase. Updated references to use the new UpgradePlanModalContent where necessary. Adjusted response interceptors in the api-client to remove unused router references and error handling logic.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-04 21:21:23 +08:00
Innei 6a49168181
feat(subscription): add SubscriptionScreen and update settings navigation
Introduced a new SubscriptionScreen for managing user subscriptions, replacing the previous PlanScreen references. Updated navigation links in SettingsList to reflect this change, ensuring proper routing. Enhanced localization files to include new subscription-related strings for multiple languages.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-04 20:45:58 +08:00
lawvs 2541490129 chore: only refetch chat session when user has task 2025-11-04 15:48:09 +08:00
Innei 45b607d8fa
fix(header): adjust header and banner styles for modal presentation
Updated the header and user banner components to conditionally adjust styles based on modal presentation state. The header now accounts for modal visibility when setting padding, and the user banner adjusts its margin and padding accordingly to enhance layout consistency in modal views.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-03 22:42:31 +08:00
Innei b1dd6dab33
fix(tray): set default minimize to tray behavior for all platforms
Updated the default behavior for minimizing the application to the system tray, ensuring it is set to false across all platforms, including macOS. This change simplifies the tray configuration logic.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-03 22:03:21 +08:00
Innei e6f520aa5b
fix(updater): windows path seq
Enhanced logging in the updater module to provide more context during update checks and downloads. Updated path resolution logic for Windows to ensure correct handling of installation paths. Removed the outdated logger module to streamline the codebase.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-03 22:00:31 +08:00
songkeys 61acd01f7a fix(guide-modal): update onboarding step completion conditions
Modified the conditions for marking onboarding steps as complete in the GuideModalContent component. Now considers both "finish" and "manual-import-finish" steps as completed, ensuring proper tracking and user flow.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-03 21:52:50 +08:00
Innei 19c4b567b2
refactor(updater): remove unused renderer update functions
Removed the extractRendererManifest, evaluateRendererUpdate, and applyRendererUpdate functions from the hot-updater module to streamline the codebase. Updated logging in the index module for clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-03 19:58:18 +08:00
Innei c8c789f4fd
refactor(updater): app update based own server
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-03 19:58:18 +08:00
Whitewater cff58df175
feat: enhance test run functionality with stream resume (#4648)
* feat(ai): enhance test run functionality with session management

* fix: ensure session ID is returned from test run mutation

* chore: improve success message for test run

* fix(task): handle test run errors and improve user feedback

Added error handling for test run failures, dismissing the loading toast and providing specific error messages. Introduced a delay before switching to chat to ensure backend readiness.

* chore: update test start message for clarity in multiple languages
2025-11-03 16:47:17 +08:00
Konv Suu 70ac015321
fix: correct header height class assignment (#4650) 2025-11-03 00:15:52 +08:00
songkeys 7e03fee949 refactor(onboarding): new tracking points 2025-11-02 17:40:29 +08:00
Stephen Zhou 1613ca965f
chore: show MAX_AI_REQUESTS_PER_MONTH 2025-11-02 17:30:36 +08:00
songkeys c356ddfc94 feat(onboarding): add progress bar to feed subscription step
Introduces a progress bar to visually indicate the completion status of feed subscriptions during onboarding. Progress updates as each feed is processed, and the bar is shown after a short delay for improved user feedback.
2025-11-02 17:26:19 +08:00
Innei 9688b20a00
refactor(ai): simplify usage metrics display and enhance styling
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-01 22:19:20 +08:00
DIYgod 7f1e9c9f3d
Merge pull request #4643 from RSSNext/sync/main-to-dev-20251101
Sync main branch to dev branch
2025-11-01 11:10:14 +08:00
DIYgod 8187784cc8
release(desktop): Release v1.0.0
release(desktop): Release v1.0.0
2025-11-01 08:28:04 +08:00
Innei 5aed1affab
fix(ai): fetch remote messages if not exist
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-01 02:07:31 +08:00
Innei a939842ca9
feat: auto generate chat title in stream
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-01 00:36:55 +08:00
DIYgod d54d4bfa36
fix: update AISplineLoader to use the correct CDN URL for the AI icon 2025-10-31 22:18:19 +08:00
DIYgod cc5ccd4ae8
chore: update changelog for v1.0.0 release with new features and contributor acknowledgments 2025-10-31 22:13:00 +08:00
DIYgod e1a08b081f
fix: update CardHeader layout to use flexbox for better alignment 2025-10-31 21:58:55 +08:00
Innei 21cae0ae88
release(desktop): release v1.0.0 2025-10-31 21:54:55 +08:00