Text chat 22: Attachments, stickers, lightbox, audio player #272

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

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

Task 22: Attachments, stickers, lightbox, audio player

Issue: #TBD

Files:

  • Create: crates/fluxer-ui/src/widgets/message_content/{mod.rs,attachments.rs,mosaic.rs,file_card.rs,spoiler.rs,audio.rs,sticker.rs}, crates/fluxer-ui/src/screens/main/media_viewer.rs
  • Modify: crates/fluxer-ui/src/widgets/message_row.rs, screens/main/{mod.rs,media.rs}, theme/icons.rs
  • Test: crates/fluxer-ui/tests/{attachments.rs,media_viewer.rs}

Interfaces:

  • Produces: spec §9.3 attachments part and §9.4; mosaic::layout(n) -> Vec<Tile { col, row, col_span, row_span, aspect }> (table of spec §3.5); fit(w, h, max_w, max_h); thumbhash placeholder then image; spoiler cover (setting render_spoilers); ALT badge; expired overlay; hover toolbar; file card with extension icon; text-file preview; audio card bound to PlayAttachment; video poster opening externally (OpenUrl); stickers 10 rem; inline_attachment_media off → links instead; lightbox per spec §9.4 (zoom math table-tested).

  • Tests: mosaic_layout_table_1_to_10, single_image_fit_550x350, spoiler_hidden_until_clicked_and_setting_always, expired_overlay, file_card_icon_by_extension, audio_card_emits_play, lightbox_zoom_bounds_and_step, lightbox_prev_next; screenshots attachments_mosaic_4, attachments_mosaic_7, attachment_file_card, attachment_spoiler, media_viewer.

  • Commit feat(ui): attachments, stickers, lightbox and audio player.

🤖 Generated with Claude Code

Plan: `docs/superpowers/plans/2026-11-12-textchat.md`, section "Task 22". Spec: `docs/superpowers/specs/2026-11-12-fluxer-native-textchat-design.md`. ### Task 22: Attachments, stickers, lightbox, audio player **Issue:** #TBD **Files:** - Create: `crates/fluxer-ui/src/widgets/message_content/{mod.rs,attachments.rs,mosaic.rs,file_card.rs,spoiler.rs,audio.rs,sticker.rs}`, `crates/fluxer-ui/src/screens/main/media_viewer.rs` - Modify: `crates/fluxer-ui/src/widgets/message_row.rs`, `screens/main/{mod.rs,media.rs}`, `theme/icons.rs` - Test: `crates/fluxer-ui/tests/{attachments.rs,media_viewer.rs}` **Interfaces:** - Produces: spec §9.3 attachments part and §9.4; `mosaic::layout(n) -> Vec<Tile { col, row, col_span, row_span, aspect }>` (table of spec §3.5); `fit(w, h, max_w, max_h)`; thumbhash placeholder then image; spoiler cover (setting `render_spoilers`); ALT badge; expired overlay; hover toolbar; file card with extension icon; text-file preview; audio card bound to `PlayAttachment`; video poster opening externally (`OpenUrl`); stickers 10 rem; `inline_attachment_media` off → links instead; lightbox per spec §9.4 (zoom math table-tested). - [ ] Tests: `mosaic_layout_table_1_to_10`, `single_image_fit_550x350`, `spoiler_hidden_until_clicked_and_setting_always`, `expired_overlay`, `file_card_icon_by_extension`, `audio_card_emits_play`, `lightbox_zoom_bounds_and_step`, `lightbox_prev_next`; screenshots `attachments_mosaic_4`, `attachments_mosaic_7`, `attachment_file_card`, `attachment_spoiler`, `media_viewer`. - [ ] Commit `feat(ui): attachments, stickers, lightbox and audio player`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
charles added this to the Text chat milestone 2026-11-12 11:07:42 +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#272
No description provided.