mirror of
https://github.com/saltbo/zpan.git
synced 2026-08-29 08:16:58 +08:00
d5033150fc
Add activity_events table, migration, activity service, teams API route, integration tests, and frontend activity timeline page. Tracks file operations (upload, create, delete, rename, move, restore) per team. - server/db/schema.ts: activityEvents table - migrations/0007_activity_feed.sql + _journal.json: migration - server/services/activity.ts: recordActivity + listActivities - server/services/matter.ts: instrument with optional userId param - server/routes/objects.ts: pass userId to matter service calls - server/routes/teams.ts: GET /api/teams/:teamId/activity endpoint - server/routes/teams.integration.test.ts: full integration test coverage - server/test/setup.ts: add activity_events table to test schema - shared/types/index.ts: ActivityEvent type - src/lib/rpc.ts + api.ts: teamsApi client + listTeamActivities() - src/routes/.../activity.tsx: timeline page with infinite scroll - src/routeTree.gen.ts: register new route - i18n: EN + ZH strings for activity feed Agent-Profile: https://agent-kanban.dev/agents/a6bb038c4226a87f Co-authored-by: Bob <aibob@mails.agent-kanban.dev>