Skip to content

feat(auth): give the public pages the post page's signup banner - #6727

Open
tsahimatsliah wants to merge 6 commits into
mainfrom
claude/public-pages-post-banner
Open

tsahimatsliah wants to merge 6 commits into
mainfrom
claude/public-pages-post-banner

Conversation

@tsahimatsliah

@tsahimatsliah tsahimatsliah commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Summary

The pinned card lost its experiment against the post page's signup banner, so the public pages get that banner instead of the inline cover strip.

  • Anonymous laptop visitors on explore, tags directory, tag pages, squads directory, sources directory, source pages, leaderboard, best-of, worlds, watercooler and profiles now see the post page's full-width bottom banner (PostAuthBanner), including its personalized referrer, social and geo variants. The inline "Unlock the full daily.dev experience" strip is gone.
  • PublicPageSignupBanner already rendered it behind public_signup_banner on five of these pages. It now mounts on all of them unconditionally, the flag is removed, and it carries an 18rem clearance spacer (the same the post page adds) so the end of each page stays reachable above the bar.
  • On the explore hub the sponsor dock is disabled while the banner shows, since both pin to the bottom edge.
  • The banner loads lazily (as the post page loads it) so the auth form tree stays out of the feed layout's chunk, and it logs one impression per visit under the new public page signup banner target id so the surface stays measurable now that the strip's id is gone.
  • Below laptop nothing changes: the strip was already absent below tablet, and tablets lose it the same way the post page has no bottom banner there.
  • Removed: ExploreSignupStrip and its spec, the explore strip target id, the cover strip's sign up / log in button pair and placeholder. The extension's new tab still uses HijackingCoverStrip.

Test plan

  • Logged out on laptop, open each page above: the banner sits at the bottom of the window, full width, and the last row of content is reachable above it at the end of the page.
  • Logged in: no banner, no spacer.
  • Explore hub with the sponsor strip flag on: the dock does not render for anonymous visitors.
  • Extension new tab still shows the cover strip for logged-out users.

🤖 Generated with Claude Code

Preview domain

https://claude-public-pages-post-banner.preview.app.daily.dev

The pinned card lost its experiment against the post page's banner, so the
public pages (explore, tags, tag pages, squads, sources, source pages,
leaderboard, best-of, worlds, watercooler, profiles) drop the inline cover
strip and get that banner instead: the full-width bar pinned to the bottom
of the window for anonymous laptop visitors, with the same personalized
referrer, social and geo variants the post page renders.

PublicPageSignupBanner already mounted it behind public_signup_banner on five
of these pages; it now mounts everywhere unconditionally, the flag goes, and
it carries the same clearance the post page adds so the end of each page
stays reachable above the bar. On the explore hub it also takes the sponsor
dock's bottom slot, so the dock is disabled while the banner shows. The
strip, its target id and the cover strip's button pair are removed; the
extension's new tab still uses HijackingCoverStrip.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 25, 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 Sep 27, 2026 8:02pm UTC

Request Review

- PostAuthBanner loads lazily from PublicPageSignupBanner, as the post page
  does, so the auth form tree stays out of the feed layout's chunk for
  members and the extension.
- The banner logs one impression per visit under its own target id, so the
  surface stays measurable now that the strip's id is gone.
- Source-file imports instead of the hooks barrels.
- The feed layout's new lines move above the sponsor strip's comment, which
  describes the hook call under it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
Preview — 5e6dd50c Deployed Sep 27, 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