Skip to content

fix(ui): live-update runs list via websocket, page cleanup#101

Merged
albanm merged 1 commit into
masterfrom
fix-runs-list-ws
Jun 1, 2026
Merged

fix(ui): live-update runs list via websocket, page cleanup#101
albanm merged 1 commit into
masterfrom
fix-runs-list-ws

Conversation

@BatLeDev
Copy link
Copy Markdown
Member

@BatLeDev BatLeDev commented Jun 1, 2026

The runs list wasn't reliably reflecting live websocket patches; also drops a dead prop and refreshes the loading skeleton.

What changed

  • processing-runs.vue: the runs list is now backed by a local displayRuns ref synced from the fetch; onRunPatch mutates that ref (Object.assign) so WS patches render live, falling back to a full refresh for an unknown run id. Removes leftover debug console.logs.
  • [id]/index.vue: redesigned the vjsf skeleton loader (a row of column skeletons instead of one block); drops the dead :is-small prop.
  • index.vue: drops the dead :is-small prop.

Why
Live run-status patches over WS didn't consistently update the rendered list; is-small was an unused prop on both call sites.

Regression risks

  • Rendering switched from iterating runs.data.value?.results directly to a watched displayRuns ref (watch is immediate) — verify the pagination/refresh paths still populate it.
  • is-small removed from <processing-actions> and the processings-list call sites — confirmed unused (no component declares the prop), but worth a glance.

@github-actions github-actions Bot added the fix label Jun 1, 2026
@albanm albanm merged commit b52caae into master Jun 1, 2026
4 checks passed
@albanm albanm deleted the fix-runs-list-ws branch June 1, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants