feat(giveback): full design pass — warm-up funnel, reward-ladder impact, causes tab#6247
Open
tsahimatsliah wants to merge 1 commit into
Open
feat(giveback): full design pass — warm-up funnel, reward-ladder impact, causes tab#6247tsahimatsliah wants to merge 1 commit into
tsahimatsliah wants to merge 1 commit into
Conversation
…ct, causes tab Redesigns the giveback page end to end: - Warm-up funnel: full-screen 4-step intro (why -> how -> pick causes -> impact), shown once and replayable via "How it works". Single mounted explainer video docks to the corner across steps. - Hero: reworked brand row, sharper messaging, live funding summary, mascot. - Impact tab: reward-ladder journey rail with a consistent green completed trail, the active goal as one coherent row, and a claim celebration that respects prefers-reduced-motion. - Causes tab: manage-your-causes view with auto-save (no Save step). - Contribution summary: flat layout, money-unlocked as the hero number. - Sponsors: self-describing cards behind featureGivebackSponsors (off by default). - Cleanup: removed dead code (GivebackFundingBar, GivebackCampaignPanel, GivebackCommunityGoalProgress, GivebackEditCausesModal, GivebackSelectedCauses, GivebackBudgetStory, ConfettiSvg) and their stories/specs. Added Storybook coverage for the new surfaces and updated affected RTL tests. Engineering hardening over the design mock-up: - useGivebackCauseSelection.toggleAndSave now reads the freshest selection via a ref (no stale closure on back-to-back toggles) and rolls back the optimistic change if the save fails. - Roadmap claim celebration auto-clears after it plays, so it can replay on a retry and never leaves the reward-pop class stuck on. - GivebackCauseCard uses the shared anchorDefaultRel constant. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Jun 28, 2026
tsahimatsliah
added a commit
that referenced
this pull request
Jul 1, 2026
The `overflow-x-clip` on the GivebackPage root (added to guard the
funnel's Android sizing) also clipped GivebackBackground's
`laptop:-inset-1` corner bleed, leaving a dark crescent inside the app
card's rounded corner. The funnel now locks the document at the `html`
level while open, so it no longer needs this page-level guard; stray
horizontal bleed is still caught by the global `body { overflow-x:
hidden }` and the card's own `laptop:overflow-clip`. Matches the
structure in the design pass (#6247).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Full design pass over the giveback page, end to end. This is the engineering-ready port of the design mock-up in #6210 (rebased clean onto
main, reviewed, hardened, and verified green).Warm-up funnel (new)
Hero
Impact tab
prefers-reduced-motion.Causes tab (new)
Contribution summary
Sponsors
featureGivebackSponsors(defaulted off).Cleanup
GivebackFundingBar,GivebackCampaignPanel,GivebackCommunityGoalProgress,GivebackEditCausesModal,GivebackSelectedCauses,GivebackBudgetStory,ConfettiSvg) and their stories/specs. Added Storybook coverage for the new surfaces and updated affected RTL tests.Engineering hardening over the mock-up
useGivebackCauseSelection.toggleAndSavenow reads the freshest selection via a ref (no stale closure on back-to-back toggles) and rolls back the optimistic change if the save fails.reward-popclass stuck on.GivebackCauseCarduses the sharedanchorDefaultRelconstant instead of a duplicated literal.Verification
tsconshared(no giveback errors)Events
Yes — funnel lifecycle events (start / view step / complete) and How-it-works in
lib/log.ts.Experiment
No. Added
featureGivebackSponsors, defaulted off, gating the sponsor wall.🤖 Generated with Claude Code
Preview domain
https://claude-zen-moore-6f5323.preview.app.daily.dev