Search (Cmd+F) can't find diff content that isn't rendered yet
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 38/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start by locating the diff viewer's virtualization, collapsed-region handling, and underlying diff data entry point; reproduce the problem with a large changeset. Done means a UI search covers all changed files and added/removed lines, lists file paths, line numbers, and snippets, and expands and jumps to a selected match; regex and Enter/Shift+Enter navigation are described as ideal behavior.
索引モデルが issue の本文から書いたものです。
説明
Problem
In large diffs, the viewer collapses unchanged regions ("N unmodified lines") and only renders the currently visible hunks (virtualization). Because of this, the browser's native find (Ctrl/Cmd+F) only searches text that is already in the DOM:
- If the code I'm looking for sits inside a collapsed or not-yet-rendered region, find returns 0 results.
- The match only becomes searchable after I manually scroll to that file and section.
This makes reviewing large changesets painful — I often know the exact symbol/function I want to check, but have to hunt for it by scrolling through every file.
Expected behavior
A search box in the UI that searches the underlying diff data (not the rendered DOM):
- Searches across all changed files and added/removed lines.
- Shows a result list with file path, line number, and a snippet.
- Clicking a result expands the collapsed region and jumps/scrolls to the exact line.
- Ideally supports regex and jumping between matches with Enter / Shift+Enter (like GitHub's PR review search, or
lesssearch insidegit diff).
- 主要言語
- TypeScript
- スター
- 206
- フォーク
- 37
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wong2/diffx のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
callstackincubator/rozenite#518 ·
メンテナーはふだん 1 日以内に返信
-
Area/Workflow Priority/Blocker Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
wso2/product-integrator#2622 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
area:bash bug has repro platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
anthropics/claude-code#98644 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
allure-framework/allure-js#1603 ·
メンテナーはふだん 1 日以内に返信