WIP V improve UX [snapshot task 2]

Add the connections workspace (sidebar, editable slots, per-slot activity,
removal dialog with focus wrapping), remove the downloadable local HTML and
unreleased identity backup/restore, and start the 0.0.5 draft changelog.
Restore the released 0.0.3/0.0.4 changelog entries. Enable focus emulation
in browser checks so background tabs receive focus/blur events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
SchluffeandClaude Opus 5.5 committed 2026-10-17 13:44:08 +02:00
1 parent 58c3e2af86
commit 5f8c6a1916
21 files changed
+879 -306

No files matched your search

+25 -9
View File
@@ -1,9 +1,25 @@
# Serverless UX roadmap
The hosted HTTPS app is the primary experience. The downloadable HTML must keep
working for basic manual connection and file transfer; it need not match hosted
conveniences. No signaling backend, peer presence service, automatic offline-peer
reconnection, or silent TURN fallback is in scope.
The app runs over HTTPS or on localhost. No signaling backend, peer presence
service, automatic offline-peer reconnection, or silent TURN fallback is in scope.
## Connection workspace — implemented
The app title and connection list live in a sidebar. The first slot is **Con 1**;
users add subsequent slots explicitly and can rename them. Selecting a slot opens
its setup, transfer controls, and persistent activity timeline. Cached workspaces
keep live sessions and file selections intact while navigating between slots.
The sidebar collapses on mobile; network configuration is expandable.
IndexedDB stores slot names, paired-device associations, and up to 50 transfer
results per slot. Each result includes its direction, filename, size, timestamp,
and completion/decline/interruption status. File contents and connection codes
are never stored. Slot mutations are transactional and other tabs refresh their
lists after changes. Storage failures show an explicit warning.
Disconnect and Reset retain history. Reloading ends live sessions and requires
fresh codes; saved identities can authenticate a remembered peer. A slot's device
association only preselects an existing trusted contact and does not grant trust.
## 1. Send another file on a verified connection — implemented first
@@ -43,7 +59,7 @@ survive disconnect until Reset or the next acceptance.
Protocol v3 rejects old connection codes before setup. Tests cover simultaneous
queues, empty files, separate acceptance, removal, decline, stale IDs/receipts,
queue caps, storage cancellation, and verification gates. Browser checks exercise
both directions, real bytes, accessibility, streaming downloads, and the local HTML.
both directions, real bytes, accessibility, and streaming downloads.
## 3. Remember trusted devices — implemented
@@ -56,13 +72,13 @@ saved codes never authenticate a peer. Changed or missing identities require
manual comparison and never replace saved contacts automatically.
Temporary sessions remain the default, and every file still requires acceptance.
Contact removal, identity deletion, encrypted backup/restore, storage failure
Contact removal, identity deletion, storage failure
fallback, unreadable-storage recovery, and conflicting-tab write protection are
implemented. The local HTML remains manual. Identity-enabled signaling uses v4;
implemented. Identity-enabled signaling uses v4;
temporary connections retain v3. Browser keys remain accessible to app code.
Tests cover proof forgery and replay, altered session bindings, metadata gating,
wrong backup passwords and tampering, persistence across reload, changed identities,
persistence across reload, changed identities,
storage denial/recovery, and protocol-version validation. Design and review notes
are in [the device identity protocol](device-identities.md); this is not an
independent cryptographic audit.
@@ -79,7 +95,7 @@ exchange remains necessary. Keep pasteable codes as the universal fallback.
Bound and validate payloads, handle stale/incompatible links, and test practical
URL limits across messengers and mobile browsers. Do not promise a short link
without a storage service. Consider compressed payloads and QR only after checking
real payload sizes and decoding limits. Local HTML only needs manual codes.
real payload sizes and decoding limits.
## 5. Guided connection flow