Skip to content

[GoodBounty]: Finalize Governance Onboarding UI/Components #58

Description

@L03TJ3

Summary

Pick up the existing AI-generated PR for the Governance onboarding UI and make it ready for
human review.

Source items:

  • Parent issue: #55 [Feature]: Governance UI Onboarding components
  • Plan issue: #56 [PLAN] Governance UI onboarding components
  • PR to finalize: #57 Add governance onboarding UI flow and reusable wizard primitives

The PR already adds:

  • onboarding screens for welcome, house selection, profile, stake progress, and success
  • shared PageWizard and Stepper primitives in packages/ui
  • Storybook stories under examples/storybook/src/stories/governance-widget/
  • Playwright widget coverage under tests/widgets/governance-widget/

The contributor should focus on the remaining gaps in design, structure, and review readiness.

there are large gaps where it drifted from the original design references.
you are expected to test and go through the flow and verify design in both stitch and figma:
https://stitch.withgoogle.com/preview/1959701114157262308?node-id=2791404570cb4f338118ca3f7f87e9bb
https://www.figma.com/design/xsk5EiF6CvStA9mtdbA9OR/GoodWidget-Library?node-id=2373-2&t=DQGt4ziOfLbCRXay-1

Contributor task

Make sure to branch out from copilot/plan-governance-ui-onboarding-components >
and when you create a pull-request the target branch should also be verified to be: copilot/plan-governance-ui-onboarding-components

  • Claim the bounty with an ETA.
  • Check out PR #57 and run it locally from the PR branch.
  • Compare the implementation against issue #55, plan issue #56, PR #54 for governance
    styling direction, and any shared design references/Figma used during review.
  • Fix concrete gaps in UI consistency, layout, component structure, and review evidence.
  • Refresh screenshots/videos if UI changes.
  • Leave a handoff comment with what changed, what was tested, and remaining risks.

Known finish-work to verify or fix

  • Align the onboarding UI with the shared design references.
    Main gaps today are consistency issues in padding, color usage, font sizing, hierarchy,
    badge/button treatment, and overall polish.
  • Fix the wizard step header so all onboarding steps read clearly in the target layout.
    The current stepper/header treatment does not cleanly communicate the full 5-step flow.
  • Fill in issue-spec gaps on the onboarding screens.
  • Modularize the onboarding implementation.
    packages/governance-widget/src/GovernanceOnboardingWidget.tsx is currently a large
    all-in-one file and should be split into smaller component-based files with clean ownership.
  • Keep package boundaries clean.
    Only reusable primitives should stay in packages/ui; governance-specific composition should
    remain in packages/governance-widget.
  • Clean up branch hygiene issues that are part of this PR.
    Example: remove the duplicate @goodwidget/governance-widget dependency entry in
    examples/storybook/package.json if it is still present.
  • Re-verify Storybook and Playwright from a clean process and make sure committed screenshots
    reflect the final branch output.
  • Update the PR description so it references issues #55 and #56 and mirrors the final
    acceptance criteria with a checklist.

Scope checks

  • PR #57 still solves the issue #55 requirements for the governance onboarding UI.
  • The implementation follows plan issue #56 or clearly explains any deviation.
  • Existing repo patterns, theming rules, and package boundaries are respected.
  • Main onboarding states work for welcome, house selection, profile, stake progress, and
    success and are visually aligned with shared design references
  • Storybook covers the expected review states.
  • Playwright covers the main flow and the committed screenshots reflect the current branch.
  • Optimizied for mobile layouts.
  • The PR description links the source issues and includes current test evidence.

Required commands

pnpm install
pnpm run build
pnpm run lint
pnpm --filter @goodwidget/storybook build-storybook
pnpm test:demo tests/widgets/governance-widget

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions