Skip to content

. Add reward-history.tsx improvements #261

Description

@DeFiVC

What: Improve the RewardHistory component with filtering, date range, and export functionality.

Why: The current RewardHistory shows a flat list. Users need to filter by date, course, or status, and export their reward history for tax purposes.

Scope: Add date range filter, course filter, status filter (claimed/pending/failed). Add export to CSV button. Add summary stats (total earned, total claimed, pending).

Acceptance criteria:

  • Filters narrow the list
  • Export downloads CSV file
  • Summary shows totals
  • Filters are combinable

Technical context: src/components/rewards/reward-history.tsx — existing RewardHistory. src/lib/hooks/use-rewards.ts — rewards hook.


Activity

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

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions