Skip to content

feat(home): make upstream proof-band logos clickable (expand PRs in place)#16

Merged
spokodev merged 1 commit into
mainfrom
feat/upstream-band-clickable
Jul 9, 2026
Merged

feat(home): make upstream proof-band logos clickable (expand PRs in place)#16
spokodev merged 1 commit into
mainfrom
feat/upstream-band-clickable

Conversation

@spokodev

@spokodev spokodev commented Jul 9, 2026

Copy link
Copy Markdown
Owner

What

The 12 brand logos in the home /upstream proof band looked clickable but weren't. Each is now a button; clicking it expands that repo's merged-PR card in place — right on the home page, no navigation and no scroll, so the visitor stays exactly where they were. Click again to collapse; clicking another swaps. Mirrors the /upstream tile's expand.

Per the user's steer: no scroll-to-/upstream (jarring) — the card unfolds where you are.

How

  • New components/upstream/pr-list.tsx — the merged-PR <ul> lifted out of brand-tile.tsx so the /upstream tiles and the home panel share one source of truth for PR-row styling.
  • New components/home/upstream-proof-marquee.tsx (client) — logos become <button>s (aria-expanded/aria-controls, hover + focus-visible ring + active accent highlight); a single panel below the grid expands the open repo's PRs using the same grid-rows accordion + requestLenisResize as BrandTile. displayedSlug lags openSlug so content stays mounted through the collapse.
  • upstream-proof-band.tsx (server) computes prsForRepo + the prsCount label per brand and feeds the client marquee. Counts, marquee slugs, eyebrow/heading/sub/CTA unchanged.

Verification

pnpm typecheck + pnpm lint + pnpm build clean (168 pages). Server HTML confirms 12 <button aria-expanded="false" aria-controls="upstream-proof-panel"> logos + the panel region + all 12 labels; no hydration errors. /upstream tiles unaffected (the PR-list change is a pure extraction, reusing the exact markup). Interaction reuses the accordion pattern already proven in production on /upstream.

Note: a local browser screenshot wasn't possible this run (the Playwright shell in the env is mid-update); will eyeball on prod after deploy.

🤖 Generated with Claude Code

…lace)

The 12 brand logos on the home page looked clickable but weren't. Each is
now a button that expands that repo's merged-PR card in place — right on
the home page, no navigation and no scroll, so the visitor stays exactly
where they were. Mirrors the /upstream tile's expand.

- New components/upstream/pr-list.tsx: the merged-PR <ul> lifted out of
  brand-tile.tsx so the /upstream tiles and the home panel share one
  source of truth for PR-row styling.
- New components/home/upstream-proof-marquee.tsx (client): logos become
  buttons (aria-expanded/-controls, hover + focus-visible + active accent
  highlight); a single panel below the grid expands the open repo's PRs
  using the same grid-rows accordion + requestLenisResize as BrandTile.
  displayedSlug lags openSlug so content stays mounted through the close.
- upstream-proof-band.tsx (server) now computes prsForRepo + prsCount
  labels per brand and feeds the client marquee; counts/marquee unchanged.

typecheck + lint + build clean; 12 clickable buttons render with the
shared panel; /upstream tiles unaffected (pure extraction).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@spokodev
spokodev merged commit 32c1d41 into main Jul 9, 2026
2 checks passed
@spokodev
spokodev deleted the feat/upstream-band-clickable branch July 9, 2026 12:11
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