Repository navigation
feat: Share is a lanyard in a clear sleeve (#169); header Sign in lands on your customiser (#167) - #168
Merged
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 sleeve's glare passes under the code, never over it.
QrCode: takes acentrepicture and switches to error correction H. Its test blanks the covered disc (22% of the width) and still scans the code withjsqr. I also decoded the rendered code from real screenshots, in lime and blue.Actions:
navigator.share), only where the browser has one;Layouts:
wideandflat, live inindex.css.Header Sign in lands on your own customiser (#167)
/sign-inwith noreturnTo, and lands on your own/<handle>/edit.Testing
npm run lint,npm run typecheck,npm run i18n:checknpm test: 1,316 passednpm 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 budgetCloses #167
Closes #169
🤖 Generated with Claude Code
https://claude.ai/code/session_01PSPB1cH898qV61BH1NiFKL