Guidance on gutter indicators and collapsible sections in "edit mode" and "diff mode" using unifiedMergeView
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
@codemirror/merge unifiedMergeView のドキュメントと、リポジトリの TypeScript React 統合から始めます。編集モードの変更ガターと diff モードの折りたたみ可能な未変更セクションについて、サポートされているアプローチを確認し、その後、両方のモードについてドキュメント化された例または実装ガイダンスを提示してください。
索引モデルが issue の本文から書いたものです。
説明
Hi @uiwjs/react-codemirror team!
I'm using @uiwjs/react-codemirror with @codemirror/merge's unifiedMergeView and have introduced a mode selector: "Edit" (editable) and "Diff" (read-only). I'm looking for guidance on implementing two features.
1. Edit mode: Display gutter indicators showing which lines have been modified compared to the original. What's the recommended approach for tracking line changes and adding gutter markers?
2. Diff mode: Add collapse/expand buttons in the gutter for unchanged sections, similar to GitHub's diff view. Are there existing patterns or extensions for collapsible regions in merge view?
Any examples, documentation, or implementation suggestions would be greatly appreciated. Thanks for maintaining this valuable open source project!
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 162
- 平均マージ
- 2時間 41分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
uiwjs/react-codemirror のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
uiwjs/react-codemirror#766 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
uiwjs/react-codemirror#765 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
uiwjs/react-codemirror#772 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
uiwjs/react-codemirror#770 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
uiwjs/react-codemirror#767 · コメント 2 件 ·
uiwjs/react-codemirror の issue をすべて見る
似ている issue
-
数据界面的横向滚动条缺失オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
zilliztech/attu#1037 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
openclaw/openclaw#181212 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apify/apify-mcp-server#1684 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Automattic/data-liberation-agent#953 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
siteboon/claudecodeui#1642 ·
メンテナーはふだん 5 日以内に返信