Files
pulse/public/assets/pages/quick.css
T
jaredandClaude Opus 5.5 c01e3ead32
CI / Lint (eslint) (pull_request) Successful in 19s
CI / Test (jest) (pull_request) Successful in 30s
CI / Security (npm audit) (pull_request) Successful in 14s
CI / Integration (api) (pull_request) Successful in 2m35s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m52s
CI / UI (playwright) (pull_request) Successful in 2m31s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 2m35s
Quick Command shows the output right under the form (#5)
After Execute, each worker gets a card that says Running until its result
arrives, then shows the status (Completed, Failed (exit N), Timed out,
Killed), the duration, stdout, stderr in red, and a link to the full
record in Executions. Multi-worker runs get one card per worker.

- The result comes from the live command_result event; one that arrives
  before the POST returns is buffered. If the event is missed (e.g. the
  live connection dropped), the card polls the execution every 5 s.
- Each stream shows up to 100,000 characters, with a note pointing to
  Executions for the rest.
- The server's command_result broadcast now includes duration.
- [hidden] now always wins over component display rules: both worker
  pickers used to show in either mode because .lt-form-group sets
  display: flex.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 15:27:28 -05:00

121 lines
2.3 KiB
CSS

/* PULSE: Quick Command page (WP-F) styles. Prefix: qc- */
.qc-mode-row {
display: flex;
gap: var(--space-lg, 1.5rem);
flex-wrap: wrap;
}
.qc-radio-label {
display: inline-flex;
align-items: center;
gap: 0.5rem;
cursor: pointer;
}
.qc-worker-list {
background: var(--bg-primary);
border: 1px solid var(--border-color);
padding: 0.75rem;
max-height: 220px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.qc-worker-row {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.4rem 0.5rem;
cursor: pointer;
border: 1px solid transparent;
}
.qc-worker-row--online {
background: rgba(0, 255, 136, 0.05);
}
.qc-worker-actions {
margin-top: 0.6rem;
}
.qc-result {
margin-top: 1.25rem;
}
.qc-scroll-list {
max-height: 400px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.qc-list-item {
cursor: pointer;
padding: 0.75rem;
background: var(--bg-primary);
border: 1px solid var(--border-dim, var(--border-color));
border-left: 3px solid var(--accent-green);
transition: var(--transition-fast, background 0.15s);
}
.qc-list-item:hover {
background: rgba(0, 212, 255, 0.06);
}
.qc-list-item-title {
color: var(--accent-green);
font-weight: 700;
margin-bottom: 0.25rem;
}
.qc-list-item-code {
font-family: var(--font-mono);
font-size: 0.85em;
color: var(--accent-amber);
margin-bottom: 0.25rem;
}
.qc-list-item-meta {
color: var(--text-muted);
font-size: 0.85em;
}
/* Results under the form, one card per worker (#5). */
.qc-run-summary {
font-size: 0.75rem;
color: var(--text-secondary);
margin-bottom: 0.5rem;
}
.qc-run {
border: 1px solid var(--border-dim, var(--border-color));
background: var(--bg-primary);
padding: 0.6rem 0.75rem;
margin-bottom: 0.6rem;
min-width: 0;
}
.qc-run-head {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.4rem 0.75rem;
}
.qc-run-time { color: var(--text-muted); font-size: 0.75rem; }
.qc-run-link { margin-left: auto; font-size: 0.75rem; }
.qc-run-body pre {
max-height: 24rem;
overflow: auto;
white-space: pre-wrap;
overflow-wrap: anywhere;
margin: 0.5rem 0 0;
}
.qc-out-err {
color: var(--accent-red);
border-left-color: var(--accent-red);
text-shadow: none;
}
.qc-out-note { color: var(--text-muted); font-size: 0.72rem; margin-top: 0.4rem; }