Text chat 23: Embeds #273

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

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

Task 23: Embeds

Issue: #TBD

Files:

  • Create: crates/fluxer-ui/src/widgets/message_content/{embed.rs,embed_media.rs,youtube.rs}
  • Modify: widgets/message_content/mod.rs, widgets/message_row.rs
  • Test: crates/fluxer-ui/tests/embeds.rs

Interfaces:

  • Produces: spec §9.3 embeds: dedupe by normalized URL, media-only vs rich (hasRichEmbedContent), rich card (bar colour, provider, author, title link, description with Markdown only for rich/Bluesky, field grid with ≤3 inline per row, thumbnail 80 px, media, gallery ≤10, footer with relative time), image/GIF/GIFV/video/audio kinds (spec §15), YouTube poster, Bluesky card, suppress X with confirm (SuppressEmbeds), render_embeds/inline_embed_media settings, link opening through the trusted-domain check.

  • Tests: field_grid_rows, width_432_with_media_else_516, thumbnail_promoted_for_article_and_image, duplicate_embeds_dropped, markdown_only_in_rich, unknown_type_renders_as_link_card, table malformed_embeds_never_panic, suppress_x_only_for_author_or_mod; screenshots embed_rich_fields, embed_article, embed_youtube, embed_gifv.

  • Commit feat(ui): embeds.

🤖 Generated with Claude Code

Plan: `docs/superpowers/plans/2026-11-12-textchat.md`, section "Task 23". Spec: `docs/superpowers/specs/2026-11-12-fluxer-native-textchat-design.md`. ### Task 23: Embeds **Issue:** #TBD **Files:** - Create: `crates/fluxer-ui/src/widgets/message_content/{embed.rs,embed_media.rs,youtube.rs}` - Modify: `widgets/message_content/mod.rs`, `widgets/message_row.rs` - Test: `crates/fluxer-ui/tests/embeds.rs` **Interfaces:** - Produces: spec §9.3 embeds: dedupe by normalized URL, media-only vs rich (`hasRichEmbedContent`), rich card (bar colour, provider, author, title link, description with Markdown only for rich/Bluesky, field grid with ≤3 inline per row, thumbnail 80 px, media, gallery ≤10, footer with relative time), image/GIF/GIFV/video/audio kinds (spec §15), YouTube poster, Bluesky card, suppress X with confirm (`SuppressEmbeds`), `render_embeds`/`inline_embed_media` settings, link opening through the trusted-domain check. - [ ] Tests: `field_grid_rows`, `width_432_with_media_else_516`, `thumbnail_promoted_for_article_and_image`, `duplicate_embeds_dropped`, `markdown_only_in_rich`, `unknown_type_renders_as_link_card`, table `malformed_embeds_never_panic`, `suppress_x_only_for_author_or_mod`; screenshots `embed_rich_fields`, `embed_article`, `embed_youtube`, `embed_gifv`. - [ ] Commit `feat(ui): embeds`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
charles added this to the Text chat milestone 2026-11-12 11:07:43 +00:00
charles referenced this issue from a commit 2026-11-12 17:57:22 +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#273
No description provided.