Skip to content

fix(giveback): tab-nav alignment + deferred polish + analytics gap#6261

Merged
idoshamun merged 2 commits into
mainfrom
feat/giveback-followup-polish
Jun 29, 2026
Merged

fix(giveback): tab-nav alignment + deferred polish + analytics gap#6261
idoshamun merged 2 commits into
mainfrom
feat/giveback-followup-polish

Conversation

@idoshamun

@idoshamun idoshamun commented Jun 29, 2026

Copy link
Copy Markdown
Member

The remaining gaps after reconciling our main against the #6247 design source.

  1. Tab-nav alignment (bug) — the page column was finalized to px-4 tablet:px-8 laptop:px-12 but the tab-nav container stayed px-4, so the tabs didn't line up with the content (hero/panels/footer) on tablet+. Now matched. Also relabels "Impact" → "Your impact".
  2. Save toastsave() passes { timer: 3000 } so the "Your causes are saved" toast auto-dismisses for users on auto-dismiss (the default). Note: the feat(giveback): full design pass — warm-up funnel, reward-ladder impact, causes tab #6247 source also force-cleared the toast via the query cache; dropped that — autoDismissNotifications defaults to true so the timer already handles the common case, and the force-clear only overrode the choice of users who opted out.
  3. SEO description/giveback meta description updated to the new messaging.
  4. Analytics gapGivebackCauseCard now logs ClickGivebackCause on "Learn more", covering the funnel + "more causes" grid (the causes-tab row already logged it).

Verification

  • ✅ Strict typecheck + ESLint clean
  • ✅ Shared + webapp tsc: no new errors
  • ✅ Giveback tests: 10 suites / 50 pass

… gap

The remaining items after reconciling against the design source:
- Tab nav gutter now matches the page column (px-4 tablet:px-8
  laptop:px-12) so the tabs line up with the content on tablet+; relabel
  'Impact' -> 'Your impact'.
- useGivebackCauseSelection.save() force-clears the 'Your causes are
  saved' toast after 3s, since the global toast only auto-dismisses when
  the user's setting is on (deferred earlier, now imported).
- Updated the /giveback SEO description to the new messaging.
- GivebackCauseCard now logs ClickGivebackCause on 'Learn more', closing
  the gap where the funnel + 'more causes' grid weren't tracked (the
  causes-tab row already logged).
@vercel

vercel Bot commented Jun 29, 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 29, 2026 10:34am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored Jun 29, 2026 10:34am

Request Review

autoDismissNotifications defaults to true, so the {timer: 3000} option
already auto-dismisses the save toast for the default majority. The manual
queryClient force-clear only did anything for users who explicitly turned
auto-dismiss off, where it overrode their choice. Removed it (and the ref,
cleanup effect, and queryClient/TOAST_NOTIF_KEY usage); the toast now
respects the user setting like every other toast.
@idoshamun idoshamun merged commit fc4b2fd into main Jun 29, 2026
12 checks passed
@idoshamun idoshamun deleted the feat/giveback-followup-polish branch June 29, 2026 10:36
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