mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Editing left grids showing the pre-edit version until a manual reload. The edit flow already re-ran loadVideos(), but the cache still held the OLD version: unlike new publishes (#46's optimistic insert), the edit never ingested its signed replaceable event locally, so the cache-first render stayed stale until relays echoed the update back. handleEditVideoSubmit now ingests the edited signed event via ingestLocalVideoEvent — newest-wins replace in the active store + videos:updated — so the grid shows the new title/thumbnail/description immediately, with the relay echo confirming behind it. Test: nostr-service suite +1 (edited event ingested, videos:updated + videos:edited emitted, result passed through). Lint green. Co-Authored-By: Claude Opus 4.8 <[email protected]>