Promote React Arco client into apps

This commit is contained in:
2026-07-20 10:37:40 +08:00
parent aa2bf9b88f
commit bbd6c62029
21 changed files with 40 additions and 42 deletions

View File

@@ -26,26 +26,25 @@ Expected: `TestPostgresPing` passes.
## Web
The frontend is Svelte-only.
The primary frontend is the React + Arco Design client under `apps/senlinai-acro-react`.
Run:
```powershell
Set-Location apps/web
npx tsc --noEmit -p tsconfig.app.json
npm test -- --run
Set-Location apps/senlinai-acro-react
node scripts/visual-check.mjs
npm run build
npx playwright test
npm run lint
```
Expected: TypeScript check, component tests, production build, and Playwright smoke/E2E tests pass.
Expected: visual smoke checks, production build, and lint pass.
## Desktop
Run:
```powershell
Set-Location apps/web
Set-Location apps/senlinai-acro-react
npm run build
Set-Location ../desktop
npm run build
@@ -71,10 +70,9 @@ Current machine status:
Last audited: 2026-07-18.
- `backend`: `go test ./... -v` passed.
- `apps/web`: `npx tsc --noEmit -p tsconfig.app.json` passed.
- `apps/web`: `npm test -- --run` passed.
- `apps/web`: `npm run build` passed.
- `apps/web`: `npx playwright test` passed.
- `apps/senlinai-acro-react`: `node scripts/visual-check.mjs` passed.
- `apps/senlinai-acro-react`: `npm run build` passed.
- `apps/senlinai-acro-react`: `npm run lint` passed.
- `apps/desktop`: `npx tauri build --no-bundle --verbose` passed and produced the desktop executable.
- `apps/desktop`: installer packaging is still blocked by Tauri CLI bundling timeout on the current machine.
@@ -86,7 +84,7 @@ Audit fixes included:
- Inbox confirmation preserves provenance with `source_inbox_item_id` on generated tasks, notes, and sources.
- Task sharing now rejects note/source links from another project.
- AI user keys are encrypted before storage, decrypted on selection, and can be checked with a per-user action rate limit.
- Web API calls now use the backend `/api` prefix and the Svelte shell includes an inbox suggestion confirmation E2E path.
- Web API calls use the backend `/api` prefix, and the active client is now the React + Arco Design workbench.
## Manual MVP Flow