Files
pad/web/src
xarmian 1c3db435a3 feat(web): graph focus interaction — fly-to, neighborhood highlight, detail card (TASK-1734) (#702)
* feat(web): graph focus interaction — fly-to, neighborhood highlight, detail card (TASK-1734)

Clicking a node now enters focus mode instead of navigating away:
the camera flies to the node (800ms, standard distance-ratio pattern
with at-origin guard), its neighborhood (any shared edge type) keeps
full color while everything else dims to low-alpha, adjacent links
brighten and the rest fade hard. A DetailCard slides in from the
right: collection dot + ref + title, status pill (terminal styling),
child count, relative updated-at, plus priority/assignee fetched
lazily via the items API (stale-select token), and the "Open item"
button carrying the old click-through navigation.

Deselect via background click, Escape (only when a selection is
active), or automatically when the workspace/show-completed payload
changes. Selection sets stay plain non-reactive lets per CONVE-1688;
accessor re-evaluation is explicit via graph.refresh().

Parent: PLAN-1730.

* fix(web): focus-mode link adjacency vs mutated endpoints per Codex review (round 1)

The force layout mutates link source/target from ref strings into node
objects after ingest, so linkColor's adjacency check against
selectedRef silently failed once the simulation ran. Preserve the raw
refs as sourceRef/targetRef at mapping time and compare those.
2026-06-05 18:57:07 -04:00
..
2026-03-26 01:52:36 +00:00