Skip to content

feat: swap to lanyards.app (#154); livelier homepage sway (#153) - #155

Merged
renderghost merged 2 commits into
mainfrom
claude/lanyards-rebuild-attendee-ux-vcl1sb
Nov 20, 2026
Merged

renderghost merged 2 commits into
mainfrom
claude/lanyards-rebuild-attendee-ux-vcl1sb

Conversation

@renderghost

Copy link
Copy Markdown
Owner

Merge at step 3 of the swap, after lanyards.app has moved to lanyards-next. Merged earlier, page visits to next.lanyards.app would redirect to the legacy site until the move.

Summary

Swap preparation (#154)

  • Redirect: page visits to next.lanyards.app redirect permanently (308) to the same path on lanyards.app, via vercel.json. It matches only sec-fetch-dest: document, so an installed copy's service worker can still fetch its update and assets there.
  • Stranded installs: opened on next.lanyards.app once the build's base URL is elsewhere, the app unregisters its service worker, clears its caches and goes to the same page on lanyards.app.
    • This catches installed copies once they take their update. Until PUBLIC_BASE_URL changes, it does nothing.
  • CLAUDE.md: hosting notes updated for after the swap.

Livelier sway (#153)

  • A brisk sweep swings the badge about 2° (was about 1°), and a fast flick about 3°. It never passes 4°.
  • It swings back by about a quarter, then a little more, and is still again 2–3 seconds after the pointer stops.

Testing

  • npm run lint, npm run typecheck
  • npm test: 1,295 passed
  • npm run e2e: 91 passed
  • npm run size: 197.5 KB of the 200 KB budget
  • PUBLIC_BASE_URL=https://lanyards.app npm run build emits client_id https://lanyards.app/oauth-client-metadata.json, with redirect https://lanyards.app/oauth/callback

Closes #153
Closes #154


Generated by Claude Code

renderghost and others added 2 commits November 20, 2026 22:53
A brisk sweep now swings the badge about 2 degrees (was about 1), a
fast flick about 3, never past 4. A stiffer, more damped spring brings
it back by about a quarter, then a little more, and it's still again
two to three seconds after the pointer stops.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PSPB1cH898qV61BH1NiFKL
Ready for the swap: lanyards.app becomes the new app's home.

- vercel.json: page visits to next.lanyards.app redirect permanently to
  the same path on lanyards.app. Only page navigations redirect, so an
  installed copy's service worker can still fetch its update there.
- The app, opened on a retired origin once the build's base URL is
  elsewhere, unregisters its service worker, clears its caches and
  goes to the same page at the base URL. Until PUBLIC_BASE_URL moves,
  this does nothing.
- CLAUDE.md: hosting notes for after the swap.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PSPB1cH898qV61BH1NiFKL
@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
lanyards Ready Ready Preview Nov 20, 2026 10:59pm UTC
lanyards-next Ready Ready Preview Nov 20, 2026 10:59pm UTC

@renderghost
renderghost merged commit 23e8b3e into main Nov 20, 2026
4 checks passed
@renderghost
renderghost deleted the claude/lanyards-rebuild-attendee-ux-vcl1sb branch November 20, 2026 23:03

This branch was successfully deployed

1 active deployment
Preview – lanyards — 1ea4e437 Deployed Nov 20, 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.

Swap: serve the new app at lanyards.app; retire next.lanyards.app Homepage badge: a livelier sway that settles in 2–3 seconds

1 participant