From 67b1324670cf4108a090f1389c6e8000ef433606 Mon Sep 17 00:00:00 2001 From: digital-garbage <133010426+digital-garbage@users.noreply.github.com> Date: Tue, 22 Sep 2026 18:27:52 +0300 Subject: [PATCH] fix: upload progress bar never repainted (missing from mediabrowser fingerprint) mediaUpload changes on every XHR tick but wasn't part of the mediabrowser zone's ViewBus fingerprint, so real ticks hashed identically to the last paint and were skipped -- the bar only ever appeared to update via some unrelated repaint (e.g. clicking a thumbnail changes mediaPreviewId, which IS tracked). Co-Authored-By: Claude Sonnet 5 --- movie_editor/frontend/view_bus.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/movie_editor/frontend/view_bus.js b/movie_editor/frontend/view_bus.js index 0e1bc2ed..b42dd160 100644 --- a/movie_editor/frontend/view_bus.js +++ b/movie_editor/frontend/view_bus.js @@ -176,6 +176,10 @@ projects: st.projects?.length, media: st.mediaBin?.length, mediaPreview: st.mediaPreviewId, + // The upload progress bar/percent live in this zone and change on every XHR + // progress tick without touching mediaBin's length -- without this the drop + // zone never repaints and looks stale for the whole upload. + upload: st.mediaUpload, // Continuity pin renders on gallery cards (📌 button state + thumb badge). pin: st.project?.continuity_settings?.identity_pin_ref, // Reference marks render the same way (R button + numbered badge), and their ORDER