Skip to content

[Frontend] Build User Profile and Settings Page #145

@KuchiMercy

Description

@KuchiMercy

Summary

There is no user profile or settings page. Users need a central place to manage their wallet connection, view their activity, configure notification preferences, and manage API keys.

Current State

  • No /profile or /settings route exists
  • Wallet info is only visible in the navbar via WalletButton
  • No notification preferences UI
  • No API key management UI
  • User data (wallet address, role) is only accessible through the auth context

Acceptance Criteria

Profile Page (/profile)

  • Display connected wallet address with copy functionality
  • Show user role (USER, ADMIN)
  • Display account creation date
  • Show escrow statistics: total created, active, completed, disputed
  • Link to Stellar explorer for wallet address

Settings Page (/settings)

  • Notification preferences: toggle email/webhook notifications per event type
  • Wire to GET/PUT /notifications/preferences endpoints
  • API key management: create, list, revoke API keys
  • Wire to API key CRUD endpoints
  • Wallet management: disconnect wallet, switch wallet
  • Network display (testnet/mainnet indicator)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions