A Home project underline can stay on the wrong row after navigation
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- go
- 領域
- cli, testing-qa
調査の方向性
Start in internal/tui3/home.go around projectHover at line 615 and its pointer reset near line 4300, then inspect the row draw in internal/tui3/homecell.go:499. Run make demo-home to reproduce the stale underline while navigating and rebuilding Home. Done means keyboard movement and rebuilds cannot leave an old index underlining another project, with e2e and unit coverage and the former cue recorded in invalidates.
索引モデルが issue の本文から書いたものです。
説明
Seen on dev@debffabf6. Surfaced while verifying #1422; introduced by it.
What happened
A hovered project's underline can remain while the keyboard moves through conversations. projectHover stores a line index and is updated on pointer movement, but Home rebuilds its lines without clearing or rebinding that index. After a rebuild the underline can appear on a different project until the pointer moves. Clicking still acts on the correct hit row; the defect is the stale visual cue.
Replication
Deterministic (no model). Run make demo-home, hover one project name on Home, then use the arrow keys to change the conversation selection without moving the pointer. Observe the underline persisting. Trigger a Home list rebuild, such as a search or project refresh, and observe that the old index can underline a different project.
Where
internal/tui3/home.go:615 at dev@debffabf6 defines projectHover as an index; :4300 resets it only during pointer handling. The row draw checks that index in internal/tui3/homecell.go:499.
The fix
Clear project hover on keyboard movement and on line rebuild, or track the hovered project's stable identity and revalidate it against the painted frame.
Acceptance
- e2e: keyboard navigation and Home rebuilds remove or correctly relocate the underline before further pointer movement.
- Unit: a hover-then-rebuild test cannot underline another project by the old line index.
- Record the former stale cue in
invalidates.
- 主要言語
- Go
- スター
- 115
- フォーク
- 14
- 平均マージ
- 9時間 38分
- マージ済み PR(30日)
- 749
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Agent-Field/CodeAF のほかの issue
-
area:chat feature
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1510 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Agent-Field/CodeAF#1489 ·
メンテナーはふだん 1 日以内に返信
-
area:chat bug good first issue sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Agent-Field/CodeAF#1470 ·
メンテナーはふだん 1 日以内に返信
-
area:chat bug good first issue sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Agent-Field/CodeAF#1469 ·
メンテナーはふだん 1 日以内に返信
-
area:chat bug sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1468 ·
メンテナーはふだん 1 日以内に返信
Agent-Field/CodeAF の issue をすべて見る
似ている issue
-
enhancement low priority
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
eugenioenko/ttt#674 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
GoogleCloudPlatform/k8s-config-connector#13462 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
vavallee/bindery#2793 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信