Skip to content

Navigation: graph → text (name occurrences, CTE body highlight) #23

Closed

Description

@melonamin

Split out from #17.

Depends on: Node nameSpans / bodySpan (sibling issue).

Proposal

  • On each node, surface ◀ n/total ▶ controls bound to nameSpans.
  • Single-click a node → scroll editor to the first nameSpan, highlight it.
  • Double-click a CTE node → scroll to bodySpan, highlight the body range.
  • Keyboard: `n` / `Shift+n` cycles forward/back through occurrences of the focused node.

Out of scope

Edge double-click → JOIN highlight. Tracked separately as a stretch item once edges carry parsing-context positions.

Acceptance

Playwright test with a multi-reference CTE verifies counter, cycling, and body highlight.

Activity

  1. added
    enhancement
    on Apr 12, 2026
  2. added a commit that references this issue on Apr 13, 2026
    546a153
  3. added a commit that references this issue on Apr 29, 2026
    83b57ee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions