fix(web): activity badge reflects in-flight processing only #905
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/activity-badge-in-flight"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Follow-up user feedback after #901: the top-menu activity badge showed
999+with label0 processing · 1745 failed. The count came fromincompleteMediaCount(lifetime: every active media with any failed/expired job ever), and the label leaked the failed count. Additionally, needs-attention-only lanes in the Media activity dialog still displayed their lifetime done count (e.g.6901 done · … · 6 needs attention).Fix (frontend only)
ProcessingIndicator.svelte+AppShell.svelte: badge count is nowincompleteMediaBreakdown.processing(in-flight only); label isN processing/No media processing right now— never mentions failed; failed media no longer keep the pulse/icon alive.ActivityDialog.svelte: lane text includes the done count only when the lane has queued/processing work; needs-attention-only lanes show0 waiting · 0 processing · N needs attentionwithout the lifetime done number.upload-status.spec.ts: new failed-only-badge test (asserts no 999+/failed/not-fully-processed wording), new needs-attention-only lane assertion, badge-visibility assertions incl. SSE refresh clearing it.Validation
npm run check0 errors ·npm run buildok