web: show the turn files in the audit, with raw and rendered views

- The audit Input/Output/Memory tabs fetch the actual input.md/output.md/
  memory.md, so the outcome section is visible and each document has a
  Rendered/Raw switch plus an Open raw file link. The Session tab renders the
  exported HTML in place with the same link.
- The audit's selected tab uses the normal selected surface, not the accent tint.
- The run Summary no longer carries an Audit & debug section; the stage pane's
  Audit & debug button is the one door.
- Search results all lead with one 56px tile: image thumbnails, artifact type
  tiles, or a kind glyph (pipeline/version/run/step/field); no text kind labels.
- Chat star and more sit on the row's top-right and bottom-right corners, revealed
  on hover/focus, and the row menu opens below them without losing clicks.
- The chat spinner starts at the wall-clock animation phase, so frequent
  streaming re-renders no longer snap it back to the animation start.
This commit is contained in:
2026-10-20 01:15:09 +01:00
parent d130615fae
commit 2a8a5bf334
5 changed files with 232 additions and 88 deletions
+34 -18
View File
@@ -138,40 +138,56 @@
.chat-row .row-title { min-width: 0; }
.chat-row .row-meta { grid-column: 1; }
.chat-row-model { font-size: 11px; }
/* Star + actions live in a hover/focus overlay, so the title uses the row's full
width instead of losing a permanent column on the right. */
/* Star (top-right) and the more menu (bottom-right) sit over the row's own
corners on hover/focus, so they never become an extra row or reserve width. */
.chat-row-actions {
position: absolute;
top: 50%;
right: 8px;
transform: translateY(-50%);
display: flex;
align-items: center;
gap: 2px;
padding: 2px;
border-radius: var(--radius-control);
background: var(--color-surface);
box-shadow: 0 0 0 1px var(--color-divider);
inset: 0;
opacity: 0;
pointer-events: none;
transition: opacity 100ms ease-out;
}
.chat-row-actions > .chat-star,
.chat-row-actions > .chat-menu-button,
.chat-row-actions > .chat-menu-panel { pointer-events: auto; }
.chat-row:hover .chat-row-actions,
.chat-row:focus-within .chat-row-actions,
.chat-row.menu-open .chat-row-actions {
opacity: 1;
pointer-events: auto;
}
.chat-row.menu-open .chat-row-actions { opacity: 1; }
/* An open menu paints above the rows below it, not under their content. */
.chat-row.menu-open { z-index: 30; }
@media (hover: none) {
.chat-row-actions { position: static; transform: none; opacity: 1; pointer-events: auto; background: transparent; box-shadow: none; margin-top: 4px; }
.chat-row-actions { opacity: 1; }
.chat-row-actions > .chat-star,
.chat-row-actions > .chat-menu-button,
.chat-row-actions > .chat-menu-panel { pointer-events: auto; }
}
.chat-row-actions button { padding: 3px 10px; font-size: 12px; }
/* The local star: outline when unstarred, filled and accented when starred. */
.chat-star { min-width: 28px; padding: 3px 6px; color: var(--muted); font-size: 15px; line-height: 1; }
.chat-star {
position: absolute;
top: 6px;
right: 8px;
min-width: 26px;
padding: 2px 5px;
border-radius: var(--radius-control);
background: var(--color-surface);
color: var(--muted);
font-size: 15px;
line-height: 1;
}
.chat-star:hover { color: var(--color-text); }
.chat-star.starred { color: var(--color-accent); }
.chat-row .chat-menu-button {
position: absolute;
right: 8px;
bottom: 6px;
background: var(--color-surface);
border-radius: var(--radius-control);
}
/* The row menu opens below the bottom-right button; the open row stacks above
its neighbours so the panel is not covered by the next row. */
.chat-row .chat-menu-panel { top: calc(100% + 4px); bottom: auto; right: 8px; }
.chat-menu-wrap { position: relative; }
.chat-menu-button { min-width: 30px; font-size: 15px; line-height: 1; }
.chat-menu-panel {