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

+4 -1
View File
@@ -178,7 +178,10 @@
'<div class="lt-empty-state">' +
'<div class="lt-empty-state-icon">&#x2699;</div>' +
'<div class="lt-empty-state-title">No workers connected</div>' +
'<div class="lt-empty-state-body">Workers appear here once they connect and send a heartbeat.</div>' +
'<div class="lt-empty-state-body">A worker is a small agent that runs commands on its host. Install it there, ' +
'set <code>WORKER_NAME</code>, <code>PULSE_SERVER</code>, <code>PULSE_WS</code> and <code>WORKER_API_KEY</code> ' +
'(the server\'s key), and start it: it shows up here within a few seconds.</div>' +
'<a class="lt-btn lt-btn-secondary" href="https://code.lotusguild.org/LotusGuild/pulse#pulse-worker-setup" target="_blank" rel="noopener">Worker setup guide</a>' +
'</div>';
return;
}