fix: clarify saved upload completion UI

The previous page showed a static "Server online" pill even though it did not
track backend liveness. It also left the selected file in an uploadable state
after completion, which made it too easy to start the same file again and then
land in a saved record that could only fail with "complete file already
exists".

Remove the misleading server-status UI and make saved uploads describe their
next action. Records with every chunk uploaded now show a Finish action, stale
server records are cleared, and a terminal "complete file already exists"
response clears the saved browser progress instead of inviting another resume.
A successful completion also clears the active file selection so the primary
actions settle back to idle.

Test Plan:
- just check

Refs: none
This commit is contained in:
2026-05-30 17:39:44 +02:00
parent 547838e285
commit 8d81b436e5
4 changed files with 98 additions and 28 deletions
-15
View File
@@ -71,17 +71,6 @@ h1 {
color: var(--muted);
}
.status-pill {
flex: 0 0 auto;
padding: 6px 10px;
border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
border-radius: 999px;
color: var(--accent-strong);
background: color-mix(in srgb, var(--accent) 10%, transparent);
font-size: 0.875rem;
font-weight: 700;
}
.file-picker {
display: flex;
align-items: center;
@@ -236,10 +225,6 @@ h2 {
display: grid;
}
.status-pill {
width: max-content;
}
.upload-panel {
padding: 18px;
}