Integrate AI Credits widget into GoodWallet #55
Copy link
Copy link
Closed
1 / 11 of 1 issue completedDescription
Summary
Add @goodwidget/ai-credits-widget to GoodWallet so authenticated users can open AI Credits from the home dashboard / More drawer. Host it through the GoodWidget integration boundary merged in #54 (typed registry, authenticated bottom-sheet route, restricted EIP-1193 provider).
AI Credits should remain widget-owned for configuration, buy/credits UI, transaction state, success, and errors. GoodWallet only supplies the host surface: package install, registry entry, route/dashboard wiring, provider policy, and tests.
Context
- Widget runtime is ready: Add secure GoodWidget integration boundary #54
- Package:
@goodwidget/ai-credits-widgetinGoodDollar/GoodWidget(packages/ai-credits-widget) - Custom Element tag:
ai-credits-widget - Exports:
.,./element,./register - Related prep on the widget side: GoodWidget #132 / #133
- Parent foundation request: Feature Request: Prepare GoodWallet for GoodWidget Integration #52
Package status
The package is not published to npm yet. Integrate and verify against a local tarball:
# in GoodDollar/GoodWidget
pnpm --filter @goodwidget/ai-credits-widget packCreate the plan
Create an execution plan in a new sub-issue and leave this feature request unchanged. Do not implement it until instructed.
- Title:
[DRAFT][PLAN] Prepare GoodWallet for GoodWidget integration - Type:
Task - Start the description with the sub-issue title.
- Link the sub-issue to this feature request.
- Start from the exact reference paths and the limited PR Setup support and ci/cd handling updating and integrating verified production released widgets #51 diff above.
- Separate reusable Wallet foundation work from a later widget-specific dependency, registry, route, icon, and test change.
- Include only required behavior, execution steps, acceptance criteria, and a human-reviewer checklist.
- Do not plan changes in the GoodWidget repository.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
L03TJ3 commentedon Oct 23, 2026
Released to wallet and deployed, closing.
follow-ups are separately tracked