feat(office_views): grey out Upload button while uploading #169
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos!169
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_feat_upload_btn_disabled_style"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Follow-up to #167. The disabled HTML attribute prevents clicks but the inline button style was unchanged, so users had no visual cue that the Upload button was inert during an in-flight upload. Adds a conditional opacity +
cursor: not-allowedwhenuploading_nameis set.Related Issue
Closes #168
Changes
archipelagos/embed/office/src/views.rs— branch onuploading_nameto extend BUTTON_STYLE withopacity: 0.55; cursor: not-allowed;Test Results
cargo check -p hero_archipelagos_office✅Manual verification
With the deployed wasm: clicking Upload → chip appears + button visibly greys out + normal style returns when upload finishes.