Skip to content

Governance widget: onboarding skip banner, showcase/QA split, mocked live flow - #173

Draft
goodbounties-nanoclaw-agent[bot] wants to merge 10 commits into
copilot/plan-wire-governancewidget-to-gooddaohousesfrom
feat/governance-followup-172
Draft

Governance widget: onboarding skip banner, showcase/QA split, mocked live flow#173
goodbounties-nanoclaw-agent[bot] wants to merge 10 commits into
copilot/plan-wire-governancewidget-to-gooddaohousesfrom
feat/governance-followup-172

Conversation

@goodbounties-nanoclaw-agent

Copy link
Copy Markdown
Contributor

Follow-up on #77, targeting its feature branch (not main) per request.

Changes

  • Session-only onboarding skip with a persistent "Sign up and stake to participate in GoodDAO" banner. Resets on reload or wallet reconnect (address change) since it is a view-only choice, not membership state.
  • Split GovernanceWidgetShowcase (real wallet, real GoodDaoHouses contract, no mocks) from GovernanceWidgetQA (deterministic fixtures for screenshots/automation).
  • Added a self-contained "live mocked-data flow" QA story (createInteractiveGovernanceEnvironment) so a human can drive the real useGovernanceAdapter runtime end-to-end in Storybook without a live contract or Playwright.
  • Added GovernanceWidgetThemeOverrides.stories.tsx and a GovernanceWidget.mdx docs page tying showcase, theme overrides, and QA stories together.
  • Extracted shared story helpers into stories/helpers/governanceWidgetStories, matching the staking-migration-widget convention.
  • Restored RealAdapterMockedRuntime (dropped when GovernanceRuntime.stories.tsx was replaced) which 15 existing Playwright tests depend on, and added a new Playwright test for the mocked-data-flow story.

Verification

  • pnpm --filter @goodwidget/governance-widget build and lint pass.
  • Full Playwright suite for the governance widget: 36/36 passing (includes the new live-mocked-data-flow test).
  • GOODDAO_HOUSES_ABI in contracts.ts verified directly against the deployed dev-celo contract (0x4Bc3Cdc036f21b68E034C0f1d90775fc3D725735) via live viem reads — all 9 read functions decode correctly; confirms the existing code comment that FlowSplitter is not yet wired (zero-address result).

Co-Authored-By: Claude noreply@anthropic.com

goodbounties-nanoclaw-agent Bot and others added 10 commits August 17, 2026 14:49
…ase/QA split, mocked live flow

- Add a session-only onboarding skip with a persistent "Sign up and stake"
  banner; resets on reload or wallet reconnect since it's a view-only choice,
  not membership state.
- Split GovernanceWidgetShowcase (real wallet, real dev-celo contract, no
  mocks) from GovernanceWidgetQA (deterministic fixtures for screenshots/
  automation), and add a self-contained "live mocked-data flow" QA story so
  a human can drive the real runtime end-to-end in Storybook without a live
  contract or Playwright.
- Add GovernanceWidgetThemeOverrides story and a GovernanceWidget.mdx docs
  page tying the showcase, theme overrides, and QA stories together.
- Extract shared story helpers into stories/helpers/governanceWidgetStories,
  matching the staking-migration-widget convention.
- Restore the RealAdapterMockedRuntime QA story (dropped when
  GovernanceRuntime.stories.tsx was replaced), which 15 existing Playwright
  tests depend on, and add coverage for the new mocked-data-flow story.

Co-Authored-By: Claude <noreply@anthropic.com>

On-Behalf-Of: gdpatchagent[onecli] (yaskkeryodtdijpv)
…ase/QA split, mocked live flow

- Add a session-only onboarding skip with a persistent "Sign up and stake"
  banner; resets on reload or wallet reconnect since it's a view-only choice,
  not membership state.
- Split GovernanceWidgetShowcase (real wallet, real dev-celo contract, no
  mocks) from GovernanceWidgetQA (deterministic fixtures for screenshots/
  automation), and add a self-contained "live mocked-data flow" QA story so
  a human can drive the real runtime end-to-end in Storybook without a live
  contract or Playwright.
- Add GovernanceWidgetThemeOverrides story and a GovernanceWidget.mdx docs
  page tying the showcase, theme overrides, and QA stories together.
- Extract shared story helpers into stories/helpers/governanceWidgetStories,
  matching the staking-migration-widget convention.
- Restore the RealAdapterMockedRuntime QA story (dropped when
  GovernanceRuntime.stories.tsx was replaced), which 15 existing Playwright
  tests depend on, and add coverage for the new mocked-data-flow story.

Co-Authored-By: Claude <noreply@anthropic.com>

On-Behalf-Of: gdpatchagent[onecli] (yaskkeryodtdijpv)
…ase/QA split, mocked live flow

- Add a session-only onboarding skip with a persistent "Sign up and stake"
  banner; resets on reload or wallet reconnect since it's a view-only choice,
  not membership state.
- Split GovernanceWidgetShowcase (real wallet, real dev-celo contract, no
  mocks) from GovernanceWidgetQA (deterministic fixtures for screenshots/
  automation), and add a self-contained "live mocked-data flow" QA story so
  a human can drive the real runtime end-to-end in Storybook without a live
  contract or Playwright.
- Add GovernanceWidgetThemeOverrides story and a GovernanceWidget.mdx docs
  page tying the showcase, theme overrides, and QA stories together.
- Extract shared story helpers into stories/helpers/governanceWidgetStories,
  matching the staking-migration-widget convention.
- Restore the RealAdapterMockedRuntime QA story (dropped when
  GovernanceRuntime.stories.tsx was replaced), which 15 existing Playwright
  tests depend on, and add coverage for the new mocked-data-flow story.

Co-Authored-By: Claude <noreply@anthropic.com>

On-Behalf-Of: gdpatchagent[onecli] (yaskkeryodtdijpv)
…ocked live flow

- Add a session-only onboarding skip with a persistent "Sign up and stake"
  banner; resets on reload or wallet reconnect since it's a view-only choice,
  not membership state.
- Split GovernanceWidgetShowcase (real wallet, real dev-celo contract, no
  mocks) from GovernanceWidgetQA (deterministic fixtures for screenshots/
  automation), and add a self-contained "live mocked-data flow" QA story so
  a human can drive the real runtime end-to-end in Storybook without a live
  contract or Playwright.
- Add GovernanceWidgetThemeOverrides story and a GovernanceWidget.mdx docs
  page tying the showcase, theme overrides, and QA stories together.
- Extract shared story helpers into stories/helpers/governanceWidgetStories,
  matching the staking-migration-widget convention.
- Restore the RealAdapterMockedRuntime QA story (dropped when
  GovernanceRuntime.stories.tsx was replaced), which 15 existing Playwright
  tests depend on, and add coverage for the new mocked-data-flow story.

Co-Authored-By: Claude <noreply@anthropic.com>
…ase/QA split, mocked live flow

- Add a session-only onboarding skip with a persistent "Sign up and stake"
  banner; resets on reload or wallet reconnect since it's a view-only choice,
  not membership state.
- Split GovernanceWidgetShowcase (real wallet, real dev-celo contract, no
  mocks) from GovernanceWidgetQA (deterministic fixtures for screenshots/
  automation), and add a self-contained "live mocked-data flow" QA story so
  a human can drive the real runtime end-to-end in Storybook without a live
  contract or Playwright.
- Add GovernanceWidgetThemeOverrides story and a GovernanceWidget.mdx docs
  page tying the showcase, theme overrides, and QA stories together.
- Extract shared story helpers into stories/helpers/governanceWidgetStories,
  matching the staking-migration-widget convention.
- Restore the RealAdapterMockedRuntime QA story (dropped when
  GovernanceRuntime.stories.tsx was replaced), which 15 existing Playwright
  tests depend on, and add coverage for the new mocked-data-flow story.

Co-Authored-By: Claude <noreply@anthropic.com>

On-Behalf-Of: gdpatchagent[onecli] (yaskkeryodtdijpv)
…ase/QA split, mocked live flow

- Add a session-only onboarding skip with a persistent "Sign up and stake"
  banner; resets on reload or wallet reconnect since it's a view-only choice,
  not membership state.
- Split GovernanceWidgetShowcase (real wallet, real dev-celo contract, no
  mocks) from GovernanceWidgetQA (deterministic fixtures for screenshots/
  automation), and add a self-contained "live mocked-data flow" QA story so
  a human can drive the real runtime end-to-end in Storybook without a live
  contract or Playwright.
- Add GovernanceWidgetThemeOverrides story and a GovernanceWidget.mdx docs
  page tying the showcase, theme overrides, and QA stories together.
- Extract shared story helpers into stories/helpers/governanceWidgetStories,
  matching the staking-migration-widget convention.
- Restore the RealAdapterMockedRuntime QA story (dropped when
  GovernanceRuntime.stories.tsx was replaced), which 15 existing Playwright
  tests depend on, and add coverage for the new mocked-data-flow story.

Co-Authored-By: Claude <noreply@anthropic.com>

On-Behalf-Of: gdpatchagent[onecli] (yaskkeryodtdijpv)
…ase/QA split, mocked live flow

- Add a session-only onboarding skip with a persistent "Sign up and stake"
  banner; resets on reload or wallet reconnect since it's a view-only choice,
  not membership state.
- Split GovernanceWidgetShowcase (real wallet, real dev-celo contract, no
  mocks) from GovernanceWidgetQA (deterministic fixtures for screenshots/
  automation), and add a self-contained "live mocked-data flow" QA story so
  a human can drive the real runtime end-to-end in Storybook without a live
  contract or Playwright.
- Add GovernanceWidgetThemeOverrides story and a GovernanceWidget.mdx docs
  page tying the showcase, theme overrides, and QA stories together.
- Extract shared story helpers into stories/helpers/governanceWidgetStories,
  matching the staking-migration-widget convention.
- Restore the RealAdapterMockedRuntime QA story (dropped when
  GovernanceRuntime.stories.tsx was replaced), which 15 existing Playwright
  tests depend on, and add coverage for the new mocked-data-flow story.

Co-Authored-By: Claude <noreply@anthropic.com>

On-Behalf-Of: gdpatchagent[onecli] (yaskkeryodtdijpv)
…ase/QA split, mocked live flow

- Add a session-only onboarding skip with a persistent "Sign up and stake"
  banner; resets on reload or wallet reconnect since it's a view-only choice,
  not membership state.
- Split GovernanceWidgetShowcase (real wallet, real dev-celo contract, no
  mocks) from GovernanceWidgetQA (deterministic fixtures for screenshots/
  automation), and add a self-contained "live mocked-data flow" QA story so
  a human can drive the real runtime end-to-end in Storybook without a live
  contract or Playwright.
- Add GovernanceWidgetThemeOverrides story and a GovernanceWidget.mdx docs
  page tying the showcase, theme overrides, and QA stories together.
- Extract shared story helpers into stories/helpers/governanceWidgetStories,
  matching the staking-migration-widget convention.
- Restore the RealAdapterMockedRuntime QA story (dropped when
  GovernanceRuntime.stories.tsx was replaced), which 15 existing Playwright
  tests depend on, and add coverage for the new mocked-data-flow story.

Co-Authored-By: Claude <noreply@anthropic.com>

On-Behalf-Of: gdpatchagent[onecli] (yaskkeryodtdijpv)
…ase/QA split, mocked live flow

- Add a session-only onboarding skip with a persistent "Sign up and stake"
  banner; resets on reload or wallet reconnect since it's a view-only choice,
  not membership state.
- Split GovernanceWidgetShowcase (real wallet, real dev-celo contract, no
  mocks) from GovernanceWidgetQA (deterministic fixtures for screenshots/
  automation), and add a self-contained "live mocked-data flow" QA story so
  a human can drive the real runtime end-to-end in Storybook without a live
  contract or Playwright.
- Add GovernanceWidgetThemeOverrides story and a GovernanceWidget.mdx docs
  page tying the showcase, theme overrides, and QA stories together.
- Extract shared story helpers into stories/helpers/governanceWidgetStories,
  matching the staking-migration-widget convention.
- Restore the RealAdapterMockedRuntime QA story (dropped when
  GovernanceRuntime.stories.tsx was replaced), which 15 existing Playwright
  tests depend on, and add coverage for the new mocked-data-flow story.

Co-Authored-By: Claude <noreply@anthropic.com>

On-Behalf-Of: gdpatchagent[onecli] (yaskkeryodtdijpv)
…ase/QA split, mocked live flow

- Add a session-only onboarding skip with a persistent "Sign up and stake"
  banner; resets on reload or wallet reconnect since it's a view-only choice,
  not membership state.
- Split GovernanceWidgetShowcase (real wallet, real dev-celo contract, no
  mocks) from GovernanceWidgetQA (deterministic fixtures for screenshots/
  automation), and add a self-contained "live mocked-data flow" QA story so
  a human can drive the real runtime end-to-end in Storybook without a live
  contract or Playwright.
- Add GovernanceWidgetThemeOverrides story and a GovernanceWidget.mdx docs
  page tying the showcase, theme overrides, and QA stories together.
- Extract shared story helpers into stories/helpers/governanceWidgetStories,
  matching the staking-migration-widget convention.
- Restore the RealAdapterMockedRuntime QA story (dropped when
  GovernanceRuntime.stories.tsx was replaced), which 15 existing Playwright
  tests depend on, and add coverage for the new mocked-data-flow story.

Co-Authored-By: Claude <noreply@anthropic.com>

On-Behalf-Of: gdpatchagent[onecli] (yaskkeryodtdijpv)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants