wg-html-declutter

wg html: declutter top-of-page text — move edge-color legend to clickable side panel

Metadata

Statusdone
Assignedagent-1282
Agent identityf51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e
Created2026-04-30T16:34:56.223540474+00:00
Started2026-04-30T16:35:23.445984400+00:00
Completed2026-04-30T17:04:49.349980813+00:00
Tagsfix,html,viz,polish, eval-scheduled
Eval score0.83
└ blocking impact0.90
└ completeness1.00
└ coordination overhead0.90
└ correctness0.95
└ downstream usability0.85
└ efficiency0.85
└ intent fidelity0.63
└ style adherence0.95

Description

Description

The wg html output has redundant explanatory text at the top:

Workgraph
921 tasks shown · click a task id to inspect
Dependency graph (click a task to inspect — magenta = upstream deps · cyan = downstream consumers)

Two near-duplicate 'click a task id to inspect' instructions, plus a long parenthetical explanation of edge colors. Visually heavy at the top of every page.

User quote 2026-04-30: 'This text is kind of redundant. Basically, we could just have the top, and then the only thing you want to do is explain that the... Maybe this is just shown when you click. ... yeah, just explain the coloring of the edges. Maybe there's some legend you can click that has a full description of everything that kind of pops up in the side window?'

Spec

New top header (clean)

Workgraph
921 tasks shown

That's it. Two lines. No 'click to inspect' redundancy (clicking is naturally discoverable; the cursor changes on hover).

Legend / help button

Small icon or 'Legend' link in the corner of the page header. Clicking opens the side panel with a full legend covering:

  • Edge colors: magenta (upstream deps), cyan (downstream consumers), yellow (cycle)
  • Status colors: open/in-progress/done/failed/blocked/abandoned/pending-eval (with the corrected palette from the polish-wg-html task)
  • Click behaviors: 'click any task id or status glyph to inspect; click links inside the panel to navigate'
  • Theme toggle reminder
  • Any other affordances (--chat content, --since filter, etc. — short notes)

The legend is the single source of UI explanation; the page header stays clean.

Side panel reuse

Reuse the existing side-panel infrastructure from wg-html-v2 — clicking 'Legend' just sets the panel content to the legend instead of a task detail. Closing the panel (Esc, click X) returns to the previous task detail or empty state.

Validation

  • Failing test: top of page shows 'Workgraph' + task count, NO 'Dependency graph (click...)' parenthetical
  • Live smoke: open html in browser, confirm clean header. Click 'Legend' button, confirm side panel opens with full legend covering edges + statuses + interactions
  • Closing the legend panel returns to default state (or last-shown task detail)
  • No regression of any other wg-html-v2 features
  • cargo build + cargo test pass
  • cargo install --path . was run before claiming done

Depends on

Required by

Log