Skip to content

Frontend: Add user profile page (activity summary, campaigns, rewards history) #473

Description

@joelpeace48-cell

Summary

There is no profile page for a connected wallet. A profile page showing campaigns participated in, total points earned, total claimed, and recent activity creates a sense of identity on the platform and drives re-engagement.

Acceptance Criteria

  • Add /profile route and UserProfile.tsx page (redirects to connect wallet if disconnected)
  • Display:
    • Connected wallet address (truncated with full address on hover/copy)
    • Total campaigns participated: count with links
    • Total points earned / claimed / net balance (across all campaigns)
    • Recent activity list: last 10 events (from transaction history, issue Frontend: Add transaction history page for wallet activity #295)
    • Joined date (first registered transaction date)
  • Add public profile at /profile/:walletAddress (read-only view, without private stats)
  • Add a "Share Profile" button (copies public profile URL)
  • Add "Profile" link in the Header dropdown when wallet is connected
  • Loading skeleton while data fetches
  • Unit tests for stat aggregation and public vs private data visibility

References

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions