anthropics / anthropics/claude-code

[BUG] Side-panel file viewer: <a> links are almost entirely non-interactive — no target info, no context menu, wrong click behavior

オープン
#93,101 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:ide area:ui bug platform:macos
主要言語
Python
スター
145k
フォーク
23.1k
PR マージ指標
PR 指標を取得中

説明

### Preflight Checklist

- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code

### What's Wrong?

Description:

When viewing a Markdown file with links (both file links and intra-document anchors) in Claude Code's side panel, the link handling is broken in several distinct ways:

Clicking a link to a binary file (e.g. .xlsx, .pptx) silently opens the containing folder instead of the file — no error message, no fallback behavior, just silently the wrong outcome. A user has no way to tell the click "worked" versus silently failed.
Right-clicking a link shows no link-specific context menu at all. The context menu is identical to right-clicking anywhere else in the document — the only available option is "copy path" for the currently displayed file, not the link target. There is no "copy link", "open link", "open link in new tab," etc.
No hover affordance whatsoever. Hovering over a link produces no visual change, no tooltip, no status-bar preview of the target — standard browser behavior since the 1990s. There is no way to see where a link points before clicking it.
The link target is effectively unknowable through the UI. Combined with points 2 and 3, there is no way — hover, right-click, or otherwise — to inspect what a given link actually points to without blindly clicking it and observing the (possibly wrong, per point 1) result.
Intra-document links (e.g. a Markdown Table of Contents linking to #heading-anchors within the same file) don't work at all. Clicking a TOC entry does nothing — no scroll, no navigation to the target heading.

Impact: For a panel that renders and is described as a browser/viewer, elements are essentially non-functional as links — no target visibility, no standard interaction affordances, at least one confirmed wrong-behavior case for external file links (point 1), and a complete failure case for internal same-document navigation (point 5).

### What Should Happen?

Description:

Expected behavior: Standard link affordances — hover shows the target (tooltip/status bar), right-click offers link-specific actions (copy link, open in new tab), clicking a file link either opens the target appropriately or gives a clear, specific message when it can't, and clicking an intra-document anchor link scrolls to that heading within the same view.

### Error Messages/Logs

```shell

```

### Steps to Reproduce

Description:

See 'What's Wrong?'

### Claude Model

Sonnet 5

### Is this a regression?

No idea

### Last Working Version

_No response_

### Claude Code Version

Claude Desktop App: Version 1.40609.0

### Platform

Anthropic API

### Operating System

macOS

### Terminal/Shell

Desktop app

### Additional Information

_No response_

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

The payload names no repository files or tests; start by reproducing the Markdown link cases in the Claude Code side-panel file viewer on macOS. Check file links, right-click and hover behavior, binary targets, and same-document anchors. Done means links expose their targets, provide appropriate actions, handle unsupported files clearly, and scroll to internal headings.

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

評価

技術スタック
markdown
領域
desktop, frontend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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