Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#1,477 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
78/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
go
Área
cli, testing-qa

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Go
Estrellas
115
Forks
14
Merge medio
9 h 38 min
PR fusionados (30 d)
730

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Agent-Field/CodeAF

Todos los issues de Agent-Field/CodeAF

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.