Skip to content

Dashboard: list requests for the connected account #10

Description

@iexwr

Context

src/pages/Dashboard.tsx is a placeholder; users need to see their own requests and totals.

Acceptance criteria

  • When wallet connected, fetch /accounts/:address/requests and /accounts/:address/received.
  • Render a table: id, asset, amount, memo, status (badge), link to /request/:id.
  • Show total received prominently.
  • Handle empty / not-connected states with a clear CTA.

Technical notes

  • Use TanStack Query (useQuery) for caching/refetch.

Testing

  • Component test with mocked API returning a few requests.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveStellar Wave for StackPayenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions