Skip to content

feat: improve home page with user dashboard and wallet summary#451

Open
devSoniia wants to merge 1 commit into
PrincessnJoy:mainfrom
devSoniia:feat/issue-282-home-dashboard
Open

feat: improve home page with user dashboard and wallet summary#451
devSoniia wants to merge 1 commit into
PrincessnJoy:mainfrom
devSoniia:feat/issue-282-home-dashboard

Conversation

@devSoniia

Copy link
Copy Markdown
Contributor

Summary

Resolves #282

Adds a personal dashboard that appears on the home page after connecting a wallet, giving users immediate context about their participation.

Changes

  • UserDashboard component — shows wallet address, token balance, active proposal count, voted count, and count of active proposals not yet voted on
  • Vote history panel — lists the user's votes (icon + type) across all proposals, capped at 5 with overflow count
  • Notification nudge — amber banner when the user has unvoted active proposals
  • Quick actions — 'New Proposal' button and wallet disconnect
  • WalletProvider wired in main.tsx — wallet state is now shared via context; App.tsx uses useWallet() instead of duplicated local state

Acceptance criteria

  • Wallet balance summary shown after connection
  • Active proposals and voted items displayed
  • Quick access to proposal creation and disconnect

Testing

  • TypeScript type-check passes (tsc --noEmit)
  • Dashboard hidden when no wallet connected; appears on connect
  • Disconnect clears dashboard correctly

…y#282)

- Add UserDashboard component with wallet balance, active proposal count,
  voted count, and unvoted notification nudge
- Show per-proposal vote history (icon + type) for connected wallet
- Quick-access 'New Proposal' button and disconnect button
- Wire WalletProvider in main.tsx so wallet state is shared
- App.tsx now uses useWallet() hook instead of local state
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.

Improve home page with user dashboard and wallet summary

1 participant