Skip to content

feat: add user profile drawer with wallet info, join date, groups cou…#193

Merged
SudiptaPaul-31 merged 1 commit into
Lumina-eX:mainfrom
cybermax4200:feature/profile-drawer
Jun 24, 2026
Merged

feat: add user profile drawer with wallet info, join date, groups cou…#193
SudiptaPaul-31 merged 1 commit into
Lumina-eX:mainfrom
cybermax4200:feature/profile-drawer

Conversation

@cybermax4200

Copy link
Copy Markdown
Contributor

Closes #182
Creates a profile drawer that displays anonymous user information without exposing personal identity. Uses vaul (already installed, previously unused) for responsive bottom-sheet/dialog behavior.
Changes
New: components/profile-drawer.tsx

  • Avatar circle with wallet initial
  • Shortened wallet address via existing shortenWalletAddress utility
  • "Copy full address" button with clipboard API + checkmark feedback
  • Join date — fetched from supabase.auth.getUser().user.created_at
  • Groups joined count — fetched from GET /api/rooms
  • Disconnect Wallet button — calls the full cleanup flow (wallet kit disconnect + /api/auth/logout + Supabase signout)
    Modified: components/wallet-connector.tsx
  • Wallet address pill now opens the profile drawer instead of showing inline address + disconnect button
  • Disconnect moved into the drawer
    Acceptance Criteria
  • Drawer opens from navbar wallet pill click
  • Responsive — bottom sheet on mobile, centered dialog on desktop (vaul handles this automatically)
  • Wallet address shortened automatically (4+4 chars via shortenWalletAddress)
  • Shows Stellar wallet address
  • Shows account join date from Supabase
  • Shows groups joined count
  • Disconnect wallet with full cleanup

@drips-wave

drips-wave Bot commented Jun 23, 2026

Copy link
Copy Markdown

@cybermax4200 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@SudiptaPaul-31 SudiptaPaul-31 merged commit 1893e41 into Lumina-eX:main Jun 24, 2026
1 check passed
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.

Build User Profile Drawer

2 participants