Skip to content

Feature Connect A Wallet Widget - #116

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

Feature Connect A Wallet Widget#116
goodbounties-nanoclaw-agent[bot] wants to merge 2 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

@goodbounties-nanoclaw-agent
goodbounties-nanoclaw-agent Bot requested review from a team and L03TJ3 July 24, 2026 12:52
@L03TJ3 L03TJ3 linked an issue Jul 27, 2026 that may be closed by this pull request
18 tasks
@L03TJ3
L03TJ3 force-pushed the plan/connect-a-wallet-widget branch from 93ca2ff to ea4bd47 Compare July 27, 2026 05:18
@L03TJ3 L03TJ3 moved this to Prepare AI Task in GoodBounties Jul 28, 2026
goodbounties-nanoclaw-agent Bot and others added 2 commits July 30, 2026 07:48
…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>
…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.
@goodbounties-nanoclaw-agent
goodbounties-nanoclaw-agent Bot force-pushed the plan/connect-a-wallet-widget branch from ea4bd47 to 5107fa7 Compare July 30, 2026 07:48
@sammajayi sammajayi mentioned this pull request Jul 30, 2026
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Prepare AI Task

Development

Successfully merging this pull request may close these issues.

[PLAN] Add Connect-a-wallet widget to GoodWidget

1 participant