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:
+61
-4
@@ -84,11 +84,31 @@
|
||||
text-transform: uppercase;
|
||||
color: var(--muted);
|
||||
}
|
||||
/* The CLOSED group's own expand/collapse control; the chevron sits at its end. */
|
||||
.chat-group-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
padding: 8px 12px 4px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
font: inherit;
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
.chat-group-toggle:hover { color: var(--color-text); }
|
||||
.chat-group-toggle .chevron { font-size: 12px; text-transform: none; }
|
||||
|
||||
.chat-row {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 2px 8px;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: 2px;
|
||||
align-items: start;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -96,7 +116,7 @@
|
||||
and the Chat actions menu is a sibling of this button. */
|
||||
.chat-session-button {
|
||||
grid-column: 1;
|
||||
grid-row: 1 / span 2;
|
||||
grid-row: 1 / span 3;
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
width: 100%;
|
||||
@@ -111,11 +131,47 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
.chat-session-button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
||||
/* The inner session button must never take the generic button hover fill: on a
|
||||
selected row it read as a darker rectangle inside the row's own padding. */
|
||||
.chat-session-button:hover { background: none; }
|
||||
.chat-row .row-head { grid-column: 1; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
||||
.chat-row .row-title { min-width: 0; }
|
||||
.chat-row .row-meta { grid-column: 1; }
|
||||
.chat-row-actions { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
|
||||
.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. */
|
||||
.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);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 100ms ease-out;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
/* 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 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:hover { color: var(--color-text); }
|
||||
.chat-star.starred { color: var(--color-accent); }
|
||||
.chat-menu-wrap { position: relative; }
|
||||
.chat-menu-button { min-width: 30px; font-size: 15px; line-height: 1; }
|
||||
.chat-menu-panel {
|
||||
@@ -181,6 +237,7 @@
|
||||
.chat-activity-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
|
||||
.chat-activity-streaming { color: var(--accent); }
|
||||
.chat-activity-new { color: #7fb2f0; }
|
||||
.chat-activity-closed { color: var(--muted); }
|
||||
|
||||
.chat-detail {
|
||||
flex: 1 1 auto;
|
||||
|
||||
Reference in New Issue
Block a user