https://t.me/+DOylgFv1jyJlNzM0
Description
The /activity route is stubbed out but needs a proper event timeline that shows all stream events for the connected wallet. Users need to audit what happened to their streams (creates, tops-ups, withdrawals, pauses, cancellations). This page should pull from the backend events API, support filtering by event type, and allow exporting the full history as CSV.
Acceptance Criteria
Files to Touch
src/app/activity/page.tsx — full implementation
src/components/activity/EventTimeline.tsx — timeline list component
src/components/activity/EventRow.tsx — single event row
src/components/activity/EventFilterBar.tsx — filter controls
src/hooks/useActivityEvents.ts — React Query infinite query hook
src/lib/api/events.ts — fetchEvents API helper
src/lib/exportCsv.ts — CSV export utility
https://t.me/+DOylgFv1jyJlNzM0
Description
The
/activityroute is stubbed out but needs a proper event timeline that shows all stream events for the connected wallet. Users need to audit what happened to their streams (creates, tops-ups, withdrawals, pauses, cancellations). This page should pull from the backend events API, support filtering by event type, and allow exporting the full history as CSV.Acceptance Criteria
GET /api/v1/eventswith paginationCREATED,WITHDRAWN,CANCELLED,PAUSED,COMPLETED)Files to Touch
src/app/activity/page.tsx— full implementationsrc/components/activity/EventTimeline.tsx— timeline list componentsrc/components/activity/EventRow.tsx— single event rowsrc/components/activity/EventFilterBar.tsx— filter controlssrc/hooks/useActivityEvents.ts— React Query infinite query hooksrc/lib/api/events.ts—fetchEventsAPI helpersrc/lib/exportCsv.ts— CSV export utility