WIP VI improve UX [snapshot task 2]
This commit is contained in:
1 parent
a73b3075b6
commit
8665d04f2c
6 files changed
+95
-66
No files matched your search
@@ -53,14 +53,16 @@ remain available. Up to 100 connection slots are supported.
|
||||
confirm before the app sends the filename, size, MIME metadata, or contents.
|
||||
On later connections, a remembered device’s fresh proof can replace manual
|
||||
comparison (see Remembered devices below).
|
||||
4. The receiver sees the filename and size and explicitly accepts the file.
|
||||
On the hosted app (HTTPS or localhost), **Receive as download** shows the incoming file size and streams into the browser's download manager using a same-origin service worker.
|
||||
It requires transferable streams and service-worker support; Chromium and
|
||||
Brave have been tested with 120 MiB files. Allow the download and keep the
|
||||
receiving tab open. File contents are not uploaded to the web host.
|
||||
**Choose destination & receive to disk** remains available with a supported
|
||||
native file picker. **Receive in memory** retains its 64 MiB cap. Even capped
|
||||
memory downloads may be too large on a memory-constrained device.
|
||||
4. The receiver sees the filename and size and clicks **Accept file**. Files of
|
||||
every size stream into the browser's download manager using a same-origin
|
||||
service worker (HTTPS or localhost). This requires transferable streams and
|
||||
service-worker support; Chromium and Brave have been tested with 120 MiB
|
||||
files. Allow the download and keep the receiving tab open. File contents are
|
||||
not uploaded to the web host. Without streaming support, the browser's native
|
||||
save picker asks where to write the file. Without either, files up to 64 MiB
|
||||
are buffered in memory and handed to Downloads on completion (**Save again**
|
||||
repeats this); larger files cannot be received. Even capped memory transfers
|
||||
may be too large on a memory-constrained device.
|
||||
5. The sender waits for a receipt acknowledgment. For disk transfers, the receiver
|
||||
sends this only after its writable stream closes successfully; for streaming
|
||||
downloads, after handing all bytes to the browser; for memory transfers,
|
||||
@@ -80,10 +82,9 @@ rejects an incoming offer and lets the sender's queue continue.
|
||||
|
||||
**Disconnect** ends the entire session, drops waiting files and aborts unfinished
|
||||
disk writes. To cancel an already active transfer, disconnect; cancelling only an
|
||||
active file is not supported. Completed memory downloads remain available after
|
||||
disconnect. Save a previous memory download before accepting another file;
|
||||
acceptance replaces it. **Reset** discards the memory download and returns to
|
||||
setup. Before connecting, Send/Receive chooses who starts the connection. Once
|
||||
active file is not supported. A completed memory transfer stays available via **Save again** after
|
||||
disconnect, until the next acceptance replaces it. **Reset** discards it and
|
||||
returns to setup. Before connecting, Send/Receive chooses who starts the connection. Once
|
||||
verified, these controls navigate to the sending and receiving sections without
|
||||
reconnecting. The initial receiver can click **Send**, then **Add files to send**.
|
||||
|
||||
|
||||
Reference in new issue
Block a user