tui3: task proposal countdown swallows keypress and starts declined task on enter
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
- 74/100
Línea de trabajo
Start in internal/tui3 and trace the countdown card's raw key event handling into its action dispatcher. Reproduce the proposal in interactive chat, press 2 during the countdown, and verify that it selects and executes the decline choice immediately rather than only pausing the timer; confirm Enter does not start the task afterward.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
During the task proposal countdown card, pressing any key pauses the timer but drops the keypress event, leaving selection focus on option 1 ("start it") and causing a subsequent Enter to run the task.
Observed Behavior
When the countdown card appears, typing 2 (decline) freezes the clock but fails to select the decline option. The cursor remains on 1 start it. Hitting Enter immediately starts the paid task worker.
Expected Behavior
Pressing option keys (1, 2, or designated shortcut keys) during the countdown should register the keypress and immediately execute the corresponding choice.
Reproduction Steps
- Trigger a task proposal in interactive chat to bring up the countdown card.
- While the countdown ticks, press
2to decline. - Observe that countdown freezes, but selection does not move to
2 decline. - Press
Enter. The task starts executing.
Root Cause / Location
TUI key event handling in internal/tui3 consumes the raw event to halt the countdown timer ticker instead of propagating the key to the card's action dispatcher.
—
Drafted with CodeAF · reviewed and owned by the author
- Lenguaje dominante
- Go
- Estrellas
- 115
- Forks
- 14
- Merge medio
- 9 h 37 min
- PR fusionados (30 d)
- 755
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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Agent-Field/CodeAF
-
area:chat bug sev:papercut
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Agent-Field/CodeAF#1592 ·
Los mantenedores suelen responder en 1 día
-
area:headless bug sev:critical
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Agent-Field/CodeAF#1566 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
area:chat feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Agent-Field/CodeAF#1510 ·
Los mantenedores suelen responder en 1 día
-
area:tests bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Agent-Field/CodeAF#1489 ·
Los mantenedores suelen responder en 1 día
-
area:chat bug good first issue sev:papercut
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Agent-Field/CodeAF#1470 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Agent-Field/CodeAF
Issues similares
-
agentic-workflows
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
priority/4/normal status/needs-triage type/bug/unconfirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
authelia/authelia#13292 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
blinklabs-io/actions#138 ·
Los mantenedores suelen responder en 1 día
-
[UI] AlbumDetails collapses multi-genre list to single primary genre on viewports < lg breakpointAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día