Remove shareable invitation links
Codes are exchanged by copy and paste again. The URL fragment intake, the invitation dialog, the BroadcastChannel answer relay and the Share link / Copy link controls are gone, along with their tests, browser check scenarios and design doc. Code fields no longer accept links. The compressed HC1 codes with typed offers/answers and echoed refs stay. An optional signaling backend is the intended way to simplify the exchange instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f320bfb541
commit
a5935a8324
16 files changed
+57
-602
No files matched your search
+7
-13
@@ -86,23 +86,17 @@ storage denial/recovery, and protocol-version validation. Design and review note
|
||||
are in [the device identity protocol](device-identities.md); this is not an
|
||||
independent cryptographic audit.
|
||||
|
||||
## 4. Shareable invitations — implemented
|
||||
## 4. Compressed connection codes — implemented
|
||||
|
||||
Detailed in [the invitation design](invitations.md).
|
||||
|
||||
Offers and answers are shared as links with the compressed code in the URL
|
||||
fragment, through **Share link** where supported or **Copy link**; the bare code
|
||||
stays available. Opening a link clears the fragment. An offer opens an import
|
||||
preview with slot selection and never answers automatically. An answer link
|
||||
reaches the waiting sender tab in the same browser over `BroadcastChannel` and
|
||||
otherwise falls back to copy and paste. An answer exchange remains necessary.
|
||||
|
||||
Still open: manual checks of link length, previews and in-app browsers across
|
||||
real messengers and phones. QR codes remain deferred.
|
||||
Offers and answers are compressed `HC1.` codes that state their type and share a
|
||||
reference, so mixed-up or stale codes are rejected with a specific message.
|
||||
Shareable invitation links were built on top and removed again: they did not make
|
||||
real-world connections more reliable. An optional signaling backend is the
|
||||
intended way to simplify the exchange.
|
||||
|
||||
## 5. Guided connection flow
|
||||
|
||||
Present one primary next action across Choose files → Share invitation → Connect
|
||||
Present one primary next action across Choose files → Share code → Connect
|
||||
→ Verify → Transfer. Collapse completed setup steps, expose advanced network
|
||||
settings on demand, and keep relay consent explicit. Show session state separately
|
||||
from file progress. Distinguish connected, awaiting acceptance, saving, completed,
|
||||
|
||||
Reference in new issue
Block a user