[UI Bug] Plannotator vertical spacing changes when expanding a file diff

クローズ 初心者向け
#2,713 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

関連するプルリクエストがすでにマージされています。

  • #2817 @backnotprop による — マージ済み

評価

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

調査の方向性

まず、TypeScript UI でコードレビューのファイル一覧とファイル差分の展開動作を探します。ファイルを展開し、一覧がカーソルの下でずれて、フォーカス中のファイルが変わるかどうかを確認して問題を再現します。差分を展開しても間隔が一貫して保たれ、カーソルが選択したファイルの上に留まれば完了です。

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

説明

What happened?

Hi hi!

During a review in Plannotator, clicking on a file to expand its diff changes the vertical spacing between items in the file list. This causes the previously listed file to move under the cursor and changes the focused file. See the cursor pointer in the screenshots, it's at the same position in both captures

Expected Behavior:

Expanding a file should preserve consistent vertical spacing between list items, keeping the cursor over the selected file.

Image Image

Thanks, Leo

Plannotator version

plannotator 0.28.49

OS

Linux

Agent

OpenCode

Where did it happen?

Code review

Browser

Brave 1.98.63 - Chromium: 156.0.8078.80

主要言語
TypeScript
スター
8.7k
フォーク
649
平均マージ
11時間 7分
マージ済み PR(30日)
862

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

backnotprop/plannotator のほかの issue

backnotprop/plannotator の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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