Skip to content

chore(storybook): cookie banner and signup strip layout test - #6890

Open
tsahimatsliah wants to merge 6 commits into
mainfrom
claude/cookie-banner-layout-variations-60a678
Open

tsahimatsliah wants to merge 6 commits into
mainfrom
claude/cookie-banner-layout-variations-60a678

Conversation

@tsahimatsliah

@tsahimatsliah tsahimatsliah commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Why

On logged-out public pages the iubenda cookie card (fixed bottom-right, 340px) lands on the signup strip's auth column on every window under ~1,750px, hiding "Continue with GitHub", the email link and "Log in". That is every laptop.

What

Storybook only. A review of three strip layouts for an A/B test against production:

  • Patchy: Patchy sits on the strip's top edge.
  • Handoff dock: the cookie card docks as the strip's right column; once answered, the slot confirms and hands its width back.
  • Every source: a small row of publication logos and "1,300+ sources in one feed" above the headline.

All three share one layout: a left-aligned column centered in the space the cookie card leaves free, Google and GitHub side by side, email and log in on one row, and the same 284px height as production. Production copy is unchanged; the headline is a step smaller with a solid title.

The "before" is the real GeoPersonalizedBanner / AuthenticationBanner, and the "after" is built from the same real OnboardingHeadline and AuthOptions. The cookie card uses the production iubenda.css and show-more enhancer. Measured headless: production has 3 auth controls under the card at 1024 and 1366; every variant has 0.

packages/storybook/stories/cookie-strip/README.md is the plan for shipping the test behind a signup_strip_layout flag.

Review

Storybook → Cookie banner & Signup strip:

  • 0. Read me
  • 1. Compare: production and the three variants at one size.
  • 2. Before and after: one variant next to production at 1024 to 2560 wide, plus tablet and phone (no strip below 1,020px, unchanged).
  • 3. Implementation

🤖 Generated with Claude Code

Preview domain

https://claude-cookie-banner-layout-vari.preview.app.daily.dev

The iubenda cookie card is fixed to the bottom-right corner and lands on
the signup strip's auth column on every window under ~1,750px, hiding
"Continue with GitHub", the email link and "Log in".

Adds a Storybook review of three strip layouts for an A/B test, each
built from the real production components (OnboardingHeadline children,
AuthOptions with inlineProviders) and compared against the real
GeoPersonalizedBanner / AuthenticationBanner at eight laptop and desktop
sizes plus tablet and phone. Copy and the laptop-only gate are
unchanged; the strip keeps production's 284px height. README.md holds
the plan for shipping it behind a flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
daily-webapp Ready Ready Preview Oct 13, 2026 8:56pm UTC

Request Review

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tsahimatsliah and others added 2 commits October 13, 2026 20:29
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ations-60a678' into claude/cookie-banner-layout-variations-60a678
…ight

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
Preview — f451f96e Deployed Oct 13, 2026 by vercel[bot]
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