Add wallet detail view: row-click nav, load by id, live balance, masked reveal - #549
Open
ndii-dev wants to merge 2 commits into
Open
Add wallet detail view: row-click nav, load by id, live balance, masked reveal#549ndii-dev wants to merge 2 commits into
ndii-dev wants to merge 2 commits into
Conversation
* feat: add API key creation modal UI - Create APIKeyModal component with modal UI - One-time key warning visible with amber styling - Copy UX with clipboard feedback - Success state with green confirmation - No persistence required (UI only) - Fixed button styling for professional appearance * feat: add wallet detail page layout * feat: Implement the global layout used across all dashboard pages * feature: global empty and error state component * fix: linter * feat: added husky and shadcn setup * feat: added shadcn and button example * feat: added shadcn and button example * feat: implement wallet monitoring table (Issue mux-labs#5) - Added /dashboard/wallets page with wallet table - Created NetworkBadge, StatusIndicator, WalletTable component - Added useCopyToClipboard hook and formatting utilities - Added wallet types and mock data - Installed shadcn table and badge components - Fixed tw-animate-css import for Tailwind v4 * feat: implement wallet monitoring table (Issue mux-labs#5) - Added /dashboard/wallets page with wallet table - Created NetworkBadge, StatusIndicator, WalletTable component - Added useCopyToClipboard hook and formatting utilities - Added wallet types and mock data - Installed shadcn table and badge components - Fixed tw-animate-css import for Tailwind v4 * This PR implements the initial UI for the API key management system, providing developers with a premium interface to view and manage their generated keys using dummy data. * updates * Implement Spending Limits Settings UI * updates * Add transactions table UI * chore: suppress lint warning for pathname dependency in DashboardLayout * chore: refine lint suppression explanation in DashboardLayout * fix: conflict and restructure * feat: added recovery info page * fix: conflict * feat: fetch wallets from backend (mux-labs#85) - Add fetchWallets() API client with ApiError on failure - Add useWallets hook with loading/error/refetch states - Update wallets page to use real data with skeleton/error/empty states - Add WalletTableSkeleton component - Add Vitest test suite (8 tests: api client + hook) * style: apply biome formatting to existing files * fix: resolve lint errors blocking CI for wallets UI - Escape apostrophes in APIKeyModal.tsx (react/no-unescaped-entities) - Add eslint-disable for async fetch pattern in useWallets.ts - Add eslint-disable for route-change setState in DashboardLayout.tsx - Replace empty interface with type alias in Skeleton.tsx * fix: remove unused imports and clean up next.config - Remove unused NextConfig type import from next.config.ts - Remove unused Inter font import from dashboard layout - Remove unused ContentContainer import from dashboard page - Remove unused ApiKey type import from ApiKeysTable - Clean up invalid experimental.turbo config This fixes all ESLint warnings and ensures CI/CD passes. * fix: format APIKeyModal line length for biome compliance --------- Co-authored-by: Lulu <104063177+Luluameh@users.noreply.github.com> Co-authored-by: Chibuikem Michael Ilonze <chibuikemichaelilonze@gmail.com> Co-authored-by: tali-creator <talinanzing111@gmail.com> Co-authored-by: Emmanuel Anyigor <emanuelanyigor@gmail.com> Co-authored-by: Adeyemi Gbenga <addegbenga@gmail.com> Co-authored-by: me-ndaeyo <mndaeyo@gmail.com> Co-authored-by: martinvibes <martinmachiebe21@gmail> Co-authored-by: austineblaise <austineblaise@gmail.com> Co-authored-by: Ayoazeez26 <44169294+Ayoazeez26@users.noreply.github.com>
Contributor
|
soo much conflicts and you are the first pr @ndii-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #431
Closes #432
Closes #433
Closes #434
Summary: adds a wallet detail page reachable by clicking a wallets-table row, loading the wallet by id, polling a live balance when the wallet is active, and masking the balance by default with a reveal toggle.