Text chat 26: Upload tray, drop overlay, attachment modals, paste #276

Closed
opened 2026-11-12 11:07:44 +00:00 by charles · 0 comments
Owner

Plan: docs/superpowers/plans/2026-11-12-textchat.md, section "Task 26". Spec: docs/superpowers/specs/2026-11-12-fluxer-native-textchat-design.md.

Task 26: Upload tray, drop overlay, attachment modals, paste

Issue: #TBD

Files:

  • Create: crates/fluxer-ui/src/screens/main/composer/attachments.rs, crates/fluxer-ui/src/screens/main/modals/{mod.rs,attachment_edit.rs,upload_errors.rs,drop_overlay.rs}, crates/fluxer-ui/src/widgets/modal.rs (if no general modal exists on the base)
  • Modify: screens/main/composer/mod.rs, crates/fluxer-ui/src/app.rs (window file-drop events, paste of clipboard images through ClipboardImages)
  • Test: crates/fluxer-ui/tests/uploads.rs

Interfaces:

  • Produces: spec §9.2: tray (12.5 rem tiles, drag reorder → MoveAttachment, hover bar spoiler/edit/remove), AttachmentEditModal (filename ≤512, alt text ≤4096, spoiler switch), FileSizeTooLargeModal, TooManyAttachmentsModal, drop overlay ("Upload to {name}", Shift sends at once, Escape), progress row in the pending message with "Cancel upload", paste of images (Ctrl+V → ClipboardImages::read_image first).

  • Tests: tray_tiles_and_actions_emit, drag_reorder_emits_move, edit_modal_limits, refusal_opens_matching_modal, drop_overlay_shift_sends_directly, paste_image_becomes_file, progress_row_cancel; screenshots upload_tray, upload_drop_overlay, attachment_edit_modal, upload_progress.

  • Commit feat(ui): upload tray, drop overlay and attachment modals.

🤖 Generated with Claude Code

Plan: `docs/superpowers/plans/2026-11-12-textchat.md`, section "Task 26". Spec: `docs/superpowers/specs/2026-11-12-fluxer-native-textchat-design.md`. ### Task 26: Upload tray, drop overlay, attachment modals, paste **Issue:** #TBD **Files:** - Create: `crates/fluxer-ui/src/screens/main/composer/attachments.rs`, `crates/fluxer-ui/src/screens/main/modals/{mod.rs,attachment_edit.rs,upload_errors.rs,drop_overlay.rs}`, `crates/fluxer-ui/src/widgets/modal.rs` (if no general modal exists on the base) - Modify: `screens/main/composer/mod.rs`, `crates/fluxer-ui/src/app.rs` (window file-drop events, paste of clipboard images through `ClipboardImages`) - Test: `crates/fluxer-ui/tests/uploads.rs` **Interfaces:** - Produces: spec §9.2: tray (12.5 rem tiles, drag reorder → `MoveAttachment`, hover bar spoiler/edit/remove), `AttachmentEditModal` (filename ≤512, alt text ≤4096, spoiler switch), `FileSizeTooLargeModal`, `TooManyAttachmentsModal`, drop overlay ("Upload to {name}", Shift sends at once, Escape), progress row in the pending message with "Cancel upload", paste of images (Ctrl+V → `ClipboardImages::read_image` first). - [ ] Tests: `tray_tiles_and_actions_emit`, `drag_reorder_emits_move`, `edit_modal_limits`, `refusal_opens_matching_modal`, `drop_overlay_shift_sends_directly`, `paste_image_becomes_file`, `progress_row_cancel`; screenshots `upload_tray`, `upload_drop_overlay`, `attachment_edit_modal`, `upload_progress`. - [ ] Commit `feat(ui): upload tray, drop overlay and attachment modals`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
charles added this to the Text chat milestone 2026-11-12 11:07:44 +00:00
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
charles/fluxer-native#276
No description provided.