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

オープン
#118 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Go
スター
0
フォーク
0
平均マージ
7時間 42分
マージ済み PR(30日)
111

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

seanb4t/codegraph-go のほかの issue

seanb4t/codegraph-go の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。