From 6c4d0ae80568511c91a313e3394a278a3a045652 Mon Sep 17 00:00:00 2001 From: ZiyaZhang Date: Sun, 19 Jul 2026 01:26:58 -0700 Subject: [PATCH] =?UTF-8?q?chore(desktop):=20trivial=20quality=20sweep=20?= =?UTF-8?q?=E2=80=94=20dedup=20classList.add=20/=20strip=20lane=20codename?= =?UTF-8?q?s=20from=20CSS=20+=20file=20headers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- examples/desktop/src/renderer/chat-session-graph.js | 3 +-- examples/desktop/src/renderer/chat-side-drawer.js | 3 +-- examples/desktop/src/renderer/growth-v2.js | 2 +- examples/desktop/src/renderer/style.css | 4 ++-- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/examples/desktop/src/renderer/chat-session-graph.js b/examples/desktop/src/renderer/chat-session-graph.js index cd0aa84135..a1bae51aa1 100644 --- a/examples/desktop/src/renderer/chat-session-graph.js +++ b/examples/desktop/src/renderer/chat-session-graph.js @@ -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') diff --git a/examples/desktop/src/renderer/chat-side-drawer.js b/examples/desktop/src/renderer/chat-side-drawer.js index 12a7ee5c4d..27ae169ed3 100644 --- a/examples/desktop/src/renderer/chat-side-drawer.js +++ b/examples/desktop/src/renderer/chat-side-drawer.js @@ -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 / diff --git a/examples/desktop/src/renderer/growth-v2.js b/examples/desktop/src/renderer/growth-v2.js index 93c9a563b6..54a9e9909e 100644 --- a/examples/desktop/src/renderer/growth-v2.js +++ b/examples/desktop/src/renderer/growth-v2.js @@ -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 diff --git a/examples/desktop/src/renderer/style.css b/examples/desktop/src/renderer/style.css index 315e6e6b3e..42f2465383 100644 --- a/examples/desktop/src/renderer/style.css +++ b/examples/desktop/src/renderer/style.css @@ -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