web: put the work first and the audit evidence behind a door

- Turn files (input/memory/output/session) are system artifacts now: they are
  never tiles in the run or stage galleries. Shared public files are attributed
  to the visit that first recorded them, so a run counts 3 stage artifacts, not
  one copy of each per later stage.
- Audit & debug opens a dialog with vertical Input / Output / Memory / Session /
  Definition tabs, for a visit from the stage pane or the run Summary.
- Run tabs are Summary / Graph / Timeline; Input and Output are Summary sections
  with Artifacts, Files changed and Audit. Each stage pane gains Files changed.
- Artifacts gain a gallery/list switch (remembered) and full-name wrapping; the
  copy/share actions are hover-or-focus icon buttons.
- Status badge above the run title; no live badges on the run surfaces. The runs
  list leads with the pipeline name and the stored task title beneath it.
- Chat rows: title + coloured status word only, then directory, then model; no
  operator or closed chips, no dot. The more/star cluster is a hover/focus
  overlay so the title uses the row's width, and an open menu stacks above rows.
  Closed chats collapse behind a chevron. Sessions can be starred locally and
  sort in a Starred group. The chat header no longer repeats status/dir/model.
- A visible rail divider separates Search from the destinations; the page has a
  real favicon/apple-touch icon and the rail brand wears it.
- Smoke updated: no live badges, 3 detail tabs, field hits open Summary sections,
  closed chats expand for checks, the fixture viewer uses shot.png/missing.txt
  and the audit for markdown.
This commit is contained in:
2026-10-20 01:00:01 +01:00
parent ca28d08269
commit d130615fae
25 changed files with 1167 additions and 366 deletions
+61 -4
View File
@@ -154,18 +154,75 @@ a { color: var(--color-accent); }
}
.artifact-play { font-size: 18px; color: var(--color-text); }
.artifact-kind { color: var(--color-muted); font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); }
.artifact-name { font-size: 12px; font-weight: var(--weight-semibold); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.artifact-name {
font-size: 12px;
font-weight: var(--weight-semibold);
max-width: 100%;
line-height: 1.35;
overflow-wrap: anywhere;
/* Up to three lines: a long recorded name is readable, never cut to an
indistinguishable prefix. */
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.artifact-size { color: var(--color-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.artifact-actions { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; }
/* Copy link / Share: icon-only, and only while the tile (or row) is hovered or
has focus. The buttons stay in the tab order, so keyboard users still reach
them; the viewer carries the same actions permanently. */
.artifact-actions {
position: absolute;
top: 8px;
right: 8px;
display: flex;
gap: 4px;
opacity: 0;
pointer-events: none;
transition: opacity 100ms ease-out;
}
.artifact-tile-wrap:hover .artifact-actions,
.artifact-tile-wrap:focus-within .artifact-actions,
.artifact-list-row:hover .artifact-actions,
.artifact-list-row:focus-within .artifact-actions {
opacity: 1;
pointer-events: auto;
}
.artifact-action {
width: 24px;
min-height: 24px;
padding: 0 6px;
font-size: 10px;
padding: 0;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: var(--radius-s);
background: rgba(10, 10, 11, 0.72);
color: var(--color-text);
}
.artifact-action svg { width: 14px; height: 14px; }
.artifact-action:disabled { opacity: 0.4; cursor: not-allowed; }
/* The list form of the artifact gallery. */
.artifact-list { display: grid; gap: 0; }
.artifact-list-row { position: relative; border-bottom: 1px solid var(--color-divider); }
.artifact-list-open {
display: grid;
grid-template-columns: 84px minmax(0, 1fr) auto;
gap: 10px;
align-items: center;
width: 100%;
padding: 7px 78px 7px 8px;
border: 0;
background: transparent;
color: inherit;
font: inherit;
text-align: left;
cursor: pointer;
}
.artifact-list-open:hover { background: var(--color-surface-2); }
.artifact-list-name { font-size: 12px; font-weight: var(--weight-semibold); overflow-wrap: anywhere; }
.artifact-list-row .artifact-actions { top: 50%; transform: translateY(-50%); }
/* The per-visit session export link / notice (parity R9). */
.session-export { margin-top: 6px; font-size: 12px; }
.session-link { color: var(--color-accent); }