github / github/app

Show annotation counts and next/previous navigation in the file browser

未关闭
#2,928 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

### Feature summary

Provide a quick overview of file annotations and easily navigate to them.

### What problem are you trying to solve?

When a session produces inline annotations (review findings, agent comments) across a diff, there's no way to tell at a glance how many exist or where they are. Today you have to open each file and scroll to find them. On a change touching a dozen files with a handful of annotations, this means:

- **No visible count** — you can't tell whether a file has 0 or 8 annotations without opening it.
- **No total** — you don't know how much review feedback is outstanding overall.
- **No jump** — there's no "go to next annotation" affordance, so triaging means manual scrolling per file.

The result is that annotations get missed, and reviewing them is slower than it should be.

### Proposed solution

1. **Per-file badge in the file browser** — each file row shows a count of its annotations, styled by the highest severity present (blocking / warning / info). Files with zero annotations show no badge.
2. **Aggregate count in the header** — a total like `12 annotations across 5 files`, with unresolved vs. resolved broken out if resolution state exists.
3. **Next/previous navigation** — prev/next controls (plus keyboard shortcuts, e.g. `n` / `Shift+N`) that walk annotations in file-then-line order, crossing file boundaries automatically: opens the target file, scrolls the annotation into view, and focuses it.
4. **Filtering** — optionally collapse the browser to only files that have annotations, and/or filter by severity.

### Workflow impact

_No response_

### Installation context

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

No files, tests, or entry points are named. Start by locating the file browser and the existing annotation data flow, then determine how counts, severity, resolution, navigation, and filtering fit together. Done means per-file and aggregate counts are visible and users can move through annotations across files with the specified navigation behavior.

由索引模型根据 Issue 内容生成。

评估

领域
desktop
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
活跃
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。