Commit Graph

6269 Commits

Author SHA1 Message Date
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
Konv Suu f1f13f9088
fix(desktop): increase height for preview header style (#4628) 2025-10-31 20:53:50 +08:00
Whitewater 2ad4169c54
fix: skip streaming messages in message persist (#4637)
* fix: skip streaming messages in message processing

* fix(ai-chat): streamline message synchronization logic

Removed redundant message loading check in syncSessionMessages method to improve efficiency. Now directly fetches and persists messages when necessary.

* fix(ai-chat): update session time handling after message persistence

Ensure session time is updated based on the latest message creation date after successfully saving messages.

* fix: simplify message sync logic

* fix: update session updatedAt to use createdAt during sync
2025-10-31 20:38:26 +08:00
Innei 4ef3e2b2f1
fix: unify FeedPreviewCard layout and styling
- Removed border and background classes for a cleaner look.
- Adjusted padding and icon size for improved visual consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-31 20:35:28 +08:00
Whitewater 5c8fd4b726
fix: enable manual timeline summary override when switching chats (#4636) 2025-10-31 18:31:56 +08:00
lawvs a9e8d1be38 fix: update unread session logic for task reports 2025-10-31 15:53:07 +08:00
Innei e1e43bfd4a
style: update header and login card styles for improved UI
- Enhanced header button styles for better visual consistency.
- Increased width of the card in the forget password and reset password pages for improved layout.
- Removed unnecessary button component from the card title for a cleaner design.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-31 15:28:04 +08:00
Innei 01b24ea084
feat: add forgot password on reset password form
- Replaced Button component with a styled button in AuthProviderButton for improved styling.
- Updated button properties to use 'disabled' instead of 'isLoading' for better UX.
- Added a link to the "Forget Password" page in the UpdateExistingPasswordForm for enhanced user navigation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-31 15:16:44 +08:00
Innei 48bda630e6
feat: add @number-flow/react package and update plan settings UI
- Added @number-flow/react version 0.5.10 to dependencies.
- Updated the RateLimitNotice component's styling for improved visual consistency.
- Refactored the billing period selection in the SettingPlan component to use SegmentGroup for better user experience.
- Enhanced price display in PlanHeader using NumberFlow for formatted currency output.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-31 15:07:41 +08:00
Stephen Zhou a1e2fd2c7f
refactor: remove plan days left, show discount description 2025-10-31 14:33:20 +08:00
DIYgod 48b2ea39ae
feat: useIsPaymentEnabled 2025-10-31 11:56:23 +08:00
Stephen Zhou 53e3578af2
feat: new payment (#4629)
* feat: new payment

* update

* update

* update

* update

* feat: enhance plan feature formatting and update localization strings

* update

* update

* update

* update

* refactor: remove NeedActivationToast and related activation modal logic

* update

* feat(settings): guard paid settings

Centralized paid-level metadata in @follow/shared and exposed the SettingNamespace union.
Updated the builder helpers and every settings tab to pull paid badges from that shared map.
Hardened the atoms helper to block writes and surface default values when a user lacks the required role.
Added the necessary workspace dependencies for the atoms package.

* fix: types

* feat(rate-limit-notice): update error messaging and add upgrade prompt

* feat(settings): integrate review checks into settings components

* update

* fix(plan): correct priority calculation in setting page data

* feat(ai-summary): add upgrade suggestion for AI summary when plan is insufficient

* feat(settings): enhance PaidBadge component to conditionally render based on MAS review status

---------

Co-authored-by: DIYgod <i@diygod.me>
2025-10-31 11:42:57 +08:00
Innei d255d7d6a2
feat(settings): enhance scroll behavior in SettingModalContent
- Added a new state to track if the scroller is at the top.
- Implemented a scroll event listener to update the scroller state.
- Updated SettingsTitle component styling based on scroller position for improved visual feedback.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-30 21:09:54 +08:00
Innei 534a6a6ca4
style(entry-header): enhance header and breadcrumb styles for improved visibility
- Updated the header component to include a new class for better styling.
- Modified the breadcrumb component to adjust text size and opacity for enhanced readability and transition effects.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-30 21:06:14 +08:00
Innei 9f192f3cbf
fix(settings): simply setting modal scroll to section logic and highlight
- Renamed SettingSectionHighlightContext to SettingSectionHighlightIdContext for clarity.
- Simplified highlight registration logic and improved scrolling behavior in SettingModalContent.
- Enhanced visual feedback for highlighted sections with a new animation effect.
- Cleaned up unused code and optimized imports for better maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-30 18:11:02 +08:00
Innei 0661c5fc1e
fix: setting modal initial tab logic
- Introduced SettingTabProvider for better context management of setting tabs.
- Updated SettingModalLayout to remove initialTab prop and manage tab state internally.
- Refactored SettingModalContent to utilize SettingTabProvider and streamline initial tab resolution.
- Removed unnecessary console logs and cleaned up code for improved readability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-30 17:38:05 +08:00
Innei 220702c456
Revert "chore: update API URLs to use folo.is domain"
This reverts commit ad75a1e47b.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-30 17:06:20 +08:00
Innei 5f563c2a2f
chore: remove cursor rules
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-30 14:10:47 +08:00
DIYgod b022b201ac
fix(ai-chat): update interval constant for timeline summary to 5 hours 2025-10-30 10:49:53 +08:00
DIYgod 8f067e4d3a
fix(ai-chat): update timeline summary context to include feedId and adjust interval constant 2025-10-30 09:31:07 +08:00
DIYgod 9a8228fc7a
chore: update URLs to use folo.is domain in configuration files 2025-10-30 09:04:39 +08:00
lawvs 54ffd65e10 feat(chat): resume chat stream 2025-10-30 05:30:33 +08:00
Innei 29e8b2d6fb
fix(ai-chat): adjust positioning of elements in AIChainOfThought component
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-29 23:14:06 +08:00
Innei ad75a1e47b
chore: update API URLs to use folo.is domain
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-29 22:54:53 +08:00
DIYgod d0a7ca9db1
fix: types 2025-10-29 21:28:17 +08:00
DIYgod 7927526691
chore: update @follow-app/client-sdk to version 0.3.76 in pnpm-workspace.yaml 2025-10-29 21:12:21 +08:00
DIYgod 6c369b4988
chore: update @follow-app/client-sdk version to 0.3.75 in pnpm-workspace.yaml 2025-10-29 21:07:44 +08:00
DIYgod bd3975b25d
feat: rename ai tokens to ai credits 2025-10-29 20:17:01 +08:00
DIYgod 07b06ce6e2
feat(ai-chat): enhance AIModelIndicator to utilize availableModelsMenu for model selection 2025-10-29 20:16:39 +08:00
songkeys 28e1800dd3 fix: support toon parsing on onboarding 2025-10-29 16:08:16 +08:00
songkeys e956be9d10 fix: refresh views after subscription 2025-10-29 15:17:04 +08:00
lawvs f9f1767c2a chore: adjust layout for session item unread indicator 2025-10-29 12:36:06 +08:00
DIYgod eab29b54a0
fix(ai-chat): optimize result rendering in ToolInvocationComponent 2025-10-29 12:29:38 +08:00
Whitewater 187b23c271
refactor(ai-task): update task session (#4624)
* fix(ai-chat): update session handling to mark chats as seen and improve unread message detection

* fix(ai-chat): handle deletion of remote chat sessions when clearing cache

* fix(ai-task): update task session retrieval and handle test run results

- Adjusted session retrieval to match task ID format.
- Enhanced error handling for test run mutations and added message fetching after successful test runs.

* fix(ai-task): update types
2025-10-28 15:35:31 +08:00
Innei c9b8b05fe5
fix(ai-chat): format tool names in ToolInvocationComponent
- Updated the `ToolInvocationComponent` to format tool names using title case and replace underscores with spaces for better readability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-28 14:34:59 +08:00
Innei 02906e3ea3
fix(ai-chat): tools should inside chain of thought
- Modified the `ToolInvocationComponent` to adjust the styling of the error indicator.
- Updated the `AIMessageParts` component to change the bypass condition for tool names and added logging for chain thought parts.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-28 14:27:39 +08:00
Chrys 40ce6f5fd7
fix(EntryContent): updated button styles for entry navigation (#4621)
* fix(EntryContent): replace Paginate Button when timeline exist

* fix(EntryContent): update GlassButton styles for previous and next entry navigation
2025-10-28 13:09:10 +08:00