You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build a 5-step governance onboarding UI flow for the existing governance widget and keep it UI-only for now: no transaction wiring, no smart-contract execution, and no production data integration yet.
Keep a horizontal page stepper visible across the full flow and clearly mark the active step on every page.
All onboarding screens and shared flow primitives must cleanly support both light and dark theme handling, following the existing governance/dashboard styling direction and shared design-token usage.
Include Storybook coverage and Playwright smoke coverage for the onboarding flow states, following the repository’s existing widget story/test conventions.
Extend the reusable design-system layer in packages/ui with the generic flow primitives required by multiple widgets:
add a reusable PageWizard shell/provider pattern for horizontal step flows
add the duplicated transaction Stepper pattern in packages/ui if the current exported stepper still does not match the onboarding reference exactly
keep only broadly reusable layout/progress primitives in packages/ui
Keep onboarding-specific screens and composition inside packages/governance-widget:
welcome/identity card
house selection card(s)
house-specific profile form screens
onboarding transaction-progress screen
success card/modal content
Define clear widget state contracts for the onboarding flow so stories and future integration can drive:
selected house
identity status
form draft values
displayed stake amount
transaction progress state
final CTA configuration
Add Storybook stories under examples/storybook/src/stories/governance-widget/ that cover the main onboarding screens and their important state variants.
Add Playwright smoke coverage under tests/widgets/governance-widget/ with screenshots for each major onboarding step/state.
Reuse existing @goodwidget/ui, @goodwidget/core, and other existing @GoodDollar workspace packages instead of introducing parallel abstractions.
Leave contract/network integration for a follow-up execution issue once the UI skeleton is approved.
human-reviewer checklist
Reusable vs widget-specific component ownership is correct.
The onboarding flow still matches the parent issue screenshots and sequence.
The mapped field shapes align with GoodProtocol#299.
The plan is still UI-only and does not expand into contract wiring.
Storybook and Playwright coverage expectations are explicit.
Light/dark theme handling is explicitly covered across the full flow.
The issue is ready to be reviewed before execution starts.
[PLAN] Governance UI onboarding components
Full scope, design references, and UX details live in the parent issue and should be treated as the source of truth for this planning issue.
Parent issue: #55
Required states, flows, and behaviors
Per-page breakdown
Page 1 — Welcome + identity verification
Page 2 — House selection
Page 3 — House-specific profile flow
nameandsocialLinksname,projectWebpage,missionStatement, anddistributionStrategyPage 4 — Stake transaction progress tracker
Page 5 — Success state
Execution plan
packages/governance-widget/src/*,examples/storybook/src/stories/governance-widget/GovernanceWidget.stories.tsx, andtests/widgets/governance-widget/states.spec.tspackages/ui/src/components/Stepper.tsx,examples/storybook/src/stories/design-system/Stepper.stories.tsx, and the related widget smoke-test patterns undertests/widgets/staking-migration-widget/contracts/governance/GoodDaoHouses.solpackages/uiwith the generic flow primitives required by multiple widgets:PageWizardshell/provider pattern for horizontal step flowsStepperpattern inpackages/uiif the current exported stepper still does not match the onboarding reference exactlypackages/uipackages/governance-widget:examples/storybook/src/stories/governance-widget/that cover the main onboarding screens and their important state variants.tests/widgets/governance-widget/with screenshots for each major onboarding step/state.@goodwidget/ui,@goodwidget/core, and other existing@GoodDollarworkspace packages instead of introducing parallel abstractions.human-reviewer checklist