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:
+39
-2
@@ -306,7 +306,8 @@
|
||||
.search-kind { flex: 0 0 auto; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; padding-top: 2px; }
|
||||
/* An artifact result shows the artifact: a real thumbnail for an image, a type
|
||||
tile for everything else, so "artifact" never stands in for the content. */
|
||||
.search-row-artifact { align-items: center; }
|
||||
.search-row-artifact,
|
||||
.search-row-with-icon { align-items: center; }
|
||||
.search-thumb {
|
||||
flex: 0 0 auto;
|
||||
width: 56px;
|
||||
@@ -320,6 +321,7 @@
|
||||
flex: 0 0 auto;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
color: var(--color-muted);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -330,6 +332,7 @@
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
.search-type svg { width: 22px; height: 22px; }
|
||||
.search-open-run {
|
||||
margin-top: 4px;
|
||||
padding: 2px 8px;
|
||||
@@ -608,7 +611,7 @@
|
||||
}
|
||||
.audit-tab:hover { background: var(--tint-hover); color: var(--color-text); }
|
||||
.audit-tab.active {
|
||||
background: var(--tint-selected);
|
||||
background: var(--color-bg);
|
||||
color: var(--color-text);
|
||||
font-weight: var(--weight-semibold);
|
||||
box-shadow: inset 2px 0 0 var(--color-accent);
|
||||
@@ -626,3 +629,37 @@
|
||||
}
|
||||
.audit-tab { white-space: nowrap; }
|
||||
}
|
||||
|
||||
|
||||
/* Audit documents: rendered/raw switch, the file link, and the session frame. */
|
||||
.audit-doc-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.audit-doc-toggle {
|
||||
display: inline-flex;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-control);
|
||||
overflow: hidden;
|
||||
}
|
||||
.audit-doc-mode {
|
||||
padding: 4px 10px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
.audit-doc-mode:hover { background: var(--tint-hover); color: var(--color-text); }
|
||||
.audit-doc-mode.active { background: var(--color-bg); color: var(--color-text); font-weight: 600; }
|
||||
.audit-doc-open { color: var(--color-accent); font-size: 12px; }
|
||||
.audit-doc-body { min-height: 0; }
|
||||
.audit-session-frame {
|
||||
width: 100%;
|
||||
height: min(70vh, 720px);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-card);
|
||||
background: var(--color-bg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user