1.6 KiB
1.6 KiB
| id | title | status | assignee | created_date | updated_date | labels | dependencies | references | priority | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TASK-107 | My Wallets panel in identity dropdown | Done | 2026-03-11 21:33 | 2026-03-11 21:37 |
|
|
medium |
Description
Added a "My Wallets" option to the avatar dropdown menu that opens a modal showing the user's rIdentity wallet and any connected browser wallets (MetaMask, Rainbow, etc. via EIP-6963 discovery). Provides quick wallet access without navigating to the full rWallet module.
Acceptance Criteria
- #1 'My Wallets' item appears in avatar dropdown between 'My Spaces' and theme toggle
- #2 Modal shows rIdentity wallet card with username, truncated DID, and Passkey badge
- #3 EIP-6963 browser wallets detected and listed with icons and Connect buttons
- #4 Connect flow calls eth_requestAccounts and displays resulting address
- #5 'Open rWallet' button navigates to /{space}/rwallet
- #6 Modal closes on X button or click-outside
Final Summary
Implemented in commit e47cd35. Single-file change to shared/components/rstack-identity.ts (+215 lines):\n\n- Added _WalletDiscovery class for EIP-6963 browser wallet detection\n- Added dropdown item, click handler, #showWalletsModal() method\n- Added WALLETS_STYLES CSS matching existing dark theme\n- Connected wallets are ephemeral (no persistent linking)\n- No token balance fetching (that's rWallet's job)