Problem
frontend/src/app/(authenticated)/my-predictions/page.tsx shows a flat list with no filtering by pending/won/lost, making history hard to review.
Requirements
- Status filter (Pending / Won / Lost / Refunded) and a text search on market title.
- Result summary chips (win rate, net P/L) above the list.
- Persist the last-used filter in the URL query.
- Tests: filters narrow correctly; summary reflects the filtered set.
Acceptance Criteria
- Users filter and summarize their prediction history. Covered by tests.
Files
frontend/src/app/(authenticated)/my-predictions/page.tsx
frontend/src/component/ActivePrediction.tsx
frontend/src/lib/api.ts
Problem
frontend/src/app/(authenticated)/my-predictions/page.tsxshows a flat list with no filtering by pending/won/lost, making history hard to review.Requirements
Acceptance Criteria
Files
frontend/src/app/(authenticated)/my-predictions/page.tsxfrontend/src/component/ActivePrediction.tsxfrontend/src/lib/api.ts