Multi-media indicator on Headline cards #77

Closed
opened 2026-08-04 23:20:38 +00:00 by TheAnachronism · 1 comment

What to build

Show a Multi-media indicator on Headline cards that have an Article thumbnail when the article has two or more distinct media items. Count HTML <img> / <video> URLs plus any attachments at Headline parse time (dedupe by URL/basename), keep only a flag/count on the Headline model, and still do not retain article content for List chrome (ADR-0005). Overlay a photo-album icon at the bottom-right of the Article thumbnail when the count is ≥ 2. Excerpt-only / empty-body cards get no indicator.

Acceptance criteria

  • Headline parsing derives a multi-media flag/count from HTML <img> / <video> plus any attachments, with URL/basename dedupe
  • Article content is still not retained on the Headline model for List chrome
  • Headline cards with an Article thumbnail and media count ≥ 2 show a photo-album icon overlaid at the bottom-right of the thumbnail
  • Cards without an Article thumbnail do not show the indicator
  • Cards with fewer than two distinct media items do not show the indicator
  • Mark/unread/star optimistic Headline patches preserve the new field(s)
  • Automated coverage covers counting/dedupe at parse time and the “show indicator when thumbnail + count ≥ 2” presentation rule

Blocked by

  • None — can start immediately
## What to build Show a Multi-media indicator on Headline cards that have an Article thumbnail when the article has two or more distinct media items. Count HTML `<img>` / `<video>` URLs plus any attachments at Headline parse time (dedupe by URL/basename), keep only a flag/count on the Headline model, and still do not retain article `content` for List chrome (ADR-0005). Overlay a photo-album icon at the bottom-right of the Article thumbnail when the count is ≥ 2. Excerpt-only / empty-body cards get no indicator. ## Acceptance criteria - [ ] Headline parsing derives a multi-media flag/count from HTML `<img>` / `<video>` plus any attachments, with URL/basename dedupe - [ ] Article `content` is still not retained on the Headline model for List chrome - [ ] Headline cards with an Article thumbnail and media count ≥ 2 show a photo-album icon overlaid at the bottom-right of the thumbnail - [ ] Cards without an Article thumbnail do not show the indicator - [ ] Cards with fewer than two distinct media items do not show the indicator - [ ] Mark/unread/star optimistic Headline patches preserve the new field(s) - [ ] Automated coverage covers counting/dedupe at parse time and the “show indicator when thumbnail + count ≥ 2” presentation rule ## Blocked by - None — can start immediately
Author
Owner

Done in ff28f39 with follow-up 1c9eea5 — parse-time multiMediaCount (HTML img/video + attachments, URL/basename dedupe) and thumbnail Multi-media indicator when count ≥ 2 (ADR-0005).

Done in ff28f39 with follow-up 1c9eea5 — parse-time multiMediaCount (HTML img/video + attachments, URL/basename dedupe) and thumbnail Multi-media indicator when count ≥ 2 (ADR-0005).
Sign in to join this conversation.
No description provided.