Skip to content

feat: add win/loss filter chips to RecentActivity - #366

Open
onajidavid87-web wants to merge 6 commits into
TevaLabs:mainfrom
onajidavid87-web:Add-win/loss-filter-chips-to-RecentActivity
Open

feat: add win/loss filter chips to RecentActivity#366
onajidavid87-web wants to merge 6 commits into
TevaLabs:mainfrom
onajidavid87-web:Add-win/loss-filter-chips-to-RecentActivity

Conversation

@onajidavid87-web

Copy link
Copy Markdown
Contributor

Add client-side filter chips (All / Correct / Incorrect) to the RecentActivity component. The activeFilter state drives a filteredItems derivation over the result field of each item. Chip buttons follow the existing tab styling pattern from Leaderboard (rounded-full, cyan active state, glass-card inactive). The empty state is differentiated: the original "No predictions yet" message when items is empty, and a filter-aware "No correct/incorrect predictions yet" when the filter yields no matches from existing items.

Closes #323

Add client-side filter chips (All / Correct / Incorrect) to the RecentActivity component. The activeFilter state drives a filteredItems derivation over the result field of each item. Chip buttons follow the existing tab styling pattern from Leaderboard (rounded-full, cyan active state, glass-card inactive). The empty state is differentiated: the original "No predictions yet" message when items is empty, and a filter-aware "No correct/incorrect predictions yet" when the filter yields no matches from existing items.

Closes TevaLabs#323
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

@onajidavid87-web is attempting to deploy a commit to the josephchimebuka's projects Team on Vercel.

A member of the Team first needs to authorize it.

@josephchimebuka

Copy link
Copy Markdown
Contributor

@onajidavid87-web Pls can you fix Conflicts and send a message in the group saying you've fixed them so I can merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add win/loss filter chips to RecentActivity

2 participants