Empty states say what to do next (#33)
CI / Lint (eslint) (pull_request) Successful in 24s
CI / Test (jest) (pull_request) Successful in 22s
CI / Security (npm audit) (pull_request) Successful in 10s
CI / Integration (api) (pull_request) Successful in 2m39s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m7s
CI / UI (playwright) (pull_request) Successful in 2m25s
CI / Deploy (pull_request) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 2m23s
CI / Notify (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped

- Workers: what a worker is, the four settings it needs, and a link to
  the README's worker setup.
- Scheduler: what a schedule does, a + New Schedule button, and a
  pointer to try the command in Quick Command first.
- Workflows: links to the step reference and to Quick Command, under the
  existing Create button.
- The "No workers available" pickers in Quick Command and the schedule
  form link to the Workers page.
- UI test with stubbed empty lists checks each hint and action.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jaredandClaude Opus 5.5 committed 2026-11-23 14:08:30 -05:00
1 parent c5d2258f52
commit d1ef6297ec
5 files changed
+37 -4

No files matched your search

+2 -1
View File
@@ -78,7 +78,8 @@
const wrap = document.getElementById('qc-worker-list');
if (!wrap) return;
if (workers.length === 0) {
wrap.innerHTML = '<div class="lt-empty-state lt-empty-state--sm"><div class="lt-empty-state-title">No workers available</div></div>';
wrap.innerHTML = '<div class="lt-empty-state lt-empty-state--sm"><div class="lt-empty-state-title">No workers available</div>' +
'<div class="lt-empty-state-body">Connect one first: see <a href="/workers">Workers</a>.</div></div>';
return;
}
const keep = preserveIds || new Set();