feat(office_views): grey out Upload button while uploading #168

Closed
opened 2026-04-27 14:35:32 +00:00 by zaelgohary · 0 comments
Member

Symptom

After #167 the Upload button is disabled while a transfer is in flight (clicks are blocked) and the toolbar shows an "Uploading {filename}…" chip — but the button itself stays the same colour, so users can't visually tell the button is in a non-clickable state. They click again, nothing happens, no feedback.

Acceptance

  • While uploading_name.read().is_some(), the Upload button has a visibly de-emphasised style (e.g. reduced opacity + cursor: not-allowed).
  • Reverts to the normal style as soon as the upload finishes.
  • No regression for the chip text + click-block behaviour from #167.
## Symptom After #167 the Upload button is `disabled` while a transfer is in flight (clicks are blocked) and the toolbar shows an "Uploading {filename}…" chip — but the button itself stays the same colour, so users can't visually tell the button is in a non-clickable state. They click again, nothing happens, no feedback. ## Acceptance - While `uploading_name.read().is_some()`, the Upload button has a visibly de-emphasised style (e.g. reduced opacity + `cursor: not-allowed`). - Reverts to the normal style as soon as the upload finishes. - No regression for the chip text + click-block behaviour from #167.
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#168
No description provided.