Changeset 7d19465 in Klonkt for CHANGELOG.md


Ignore:
Timestamp:
07/17/2026 02:27:52 AM (8 weeks ago)
Author:
Robin <roboburr@…>
Branches:
main
Children:
f1a23b8
Parents:
92a2c46
git-author:
Robin <roboburr@…> (07/17/2026 02:27:34 AM)
git-committer:
Robin <roboburr@…> (07/17/2026 02:27:52 AM)
Message:

Fix: boosted video-only posts keep their media in the Circle (Loops)

Boosting a video-only post lost its media twice over: resolveRemoteNote only
surfaced image/* attachments (images list), so upsertBoostedNote stored
media_json=[] for a Loops video; and its refresh-UPDATE clobbered an existing
good media_json (cached via following) with that empty set. resolveRemoteNote
now also returns full typed media via mediaFromNote (images stays image-only
for the interact preview); upsertBoostedNote prefers the typed media and its
refresh keeps cached media when the resolve yielded none. Verified live: the
reported Loops file is 2.9MB with moov in reach, and a seeded boosted video row
now renders a grid tile with a real generated poster (200 image/webp, 13KB).
Covered by test/boost-media.test.js (63 tests green). Reported by Robin.

Co-Authored-By: Claude Opus 4.8 <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG.md

    r92a2c46 r7d19465  
    2020
    2121### Fixed
     22- **A boosted video post keeps its video in the Circle.** Boosting a video-only
     23  post (Loops.video) stored it without its media, so the Circle showed a bare
     24  text tile instead of a video thumbnail; re-boosting could even wipe the video
     25  from an already-cached copy. Boosts now carry the full typed media, and a
     26  refresh never erases cached media.
    2227- **The interact page title follows your language.** "Interacteer via de
    2328  fediverse" was hardcoded Dutch in the browser tab, even on an English site.
Note: See TracChangeset for help on using the changeset viewer.