feat(KvWwwHeaderBasic): add major gifts experiment toggle - #898
Merged
Merged
Conversation
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
force-pushed
the
feat-cit-5148-give-major-gifts-header-exp
branch
from
September 9, 2026 01:02
39a8a5d to
2c920ea
Compare
eddieferrer
approved these changes
Sep 9, 2026
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.
Adds
show-major-gifts-exptoKvWwwHeaderBasicso 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/supportusand itsclick-Support-Kivaevent, so one event count still covers both arms. The larger mobile drawer text and its spacing are unconditional and ship to both arms.Review
MajorGiftsExperimentFlipin 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