feat(ui): nested scope-stack breadcrumb and a breadcrumb in single-definition view

Aperta
#118 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
frontend

Direzione di ricerca

Start with web/src/lib/components/browse/SourcePane.svelte around line 333, where the breadcrumb calls innermostSymbolAt; change it to list every enclosing symbol instead of only the innermost one. For the single-definition view, offset line lookups from node.startLine. Done means a three-level fixture renders the full stack and the existing breadcrumb live check is updated to match.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:ui enhancement priority:low spec-needed
What exists today?

The source pane's breadcrumb (BRW-10).

How does it behave now?

It shows only the innermost enclosing symbol at the first visible line (innermostSymbolAt). The single-definition view has no breadcrumb.

How should it behave?

Show every enclosing symbol (for example type Foo › method Bar › closure). In single-definition view, offset from node.startLine, so a long type body names the method being read.

What kind of improvement?

Output clarity or formatting

Would this change existing behavior?

UI only; no wire change expected.

Evidence

web/src/lib/components/browse/SourcePane.svelte:333

Acceptance criteria
  • The nested stack renders correctly on a fixture with three nesting levels; the existing breadcrumb live check is updated.

Source (GSD planning files, archived at d384473e): .planning/milestones/v0.13.0-REQUIREMENTS.md:82 (BRW-14); .planning/milestones/v0.13.0-phases/09-source-view-follow-through-breadcrumb-editor-handoff/09-CONTEXT.md (Deferred Ideas)


🤖 Generated with Claude Code

https://claude.ai/code/session_01UNqdnC3q6U362BvyfxuKCF

Lingua principale
Go
Stelle
0
Fork
0
Merge medio
7h 42m
PR unite (30g)
111

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di seanb4t/codegraph-go

Tutte le issue di seanb4t/codegraph-go

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.