Skip to content

feat: add connect-wallet CTA to disconnected account overview state - #1143

Open
T-kesh wants to merge 1 commit into
Stellopay:mainfrom
T-kesh:feat/account-overview-connect-cta
Open

feat: add connect-wallet CTA to disconnected account overview state#1143
T-kesh wants to merge 1 commit into
Stellopay:mainfrom
T-kesh:feat/account-overview-connect-cta

Conversation

@T-kesh

@T-kesh T-kesh commented Aug 2, 2026

Copy link
Copy Markdown

Description
This PR addresses the issue where components/dashboard/account-overview.tsx previously rendered blank or placeholder figures when the wallet was disconnected. It introduces a clear, accessible call-to-action (CTA) prompting the user to connect their wallet when no active connection is detected.

Changes Made:
account-overview.tsx
: Replaced empty/placeholder balance data with a prominent "Connect Wallet" CTA card when the wallet context reports a disconnected state.
account-overview.test.tsx
: Added test coverage to ensure the CTA card renders correctly in the disconnected state and connects correctly when interacted with.
dashboard-redesign.md
: Documented the Disconnected State CTA, outlining accessibility annotations and responsive behavior guidelines.
Accessibility (WCAG 2.1 AA)
Contrast: Utilizes high-contrast colors (bg-zinc-900 / dark:bg-white and text-white / dark:text-zinc-900) for the CTA button to meet compliance.
Keyboard Navigation: The button leverages native functionality with a visible focus ring (focus-visible:ring-2) to ensure full keyboard operability.
ARIA: Decorative icons inside the CTA are properly marked with aria-hidden="true".
Testing
Validated responsive behavior across all breakpoints (sm, md, lg, xl).
Handled edge cases including disconnected rendering and interactions.
All unit tests passing.
closes #720

@vercel

vercel Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

@T-kesh is attempting to deploy a commit to the Jagadeesh B's projects Team on Vercel.

A member of the Team first needs to authorize it.

@T-kesh

T-kesh commented Aug 2, 2026

Copy link
Copy Markdown
Author

@Jagadeeshftw I apologize for their late response. Please kindly review

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 a connect-wallet call-to-action inside components/dashboard/account-overview.tsx when disconnected

1 participant