Add shareable invitation links
Codes now travel as links with the code in the URL fragment, which the app reads and clears before mounting (and on hashchange). An offer link opens a preview that suggests an idle slot, preferring the one paired with the sender's device, and only fills in the code; the user still creates the answer. Answer links reach the waiting sender tab over a same-origin BroadcastChannel, are acknowledged once and reported as used afterwards, and fall back to copy and paste when no tab answers. The panel offers Share link where the Web Share API accepts URLs, Copy link, and the bare code under a disclosure. The browser check covers the offer dialog, clean URL, answer relay, reuse, fallback on another origin, an invalid fragment, axe on both dialogs and exact bytes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8bd37ac8b1
commit
43ee7f119f
14 files changed
+422
-59
No files matched your search
@@ -22,6 +22,13 @@
|
||||
can use Send to add files without reconnecting. Disconnect
|
||||
aborts unfinished writes while preserving the last completed memory download.
|
||||
- Document the hosted-first, serverless UX roadmap.
|
||||
- Add shareable invitation links. Codes travel in the URL fragment, which is
|
||||
never sent to the host and is removed from the address bar on opening. An
|
||||
offer link opens a preview that suggests an idle connection (the one paired
|
||||
with the sender's device first) and fills in the code without answering. An
|
||||
answer link opened in the same browser connects the waiting sender tab;
|
||||
elsewhere it shows the answer to copy. **Share link** uses the Web Share API
|
||||
where available; **Copy link** and the bare code always remain.
|
||||
|
||||
### Changed
|
||||
|
||||
|
||||
Reference in new issue
Block a user