Skip to content

feat(KvWwwHeaderBasic): add major gifts experiment toggle - #898

Merged
mcstover merged 2 commits into
mainfrom
feat-cit-5148-give-major-gifts-header-exp
Sep 9, 2026
Merged

mcstover merged 2 commits into
mainfrom
feat-cit-5148-give-major-gifts-header-exp

Conversation

@mcstover

@mcstover mcstover commented Sep 9, 2026 •

Copy link
Copy Markdown
Collaborator

Adds show-major-gifts-exp to KvWwwHeaderBasic so Ui and Cps can turn on the Major gifts nav link and the "Give" button copy for users in the experiment.

Exp state: https://608b4cf87f686c00213841b1-xvhpgskkma.chromatic.com/?path=/story/page-frame-kvwwwheaderbasic--major-gifts-experiment

The link sits between Lend and the search bar on desktop, and between Give and Borrow in the mobile drawer. Hosts assign the experiment client-side after the header has already been server-rendered, so the link animates its width in rather than popping the search bar narrower.

The support button keeps /donate/supportus and its click-Support-Kiva event, so one event count still covers both arms. The larger mobile drawer text and its spacing are unconditional and ship to both arms.

Review MajorGiftsExperimentFlip in Storybook — it mounts in the control arm and flips after 1.5s to show the animation.

Mobile hamburger menu spacing and size updates:
https://608b4cf87f686c00213841b1-xvhpgskkma.chromatic.com/?path=/story/page-frame-kvwwwheaderbasic--mobile-drawer-open&globals=viewport.value:mobile2

https://kiva.atlassian.net/browse/CIT-5148

Adds show-major-gifts-exp, which renders the Major gifts link between Lend
and the search bar and relabels the support button "Give". Hosts assign the
experiment client-side after the header has already been server-rendered, so
the link animates its width in rather than popping the search bar narrower.

The support button keeps its href and click-Support-Kiva event so a single
event count covers both arms. Larger mobile drawer text and its spacing ship
to both arms.
@mcstover
mcstover requested review from a team September 9, 2026 01:00
@mcstover
mcstover force-pushed the feat-cit-5148-give-major-gifts-header-exp branch from 39a8a5d to 2c920ea Compare September 9, 2026 01:02
@mcstover
mcstover merged commit 2d79d4f into main Sep 9, 2026
5 checks passed
@mcstover
mcstover deleted the feat-cit-5148-give-major-gifts-header-exp branch September 9, 2026 14:50

@dyersituations dyersituations left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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.

3 participants