You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(node-ui): S5 — breadcrumb navigation; drop in-detail back button
Replace the in-detail "← Back to Context Graph" button with a persistent
breadcrumb in ProjectHeaderStrip, the sole back-affordance for both the
entity and assertion detail views.
- buildBreadcrumbHops: Context Graph › {Layer full-name | Subgraph
displayName} › {entity | assertion name}. Middle hop is EITHER the
layer OR the subgraph, never both (§4.7.1). First hop → overview;
middle hop (when a detail is open) → restore the M2 origin; trailing
hop is a non-interactive span ("you are here").
- ProjectHeaderStrip renders the hops inline in the existing
.v10-project-strip flex row (does NOT stack), reusing
.v10-project-strip-sep (now 6px each-side padding) for the › glyph.
Clickable hops: --text-link + underline-on-hover + focus-visible ring;
per-hop max-width 200px + ellipsis (first hop stays intact);
unconditional title= tooltip on every hop. Removes the now-orphaned
.v10-project-strip-name / -sg / -sg-icon rules.
- KADetailView drops its .v10-ka-back button + onClose prop; the
breadcrumb drives close via ProjectView.handleDetailClose.
AssertionDetailView never had a back button (S4 lock).
- ProjectView: ProjectHeaderStrip wired with activeLayer + detailLabel
(entity label / assertion name) + onOverview (→ overview) +
onRestoreOrigin (= handleDetailClose); KADetailView onClose removed.
Note: the .v10-ka-back CSS class is retained — AgentProfileView's
unrelated "← Back" still uses it (a shell-level back, sibling of the
protected PanelCenter "Back to Project"). The "Back to Context Graph"
label and the detail-view button are gone (T13 guards both).
Tests: T04/T05 (breadcrumb hop construction + cross-subgraph update,
helpers); T11/T12 (ellipsis tooltip + clickable/trailing affordance,
DOM); T13 (back-affordance-removed source guard); existing M2 close
tests rewired to the breadcrumb restore path; ka-detail-label updated to
assert the back button is gone.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments