Feature Connect A Wallet Widget#116
Open
goodbounties-nanoclaw-agent[bot] wants to merge 3 commits into
Open
Conversation
…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>
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.
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.
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'sIdentitySDK(connectAccount/disconnectAccount/checkConnectedStatus). Follows thestreaming-widgetdecomposition standard (thinConnectAWalletWidget.tsxentry +components/tree), usespackages/ui'sDialogfor the blocking security-confirmation prompt before each link/unlink transaction, andToastfor 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...andpnpm --filter @goodwidget/connect-a-wallet-widget lintboth pass clean.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.tests/widgets/connect-a-wallet-widget/states.spec.ts— 7/7 passing, with screenshots committed undertests/widgets/connect-a-wallet-widget/test-results/.Checklist: