Skip to content

Feature Connect A Wallet Widget#116

Open
goodbounties-nanoclaw-agent[bot] wants to merge 3 commits into
mainfrom
plan/connect-a-wallet-widget
Open

Feature Connect A Wallet Widget#116
goodbounties-nanoclaw-agent[bot] wants to merge 3 commits into
mainfrom
plan/connect-a-wallet-widget

Conversation

@goodbounties-nanoclaw-agent

@goodbounties-nanoclaw-agent goodbounties-nanoclaw-agent Bot commented Jul 24, 2026

Copy link
Copy Markdown

Description

Adds the Connect-a-wallet widget: lets a user link a secondary address to their connected host wallet across Fuse, Celo, and XDC via @goodsdks/citizen-sdk's IdentitySDK (connectAccount/disconnectAccount/checkConnectedStatus). Follows the streaming-widget decomposition standard (thin ConnectAWalletWidget.tsx entry + components/ tree), uses packages/ui's Dialog for the blocking security-confirmation prompt before each link/unlink transaction, and Toast for transaction success/failure. Per-chain rows always show a Connect or Disconnect action (never hidden), with a loading indicator while a row's status is in flight.

About #113, #114

How Has This Been Tested?

  • pnpm turbo run build --filter=@goodwidget/connect-a-wallet-widget... and pnpm --filter @goodwidget/connect-a-wallet-widget lint both pass clean.
  • Storybook QA fixture stories (QA/ConnectAWalletWidget/Runtime Fixtures) cover: not-connected, connecting, connected-no-input, checking-address, ready-with-mixed-row-statuses, unsupported-network, top-level-error-with-retry.
  • Playwright tests/widgets/connect-a-wallet-widget/states.spec.ts — 7/7 passing, with screenshots committed under tests/widgets/connect-a-wallet-widget/test-results/.

Checklist:

  • PR title matches follow: (Feature|Bug|Chore) Task Name
  • My code follows the style guidelines of this project
  • I have followed all the instructions described in the initial task (check Definitions of Done)
  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have added reference to a related issue in the repository
  • I have added a detailed description of the changes proposed in the pull request. I am as descriptive as possible, assisting reviewers as much as possible.
  • I have added screenshots related to my pull request (for frontend tasks)
  • I have pasted a gif showing the feature.
  • @mentions of the person or team responsible for reviewing proposed changes

…ht specs

Implements the ConnectAWalletWidget for linking a secondary wallet address to
the connected host wallet's GoodID across Fuse, Celo, and XDC via
@goodsdks/citizen-sdk's IdentitySDK. Adds QA runtime-fixture stories, a manual
showcase story, MDX docs, and a Playwright states spec covering the
disconnected, connecting, address-entry, checking, mixed per-chain row
statuses, unsupported-network, and top-level error/retry states.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@goodbounties-nanoclaw-agent
goodbounties-nanoclaw-agent Bot requested review from a team and L03TJ3 July 24, 2026 12:52
BountyCoder added 2 commits July 24, 2026 13:27
…idget

Every widget in this repo renders its own GoodDollar/chain-badge header
inside its own view (see StreamingWidgetView) rather than relying on the
shared MiniAppShell for it — this widget was missing that, and the
"Primary verified identity" card showing which host address is linking
from, per the #113 design reference. Regenerated Playwright screenshots
to reflect both changes.
Adopt WidgetTabs for the header (adds the Connect identity tab and
friendly chain names instead of raw chain IDs), add the multi-wallet
notice and supported-networks footer, restyle the primary identity
label, color-code chain-row action buttons with avatar circles, and
tighten the address form layout to match the design's visual language.

Updates the widget's own Playwright screenshot fixtures to match.
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.

0 participants