Skip to content

feat: add member dashboard page#116

Open
nifanpinc wants to merge 2 commits intosorosave-protocol:mainfrom
nifanpinc:bounty/member-dashboard
Open

feat: add member dashboard page#116
nifanpinc wants to merge 2 commits intosorosave-protocol:mainfrom
nifanpinc:bounty/member-dashboard

Conversation

@nifanpinc
Copy link

Summary

Implements the member dashboard page as described in #9.

Features

  • My Groups overview: Shows all savings groups the connected user belongs to
  • Highlight groups needing contribution: Amber-colored cards for groups requiring action
  • Upcoming payout info: Displays next payout recipient and round for each active group
  • Summary statistics: Total contributed, total received, groups count, and pending actions
  • Progress bars: Visual round progress for active groups
  • Wallet connection prompt: Clean UI for unauthenticated users
  • Navbar update: Added "Dashboard" link to the navigation bar

Acceptance Criteria

  • Show all groups the user belongs to
  • Highlight groups needing contribution
  • Show upcoming payout info
  • Display total contributed and received

Files Changed

  • src/app/dashboard/page.tsx (new) — Dashboard page component
  • src/components/Navbar.tsx — Added Dashboard navigation link

Notes

  • Uses placeholder data (same pattern as /groups page) with TODO comments for contract integration
  • Fully responsive design consistent with existing UI patterns
  • Uses existing @sorosave/sdk types and utilities

Closes #9

- Show all groups the connected user belongs to
- Highlight groups needing contribution with amber cards
- Display upcoming payout info per group
- Show summary stats: total contributed, total received, action needed
- Progress bars for active group rounds
- Wallet connection prompt for unauthenticated users
- Add Dashboard link to Navbar

Closes sorosave-protocol#9
@nifanpinc
Copy link
Author

Code Review Summary

Status: Approved

Good dashboard implementation. Minor note: totalReceived calculation is simplified (assumes 1 payout per group). Consider updating when contract integration is complete.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add member dashboard page

1 participant