vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Make native Comments panel rows easier to scan in narrow layouts

Open hazicy opened this issue 2 weeks ago • 0 comments

Use case

The native Comments panel is useful for scanning threads from extensions that use the public Comments API, including on virtual documents. This request is about the panel's list rows, not the inline editor widget.

What could improve

In VS Code 1.147.0 (macOS arm64, default dark theme), a thread's author, age, excerpt, and source line share the main row. The reply metadata then occupies a second row. The current capture shows how the line indicator follows the excerpt immediately; when the panel is narrow, this layout makes it harder to scan for the conversation subject or its location.

Proposal

  • Lead each thread with a readable excerpt and move author, line, and reply count to a predictable secondary line.
  • Keep open/resolved state identifiable without relying on color alone. Make it possible to recover the full excerpt and location when they are truncated.
  • Preserve file grouping, filtering, keyboard navigation, screen-reader labels, and theme integration. Consider responsive density so wider layouts can remain compact without sacrificing readability in narrow panels.

Related but distinct: #207402 concerns how outdated comments are indicated; this proposal is about the reading order of ordinary thread rows.

Current behavior

Playwright screenshot of the native VS Code interface using synthetic comments.

current-panel-crop

hazicy avatar Nov 18 '26 17:11 hazicy