Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

A Home project underline can stay on the wrong row after navigation

オープン
#1,477 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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 の本文から書いたものです。

説明

area:chat bug sev:papercut

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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Agent-Field/CodeAF のほかの issue

Agent-Field/CodeAF の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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