Skip to content

Add RecentActivity filter counts and empty-filter messaging #467

Description

@josephchimebuka

Problem

RecentActivity exposes All/Correct/Incorrect filters but chips do not show counts, and choosing a filter with zero matches renders a blank list with no guidance.

Scope

  • Display counts beside each filter chip (computed from fetched items)
  • When a filter yields zero rows, show an inline empty state ("No incorrect predictions yet")
  • Preserve loading/error paths
  • Add unit tests for count badges and empty-filter copy

Acceptance criteria

  • Filter chips show dynamic counts
  • Zero-result filter shows helpful message, not empty whitespace
  • Keyboard focus order unchanged
  • Tests pass

Files

  • src/components/RecentActivity.tsx
  • src/components/RecentActivity.test.tsx

Difficulty

beginner

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or requestfrontendFrontend/Stellar wave trackinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions