bd09c55c47
Integrates nine commits of reviewed work from the lane-go branch after the automated resolver failed on this merge five times (each attempt dying on the malformed-result defect whose fix is contained in this same merge). Integration decisions: - Search: kept main's shipped design (Store.Search + SearchResponse.Results) and dropped lane-go's parallel, older attempt (an unused Message.Matches field, an absent runs.search, and two partial TUI plumbing blocks). lane-go itself did not compile: protocol.SearchMatch was undefined and model.go referenced searchNav, requestSearch and applyRunNav, which exist nowhere. Those partial TUI blocks are removed; the queued TUI omni-search item will implement the surface properly on main's design. - Both sides' additions are kept where they are independent: run titles and provenance, the human decision stage and its CLI/TUI surface, the derived stage verdict, the stale-client guard, the line-oriented result format, and main's search command. - The search key's help label is now "/ omni search"; the two tests asserting the old label are updated rather than the label reverted. - docs/cli.md and the packaged operations reference carry both sides' text. Verified: go build ./... , go vet ./... and the full go test ./... suite pass.
145 lines
4.6 KiB
CSS
145 lines
4.6 KiB
CSS
/* Throwaway spike styling. Dark-first, echoing the Android client's theme. */
|
|
:root {
|
|
color-scheme: dark;
|
|
--bg: #0e1513;
|
|
--surface: #171f1d;
|
|
--surface-2: #1f2a27;
|
|
--border: #2c3a36;
|
|
--text: #e2e8e6;
|
|
--muted: #9db0ab;
|
|
--accent: #7fd1bb;
|
|
--ok: #6bd39a;
|
|
--warn: #e6c268;
|
|
--bad: #ef8a8a;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
gap: 16px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 16px;
|
|
background: var(--surface);
|
|
border-bottom: 1px solid var(--border);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.brand { display: flex; gap: 8px; align-items: baseline; }
|
|
.brand strong { font-size: 16px; }
|
|
|
|
.connbar { display: flex; gap: 8px; align-items: center; flex: 1 1 420px; justify-content: flex-end; }
|
|
|
|
input[type="text"] {
|
|
flex: 1 1 260px;
|
|
min-width: 200px;
|
|
padding: 7px 10px;
|
|
background: var(--surface-2);
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
font: inherit;
|
|
padding: 7px 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border);
|
|
background: var(--surface-2);
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
}
|
|
button:hover { border-color: var(--accent); }
|
|
button.ghost { background: transparent; }
|
|
|
|
.tabs { display: flex; gap: 4px; align-items: center; padding: 10px 16px 0; }
|
|
.tabs .spacer { flex: 1; }
|
|
.tab { border-color: transparent; background: transparent; }
|
|
.tab.active { background: var(--surface-2); border-color: var(--border); color: var(--accent); }
|
|
|
|
.split { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 16px; padding: 16px; align-items: start; }
|
|
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
|
|
|
|
.list, .detail {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.row {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: left;
|
|
border: 0;
|
|
border-bottom: 1px solid var(--border);
|
|
border-radius: 0;
|
|
background: transparent;
|
|
padding: 10px 12px;
|
|
}
|
|
.row:last-child { border-bottom: 0; }
|
|
.row:hover { background: var(--surface-2); }
|
|
.row.selected { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--accent); }
|
|
.row-head { display: flex; gap: 8px; justify-content: space-between; align-items: center; }
|
|
.row-title { font-weight: 600; }
|
|
.row-meta { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
|
|
.row-diag { display: block; color: var(--warn); font-size: 12px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
.usage { display: flex; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--border); font-size: 12px; }
|
|
|
|
.detail { padding: 16px; }
|
|
.detail h2 { margin: 0 0 12px; display: flex; gap: 10px; align-items: center; }
|
|
.detail h3 { margin: 18px 0 8px; font-size: 14px; color: var(--muted); text-transform: none; }
|
|
|
|
.kv { display: grid; gap: 4px; }
|
|
.kv.tight { margin-top: 6px; }
|
|
.kv-row { display: grid; grid-template-columns: 150px 1fr; gap: 10px; }
|
|
.kv-key { color: var(--muted); }
|
|
.kv-val { word-break: break-word; }
|
|
|
|
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
|
|
.stages li { display: flex; gap: 8px; align-items: center; }
|
|
|
|
.steps { display: grid; gap: 8px; }
|
|
.step { border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
|
|
.step-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
|
|
|
.artifacts { margin-top: 8px; font-size: 12px; }
|
|
.artifacts a { color: var(--accent); margin-right: 10px; }
|
|
|
|
.chip { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; border: 1px solid var(--border); color: var(--muted); }
|
|
.chip-running, .chip-queued { color: var(--warn); border-color: var(--warn); }
|
|
.chip-succeeded { color: var(--ok); border-color: var(--ok); }
|
|
.chip-failed { color: var(--bad); border-color: var(--bad); }
|
|
|
|
.dot::before { content: "●"; margin-right: 6px; }
|
|
.dot.ok::before { color: var(--ok); }
|
|
.dot.warn::before { color: var(--warn); }
|
|
.dot.bad::before { color: var(--bad); }
|
|
.dot.idle::before { color: var(--muted); }
|
|
.state { color: var(--muted); white-space: nowrap; }
|
|
|
|
.muted { color: var(--muted); }
|
|
.ok { color: var(--ok); }
|
|
.warn { color: var(--warn); }
|
|
.bad { color: var(--bad); }
|
|
.pad { padding: 12px; }
|
|
|
|
.banner { padding: 8px 16px; }
|
|
.banner.warn { background: #2a2410; color: var(--warn); }
|
|
.banner.error { background: #2c1616; color: var(--bad); }
|
|
|
|
code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: 12px; }
|