feat(office_views): show progress while uploading #166

Closed
opened 2026-04-27 12:18:01 +00:00 by zaelgohary · 0 comments
Member

Symptom

Uploading a file from the office FileListView (e.g. clicking Upload in /space/<ctx>/docs+pdf) shows zero feedback while the upload is in flight. The button click triggers the hidden file input, but the user has no way to tell whether the picked file is being read, uploaded, or ignored — until either the listing silently refreshes (success) or the red error banner appears (failure).

For larger PDFs the silent gap can be many seconds (FileReader → base64 → JSON-RPC → WebDAV), and clicking Upload again during this window queues a second upload with no indication.

Acceptance

  • A visible "Uploading {filename}…" indicator appears as soon as the file is picked, and disappears when the upload completes (success or error).
  • Upload button is disabled (or visually de-emphasised) while an upload is in flight, to discourage accidental double-submits.
  • No regression: existing error banner and listing refresh keep working.
  • office_editor_real playwright stays green.
## Symptom Uploading a file from the office FileListView (e.g. clicking Upload in `/space/<ctx>/docs+pdf`) shows zero feedback while the upload is in flight. The button click triggers the hidden file input, but the user has no way to tell whether the picked file is being read, uploaded, or ignored — until either the listing silently refreshes (success) or the red error banner appears (failure). For larger PDFs the silent gap can be many seconds (FileReader → base64 → JSON-RPC → WebDAV), and clicking Upload again during this window queues a second upload with no indication. ## Acceptance - A visible "Uploading {filename}…" indicator appears as soon as the file is picked, and disappears when the upload completes (success or error). - Upload button is disabled (or visually de-emphasised) while an upload is in flight, to discourage accidental double-submits. - No regression: existing error banner and listing refresh keep working. - `office_editor_real` playwright stays green.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_archipelagos#166
No description provided.