chore(desktop): trivial quality sweep — dedup classList.add / strip lane codenames from CSS + file headers

T-01 chat-session-graph.js: remove redundant classList.add (setAttribute
    below already sets 'active'; leftover from lane-chat-triple merge).
T-02 style.css: rewrite two section headers to describe *what* the section
    is, not which internal lane produced it (Rubric-driven views / Artifact
    panel tabbed views + version evolution).
T-04-partial chat-session-graph.js / chat-side-drawer.js / growth-v2.js:
    drop 'feat/chat-triple-view', 'lane-chat-triple', 'task #140' codenames
    from file header docblocks — user-facing source hygiene.

4 files, +5/-7, no behavior change.
This commit is contained in:
ZiyaZhang
2026-07-19 01:26:58 -07:00
parent fc558c2db8
commit 6c4d0ae805
4 changed files with 5 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
// chat-session-graph.js — pure-SVG DAG rendering of a session's turn
// sequence for the Chat pane's Graph view (feat/chat-triple-view).
// sequence for the Chat pane's Graph view.
//
// Nodes: user messages (grey), agent turns (accent), interrupted turns
// (orange rim). Edges:
@@ -157,7 +157,6 @@ function renderSessionGraph(container, snapshot) {
g.dataset.nodeKind = node.kind
if (node.turnId) g.dataset.turnId = node.turnId
if (node.turnId && snapshot && snapshot.selectedTurnId === node.turnId) {
g.classList && g.classList.add && g.classList.add('active')
g.setAttribute('class', cls + ' active')
}
const circle = doc.createElementNS(SVG_NS, 'circle')

View File

@@ -1,5 +1,4 @@
// chat-side-drawer.js — right-side fold-out drawer for the Chat pane
// (feat/chat-triple-view, lane-chat-triple).
// chat-side-drawer.js — right-side fold-out drawer for the Chat pane.
//
// Three sections rendered in order:
// 1. Current Turn — model / tokens / duration / latency / session id /

View File

@@ -1,6 +1,6 @@
// Growth — rubric-evolution time-series view.
//
// This page was the "compact-window evolution log" (task #140). It has been
// This page was previously the "compact-window evolution log". It has been
// re-authored as a rubric-score time-series view backed by the rubric-fusion
// event log. Horizontal axis = time (day) or harness version; each series =
// one rubric-dim; y = mean-01 score (or pass-rate, toggled by the header

View File

@@ -12144,7 +12144,7 @@ details.devtools-row[open] > .devtools-row-summary::before { transform: rotate(9
* inside it, not against the viewport root. */
.pane[data-pane="chat"] { position: relative; }
/* ============================================================ */
/* D lane: Rubric fusion (Rubrics + Growth + Runtime shared) */
/* Rubric-driven views (Rubrics + Growth + Runtime) */
/* ============================================================ */
/* --- Rubrics view: hint card + per-tile stats strip --- */
@@ -12395,7 +12395,7 @@ details.devtools-row[open] > .devtools-row-summary::before { transform: rotate(9
outline-offset: -2px;
}
/* ==========================================================================
* Artifact panel — V2 (lane-artifact-v2, 2026-07-19)
* Artifact panel — tabbed views + version evolution
*
* The panel wraps the artifact-group with a top tab bar (List/Board/
* Timeline). Keeps the L0 compact-row shape intact for List; Board and