Skip to content

Add transaction history pagination #92

@Miracle656

Description

@Miracle656

Background

The dashboard transaction history loads the most recent transfers and stops. For active wallets, users have no way to scroll back to older transactions. The Wraith /transfers endpoint supports limit and cursor pagination — it just needs to be wired up in the wallet UI.

What to build

Add a "Load more" button to the transaction history section on the dashboard.

Key files

  • frontend/wallet/app/dashboard/page.tsx — transaction list rendering

Suggested execution

git checkout -b feature/tx-history-pagination
  1. Track a cursor state variable on the dashboard
  2. Wraith returns a next_cursor field — store it after each fetch
  3. Render a "Load more" button below the transaction list if next_cursor exists
  4. On click: fetch the next page and append to the existing list
  5. Show a loading spinner during fetch; hide the button when no more pages

Example commit message:
feat(wallet): add Load More pagination to transaction history

Acceptance criteria

  • "Load more" appears only when more pages exist
  • Clicking it appends (not replaces) older transactions
  • Handles edge case: Wraith unavailable (button hidden, existing list intact)
  • Tested manually with a wallet that has more than 20 transactions

Drips Wave · Complexity: Trivial · 100 points
Comment below to request assignment. PR must include Closes #[this issue].

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions