Skip to content

test(giveback): Storybook coverage for redesigned surfaces#6257

Merged
idoshamun merged 1 commit into
mainfrom
feat/giveback-storybook
Jun 29, 2026
Merged

test(giveback): Storybook coverage for redesigned surfaces#6257
idoshamun merged 1 commit into
mainfrom
feat/giveback-storybook

Conversation

@idoshamun

@idoshamun idoshamun commented Jun 28, 2026

Copy link
Copy Markdown
Member

Ports the giveback.mocks.tsx harness + ~17 stories for the redesigned giveback surfaces (funnel, hero, causes panel, contribution summary, impact roadmap, etc.), deferred across PRs 1-5.

The mocks decorator seeds a real QueryClient via setQueryData on the live query keys (no jest), wrapped in real Auth/Log providers, so stories render the actual components against realistic data.

Reconciled vs the #6247 source: dropped the GivebackFaqPanel story (we render GivebackFaq directly), and the campaign-cluster stories were never ported (those components were deleted in PRs 2-3).

Verification

  • ✅ Storybook tsc: no errors in any giveback story or the mocks
  • ✅ Vercel storybook build (CI)

Preview domain

https://feat-giveback-storybook.preview.app.daily.dev

Ports the giveback.mocks.tsx harness (seeds a real QueryClient via
setQueryData on the live query keys, plus Auth/Log providers) and stories
for the new/redesigned surfaces: funnel, hero, causes panel, contribution
summary, impact roadmap, cause card, filter chip, funding summary, tab
nav, sponsor tiers, action catalog/submission, screenshot field, and FAQ.

Dropped the GivebackFaqPanel story (we render GivebackFaq directly, no
wrapper); the FAQ is covered by the Campaign pieces story.
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview Jun 28, 2026 2:49pm
storybook Building Building Preview Jun 28, 2026 2:49pm

Request Review

@idoshamun idoshamun merged commit 67d509d into main Jun 29, 2026
12 checks passed
@idoshamun idoshamun deleted the feat/giveback-storybook branch June 29, 2026 06:25
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.

1 participant