Commit Graph
645 Commits
Author SHA1 Message Date
DIYgod b1ed3828d4 feat: add store review prompts for desktop and mobile (#4909) 2026-03-11 22:54:04 +08:00
DIYgod 93e4a3b48f feat: add cross-platform e2e coverage (#4901)
* feat: add cross-platform e2e coverage

* fix: stabilize desktop e2e navigation

* fix: harden desktop e2e read flow

* fix: harden desktop e2e auth and follow flows

* fix: stabilize desktop e2e discover entry flows

* fix: run android e2e in a single shell

* fix: speed up mobile e2e builds in ci

* fix: build android e2e app from mobile workspace

* fix: invoke android gradle build from repo root

* fix: use absolute path for android ci build

* fix: restore android eas build in ci

* fix: target iOS simulator by udid in ci

* fix: align desktop e2e with discover card flow

* fix: reorder web e2e after relogin

* fix: navigate web e2e via real hash url

* fix: close stale settings modal before reopening

* fix: track android maestro flows

* fix: wait for settings router in web e2e

* fix: wait for web settings sync propagation

* fix: stabilize desktop e2e settings flows

* fix: harden desktop e2e regressions

* fix: stabilize desktop e2e selectors

* fix: read desktop entry state from locators

* fix: relax desktop e2e entry assertions

* fix: avoid waiting on missing desktop feed ids
2026-03-10 11:32:00 +08:00
DIYgod a941a2d597 feat: add Folo CLI app with tests (#4883)
* feat(cli): add agent-friendly CLI client with tests

* fix(lockfile): regenerate lockfile after merging dev
2026-02-26 13:34:16 +08:00
DIYgod 21fb6dfac0 feat(landing): migrate to vinext and fix prod regressions (#4882) 2026-02-26 12:54:20 +08:00
DIYgod 5e26d1d33d feat(landing): merge landing app into monorepo (#4881) 2026-02-26 11:33:16 +08:00
DIYgodandClaude Opus 4.6 81c5b9f2e0 chore(infra): migrate desktop web to Cloudflare (#4869)
* chore(infra): migrate desktop web from Vercel to Cloudflare Workers

Replaces separate Vercel deployments (follow SPA + follow-external-ssr) with unified Cloudflare Workers + Assets deployment. Implements meta tag injection, OG image generation, and environment variable management in Hono-based Worker. Adds GitHub Actions CI/CD for automatic deployment on push to dev/main branches.

- Replace Fastify with Hono for Cloudflare Workers compatibility
- Create Worker entry point with SSR routes and SPA fallback
- Add AsyncLocalStorage-based request context shim
- Implement WASM-based OG image rendering with R2 font storage
- Split SPA and SSR routing: /share/* and auth routes use SSR, others fallback to SPA
- Add Cloudflare wrangler configuration with dev/prod environments
- Create GitHub Actions workflow for automated deployments
- Add build scripts for font data and WASM patching

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(ssr): exclude worker files from typecheck and fix tsdown config

Worker-specific files (*.worker.ts) use Cloudflare Workers types and
generated modules that aren't available during the main tsc typecheck.
Exclude them from tsconfig since they're only used via tsdown aliases.
Also fix broken path.resolve reference in tsdown.worker.config.ts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 20:58:17 +08:00
DIYgod d386c00ebd fix: clean up renderer lint issues and refresh lockfile (#4860) 2026-02-19 16:38:40 +08:00
DIYgod b548f5a39c Merge remote-tracking branch 'origin/mobile-main' into release/mobile/0.3.0
# Conflicts:
#	apps/desktop/layer/main/src/updater/custom-github-provider.ts
#	apps/desktop/layer/renderer/src/modules/achievement/AchievementModalContent.tsx
#	apps/desktop/layer/renderer/src/modules/entry-column/EntrySubscriptionItem.tsx
#	apps/desktop/layer/renderer/src/modules/entry-column/components/EntryPlaneToolbar.tsx
#	apps/desktop/layer/renderer/src/modules/entry-column/components/EntrySubscriptionSkeleton.tsx
#	apps/desktop/layer/renderer/src/modules/entry-content/EntryContent.legacy.tsx
#	apps/desktop/layer/renderer/src/modules/new-user-guide/guide-modal-content.tsx
#	apps/desktop/layer/renderer/src/modules/settings/tabs/invitations.tsx
#	apps/desktop/layer/renderer/src/modules/settings/tabs/referral.tsx
#	apps/desktop/layer/renderer/src/modules/wallet/level.tsx
#	apps/mobile/src/modules/login/referral.tsx
#	apps/mobile/src/modules/settings/routes/Invitations.tsx
#	apps/mobile/src/modules/settings/routes/Referral.tsx
#	apps/mobile/src/screens/(modal)/InvitationScreen.tsx
2026-02-18 23:53:40 +08:00
DIYgod 0da9f2098e feat: migrate desktop/mobile error tracking to posthog (#4858)
* feat: migrate desktop and mobile error tracking to PostHog

* fix(mobile): remove unsupported tab bar minimize API

* Revert "fix(mobile): remove unsupported tab bar minimize API"

This reverts commit e234dda51257dc6810f0f78e06ee918adf2214b0.
2026-02-18 23:16:00 +08:00
DIYgodandClaude Haiku 4.5 87784b2246 fix(mobile): migrate SwipeableItem to ReanimatedSwipeable and upgrade react-native-css-interop (#4846)
- Replace deprecated Swipeable (old API) with ReanimatedSwipeable (new API with Reanimated integration)
- Migrate from React Native Animated to react-native-reanimated for animations
- Extract LeftActionItem component to properly use useAnimatedStyle hook
- Update renderRightActions to use SharedValue translation for detecting swipe-right-to-call-action
- Replace RN Animated.AnimatedInterpolation with Reanimated's interpolate function
- Use useAnimatedReaction to monitor translation.value and trigger haptic feedback
- Upgrade react-native-css-interop from 0.1.22 to 0.2.1 (removes outdated React 19 compatibility issue)

Fixes React 19 + React Native 0.81 compatibility issues with gesture handler and animation APIs.

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-14 20:36:34 +08:00
DIYgod 19acf638de chore: remove unused dependency patches (#4843) 2026-02-14 11:48:47 +08:00
DIYgod 992e5ce3ea fix(mobile): upgrade Expo SDK54 and fix iOS sqlite startup crash (#4841)
* fix(mobile): stabilize Expo SDK54 startup and sqlite migration

* fix(ci): resolve mobile typecheck and desktop release failures

* fix(ci): format files failing prettier check

* fix(ci): align drizzle and mobile menu dependency resolution

* fix(mobile): align react versions for lint

* fix(mobile): upgrade react-native-menu

* fix(mobile): patch track-player android build
2026-02-14 09:35:25 +08:00
DIYgod 0859f56ad4 chore: update workspace dependencies and lockfile (#4838)
* chore: update workspace dependencies

- bump dependencies across desktop, mobile, ssr, and internal packages

- refresh pnpm lockfile

- apply type compatibility fixes required by upgraded packages

* fix(ssr): prevent tsdown CI warning from failing build

- set inlineOnly to false in tsdown config

* style: format files for CI prettier check

- apply prettier formatting to files reported by format:check

* fix(mobile): downgrade reanimated for rn 0.79 ios build
2026-02-13 16:04:13 +08:00
DIYgod 3d21eab3f0 chore: update ai sdk to v6.0.5 (#4790) 2026-01-01 15:52:02 +08:00
DIYgod 688cfceab9 feat: upgrade ai sdk 2025-12-18 12:07:27 +08:00
Innei 0099f30a03 chore: update '@folo-services/ai-tools' version to 0.2.65 and enhance TokenUsagePill component
- Bumped the version of '@folo-services/ai-tools' to 0.2.65 in pnpm-lock.yaml and pnpm-workspace.yaml.
- Refactored the TokenUsagePill component to improve structure and added localization support for token usage information.
- Introduced new model info and provider info sections for better user clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-20 20:00:40 +08:00
Innei d6efe7994e chore: update package versions in pnpm-lock and pnpm-workspace files
- Bump versions for '@follow-app/client-sdk' to 0.3.92 and '@folo-services/ai-tools' to 0.2.63 in both pnpm-lock.yaml and pnpm-workspace.yaml.
- Adjusted the handling of tags in the APIMorph class to improve data resolution in api.ts.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-20 19:16:13 +08:00
Innei 50641b60e5 Merge remote-tracking branch 'origin/dev' into dev
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-20 19:03:31 +08:00
Innei f83234e7d9 feat: ai tags ui
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-20 19:02:42 +08:00
Stephen Zhou 2d0fa19e14 feat: read secure image setting from server 2025-11-20 17:09:15 +08:00
Stephen Zhou 387a342665 build: fix magic link client type 2025-11-18 19:17:23 +08:00
Innei 36193abdc0 chore: update package versions and add ManageMemoryCard component
- Updated versions for '@follow-app/client-sdk' to 0.3.89 and '@folo-services/ai-tools' to 0.2.61 in pnpm-lock.yaml and pnpm-workspace.yaml.
- Introduced ManageMemoryCard component for managing user memory in AI chat.
- Enhanced AIMessageParts to include ManageMemoryCard and updated related translations for memory actions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-18 16:15:50 +08:00
Innei 662be3a251 chore: remove lottie
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-18 16:03:40 +08:00
Stephen Zhou b29bf9f90c fix: button text and discount desc 2025-11-18 09:57:22 +08:00
DIYgod 18eb4559f0 chore: update package versions for client-sdk and ai-tools 2025-11-17 20:47:18 +08:00
DIYgod 73cc3d214b chore: remove "@byjohann/toon" from minimumReleaseAgeExclude in pnpm-workspace.yaml 2025-11-16 14:43:06 +08:00
DIYgod d10d5cf9de chore: update package versions in pnpm-workspace.yaml
- Bump @follow-app/client-sdk from 0.3.85 to 0.3.86
- Bump @folo-services/ai-tools from 0.2.57 to 0.2.58
2025-11-15 15:35:57 +08:00
DIYgod e48d40a7e7 chore: update package versions for client-sdk and ai-tools 2025-11-15 12:09:47 +08:00
DIYgod 94c3b91699 feat: replace hcaptcha with recaptcha-v3 2025-11-14 21:09:10 +08:00
DIYgod e59f98e85d feat: subscription limit warning 2025-11-12 11:45:12 +08:00
Stephen Zhou 03c0cc54b5 chore: downgrade linkedom 2025-11-08 15:17:47 +08:00
lawvs f60083c730 chore: update package versions for client-sdk and ai-tools 2025-11-07 00:08:54 +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
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
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
Innei c8c789f4fd refactor(updater): app update based own server
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-03 19:58:18 +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
Stephen ZhouandDIYgod 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
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
songkeys 28e1800dd3 fix: support toon parsing on onboarding 2025-10-29 16:08:16 +08:00
CyandevandInnei 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
Innei 00f7b0c2be feat(ai): add ai memory
- Updated '@follow-app/client-sdk' to version 0.3.73 in pnpm-lock.yaml and pnpm-workspace.yaml.
- Bumped '@folo-services/ai-tools' to version 0.2.47 in package.json.
- Introduced SaveMemoryCard component for displaying saved memories in AIMessageParts.
- Added UserMemorySection to manage and display user memories in settings.
- Enhanced localization for memory-related features in English, Japanese, and Chinese.

These changes improve the AI's memory functionality and ensure up-to-date dependencies.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-24 21:19:18 +08:00
Innei 8db25e6157 Merge remote-tracking branch 'origin/dev' into mobile-main
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-24 14:59:18 +08:00
DIYgod 1ff0197872 chore: downgrade react and react-dom to version 19.0.0 in pnpm-workspace.yaml 2025-10-24 14:35:44 +08:00
DIYgod 3b94ea46cd fix: types 2025-10-23 17:37:40 +08:00
DIYgod 13cb874cac fix: types 2025-10-23 11:41:17 +08:00
Innei 05981958a8 perf(trans): batch transition fetch
- Bump version of `@follow-app/client-sdk` to 0.3.69 in `pnpm-lock.yaml` and `pnpm-workspace.yaml`.
- Update `@folo-services/ai-tools` version to 0.2.44 in `apps/desktop/layer/renderer/package.json`.
- Modify Vite configuration to exclude `@follow-app/client-sdk` from optimization.
- Refactor translation hooks to use `enabled` instead of `setting` for clarity.
- Introduce a new utility function `readNdjsonStream` for handling NDJSON streams in the store module.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-23 01:30:12 +08:00