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

Đang mở
#118 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Go
Star
0
Fork
0
Merge trung bình
7 giờ 42 phút
Pull request đã merge (30 ngày)
111

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của seanb4t/codegraph-go

Tất cả issue của seanb4t/codegraph-go

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.