feat(office_views): confirm-on-delete dialog #170

Closed
opened 2026-04-27 15:30:59 +00:00 by zaelgohary · 0 comments
Member

Symptom

Clicking Delete on an office FileRow immediately removes the file with no confirmation. Destructive action with no undo and no warning. The projects island uses hero_archipelagos_core::ConfirmDialog for the same operation.

Acceptance

  • Click Delete → modal opens with title "Delete file?" and the filename in the message.
  • Cancel closes the dialog, file remains.
  • Confirm runs the delete RPC and removes the row (existing behavior on confirm).
  • danger: true so the confirm button is styled as destructive.
## Symptom Clicking Delete on an office FileRow immediately removes the file with no confirmation. Destructive action with no undo and no warning. The projects island uses `hero_archipelagos_core::ConfirmDialog` for the same operation. ## Acceptance - Click Delete → modal opens with title "Delete file?" and the filename in the message. - Cancel closes the dialog, file remains. - Confirm runs the delete RPC and removes the row (existing behavior on confirm). - `danger: true` so the confirm button is styled as destructive.
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#170
No description provided.