Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Only the project name underlines although the whole Home row is clickable

未关闭
#1,476 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
go

调研方向

Start with internal/tui3/home.go:4138 and the title underline logic at internal/tui3/homecell.go:499 and :610. Run make demo-home, reproduce the pointer behavior, then inspect the existing Home mouse tests or add coverage for name, count, and branch cells. Done means the indicated target and click behavior agree, the e2e and unit acceptance checks pass, and the Home mouse manual and invalidates record are updated.

由索引模型根据 Issue 内容生成。

描述

area:chat bug sev:papercut

Seen on dev@debffabf6. Surfaced while verifying #1422; introduced by it.

What happened

The whole project row, including its counts and branch reading, selects the next message's project when clicked. Hover underlines only the project name. The visual cue therefore marks a smaller target than the click handler accepts.

Replication

Deterministic (no model). Use make demo-home, open Home with mouse reporting, move the pointer over a project's count or branch text, and click. The text does not underline, yet the project on the draft seam changes. Moving over the name underlines it.

Where

internal/tui3/home.go:4138 at dev@debffabf6, homePress, treats a homeProjectRow hit as selection. internal/tui3/homecell.go:499 and :610 underline the title portion when projectHover matches.

The fix

Make the clickable extent and visual cue agree. The least surprising contract is to make only the underlined name select the project, while counts and branch remain readings.

Acceptance

  • e2e: in codeaf chat on a demo home, a click on an underlined project name changes the draft target; a click outside that indicated target does not.
  • Unit: pointer hit tests cover name, count and branch cells.
  • Update Home's mouse manual and record the former whole-row target in invalidates.
主要语言
Go
星标
115
派生
14
平均合并
9 小时 44 分钟
30 天内合并 PR
766

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Agent-Field/CodeAF 的其他 Issue

查看 Agent-Field/CodeAF 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。