Commit Graph

6245 Commits

Author SHA1 Message Date
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
Konv Suu aac3760e90
fix(desktop): first item's action bar was clipped (#4623) 2025-10-28 12:13:21 +08:00
Innei 65249b45c7
fix: should render entry content when refresh page
- Added a new effect to manage the rendering of the details column based on the timeline's state.
- Updated dependencies in the width adjustment effect to ensure proper layout updates.
- Cleaned up unnecessary state updates to enhance performance.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-27 23:16:59 +08:00
Innei 68b8a65429
refactor(ai-chat): chat loading remote message logic
- Updated `ChatHeader` to display title when messages are present.
- Modified `ChatHistoryDropdown` to remove cleanup of empty sessions.
- Adjusted `ChatInterface` to show loading overlay during message sync.
- Refactored `useLoadMessages` to include remote syncing state.
- Simplified session handling in `AIChatSessionService` and removed unused message count logic.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-27 22:58:16 +08:00
Innei 18e9c941e0
feat(ai-chat): integrate session hydration and enhance chat history loading logic
- Added `hydrateSessionsFromLocalDb` to initialize app for session management.
- Updated `ChatHistoryDropdown` to conditionally render loading state based on session length.
- Refactored `useChatHistory` to utilize the AI chat session store for state management.
- Enhanced `AIChatSessionService` to include session synchronization and error handling.
- Exported store actions from `ai-chat-session` module for better state management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-27 21:49:33 +08:00
Stephen Zhou fb5f94e967
Revert "fix: return text only for relative date"
This reverts commit 3dfd55a164.
2025-10-27 21:47:27 +08:00
Stephen Zhou 3dfd55a164
fix: return text only for relative date 2025-10-27 21:42:06 +08:00
Innei 19d92cf57e
fix: some element styling
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-27 20:41:56 +08:00
lawvs 628a40a76d chore(locales): add onboarding operation type to analytics 2025-10-27 15:39:06 +08:00
lawvs 2583eb872c fix: filter task session in task report dropdown 2025-10-27 15:38:47 +08:00
DIYgod f77e1aa2bb
Merge branch 'staging' into dev 2025-10-27 12:26:45 +08:00
DIYgod a82b0e9cc8
feat(Timeline): redirect to the configured first view 2025-10-27 11:22:05 +08:00
Konv Suu 85df73f99f
fix: toast close button was clipped and its focus style (#4609)
* fix: toast close button was clipped and its focus style

* lint
2025-10-26 09:22:04 +08:00
Konv Suu 13bc195ff1
feat: add language params to video url (#4610) 2025-10-26 09:21:33 +08:00
Innei 24d3c608d1
fix: add missing newline at end of package.json
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-26 01:31:47 +08:00
Innei 4fb9321b3f
chore: lint
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-25 22:43:26 +08:00
Cyandev 876d51d1cd
refactor: progressive blur effect (#4607)
* refactor: progressive blur effect

* Update packages/internal/components/src/ui/progressive-blur/index.tsx

---------

Co-authored-by: Innei <tukon479@gmail.com>
2025-10-25 22:42:45 +08:00
Konv Suu dca83e9f6e
feat: add video playback control in preview media (#4531)
* feat: add video playback control in preview media

* update

* clean in unmount
2025-10-25 22:02:03 +08:00
dependabot[bot] 1cbd80381c
chore(deps): bump actions/attest-build-provenance from 2 to 3 (#4394)
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 2 to 3.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](https://github.com/actions/attest-build-provenance/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-25 21:59:37 +08:00
Konv Suu acdfeefaa3
fix: improve audio player progress bar hover indicator styles (#4600) 2025-10-25 21:58:30 +08:00
Alex Su 6ade8521a6
feat(i18n): update zh-TW translations (#4596)
Co-authored-by: DIYgod <i@diygod.me>
2025-10-25 21:51:30 +08:00
dependabot[bot] 76a4d6b9fe
chore(deps): bump signpath/github-action-submit-signing-request (#4594)
Bumps [signpath/github-action-submit-signing-request](https://github.com/signpath/github-action-submit-signing-request) from 1.3 to 2.0.
- [Release notes](https://github.com/signpath/github-action-submit-signing-request/releases)
- [Commits](https://github.com/signpath/github-action-submit-signing-request/compare/v1.3...v2.0)

---
updated-dependencies:
- dependency-name: signpath/github-action-submit-signing-request
  dependency-version: '2.0'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-25 21:42:56 +08:00
dependabot[bot] ece0156d16
chore(deps): bump actions/upload-artifact from 4 to 5 (#4601)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-25 21:39:45 +08:00
DIYgod 3746ffac6e
Merge pull request #4605 from RSSNext/sync/main-to-dev-20251025
Sync main branch to dev branch
2025-10-25 18:12:04 +08:00
DIYgod baf61f7f89
release(desktop): Release v0.9.0
release(desktop): Release v0.9.0
2025-10-25 18:11:07 +08:00