Skip to content

feat: Share is a lanyard in a clear sleeve (#169); header Sign in lands on your customiser (#167) - #168

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

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

Conversation

@renderghost

@renderghost renderghost commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

Share screen: a lanyard, your badge in a clear sleeve (#169)

The owner chose sketch B from three.

  • Label: "Show QR" is now Share everywhere: the header, the bottom bar on phones and the badge's button. The component is renamed ShareLink.

  • Lanyard (LanyardRibbon): two straps printed with the owner's handle, meeting at a sewn tab, then a swivel ring and a metal clasp hooked into the sleeve's slot. The straps run off the top of the screen.

  • Sleeve: a clear plastic sleeve holding the badge, in the owner's accent. The badge has:

    • the Lanyards mark;
    • the QR code with the person's avatar in its centre (initials without one, or if it won't load);
    • their name and handle;
    • a Now / Based strip.

    The sleeve's glare passes under the code, never over it.

  • QrCode: takes a centre picture and switches to error correction H. Its test blanks the covered disc (22% of the width) and still scans the code with jsqr. I also decoded the rendered code from real screenshots, in lime and blue.

  • Actions:

    • Share opens the device's share sheet (navigator.share), only where the browser has one;
    • cancelling it is silent, and other failures show a toast;
    • Copy link stays;
    • Close is an ×.
  • Layouts:

    • wide screens: "Share", the name large, a hint and the actions beside the hanging badge;
    • portrait phones: the badge, then Share, Copy link and × along the foot;
    • short landscape screens: the screen itself is the badge, as before.
    • Two exclusive variants, wide and flat, live in index.css.
    • Targets stay 56 px. On a 320×640 phone the code stays at least 240 px wide with nothing scrolling.

Header Sign in lands on your own customiser (#167)

  • The header's Sign in is a plain log in: it goes to /sign-in with no returnTo, and lands on your own /<handle>/edit.
  • Sign-ins tied to an action still return where they started:
    • following someone;
    • "Sign in to see this lanyard";
    • Settings and the customiser when signed out;
    • the callback's "Try again".

Testing

  • npm run lint, npm run typecheck, npm run i18n:check
  • npm test: 1,316 passed
  • npm run e2e: 92 passed, three runs in a row. The Share specs cover 320×640, phone landscape, nearly square windows, focus rings on every accent and dark mode. One earlier run missed the performance budget by 8 ms (2,508 ms against 2,500 ms), then passed three times running.
  • npm run size: 198.4 KB of the 200 KB budget
  • Screenshots at 1440×900, 390×844, 320×640 and 844×390, in lime, blue and pink

Closes #167
Closes #169

🤖 Generated with Claude Code

https://claude.ai/code/session_01PSPB1cH898qV61BH1NiFKL

The header's Sign in on a lanyard page carried that page as returnTo, so
signing in from your own /<handle> landed back on the public view. It's
now a plain log in: /sign-in with no returnTo, which lands on your own
/<handle>/edit (via /lanyard).

Sign-ins tied to an action still return where they started: following
someone, "Sign in to see this lanyard", Settings and the customiser
when signed out, and the callback's Try again. A new callback test pins
the default landing on /<handle>/edit.

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

vercel Bot commented Nov 21, 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 21, 2026 12:42pm UTC

renderghost and others added 2 commits November 21, 2026 12:20
The header's, the bottom bar's and the badge's Show QR read Share, and
the component is ShareLink. Comments and tests follow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PSPB1cH898qV61BH1NiFKL
The owner picked sketch B:
- A lanyard printed with the owner's handle (LanyardRibbon): two straps
  meeting at a sewn tab, a swivel ring and a clasp hooked into the
  sleeve's slot, running off the top of the screen.
- The badge in a clear plastic sleeve, in the owner's accent: the
  Lanyards mark, the code with their avatar in its centre (initials
  without one, or when it won't load), their name and handle, and a
  Now / Based strip. The sleeve's glare stays under the code.
- QrCode takes a centre picture and switches to error correction H; its
  test blanks the covered disc and still scans the code.
- Share opens the device's share sheet where there is one; cancelling is
  silent and failures say so. Copy link stays; Close is an x.
- Layouts: wide screens get the name, a hint and the actions beside the
  hanging badge; portrait phones the badge, then the actions along the
  foot; short landscape screens make the screen the badge, as before.
  Targets stay 56 px.

Checked by decoding the rendered code from screenshots, in lime and blue.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PSPB1cH898qV61BH1NiFKL
@renderghost renderghost changed the title feat: the header's Sign in lands on your own customiser (#167) feat: Share is a lanyard in a clear sleeve (#169); header Sign in lands on your customiser (#167) Nov 21, 2026
@renderghost
renderghost merged commit f77111f into main Nov 21, 2026
3 checks passed
@renderghost
renderghost deleted the claude/lanyards-rebuild-attendee-ux-vcl1sb branch November 21, 2026 12:56
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.

Share screen: a lanyard in a clear sleeve; "Show QR" becomes "Share" Signing in from the header should land on your own /<handle>/edit

1 participant