Skip to content

Dashboard: say so when no node has locked a job, instead of loading forever - #307

Merged
msx752 merged 1 commit into
developfrom
fix/dashboard-empty-lock-holders
Nov 26, 2026
Merged

msx752 merged 1 commit into
developfrom
fix/dashboard-empty-lock-holders

Conversation

@msx752

@msx752 msx752 commented Nov 26, 2026

Copy link
Copy Markdown
Owner

The Lock holders card on the home page showed its loading placeholder whenever its list was empty. A store where no job was locked yet therefore looked like a page that never finished loading, while the subtitle already said "0 names that locked jobs".

Change

  • Once the list is loaded and empty, the card says "No node has locked a job yet. A node is listed here once it locks one." The placeholder stays while the request runs.

What does not change

  • The endpoint, the rows and paging when there are lock holders.

Testing

  • In a browser (sample app, ticker/machine/jobs answered with []): before, three placeholder rows after 15 s while the rest of the page had loaded; after, the message and no placeholder. With lock holders, the rows show as before.
  • The dashboard suite passes, vue-tsc --build clean, no new lint messages. This PR changes no .NET file; every .NET test project passed on the same develop base.
  • An independent review of the diff found no issue.

…orever

The Lock holders card showed its loading placeholder whenever the list
was empty, so a store where no job was locked yet looked like a page
that never finished loading (the subtitle already said "0 names").

Once the list is loaded and empty, the card says that no node has locked
a job yet. The placeholder stays for the time the request runs.
@msx752
msx752 merged commit bf912b4 into develop Nov 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant