tui3: task proposal countdown swallows keypress and starts declined task on enter
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 74/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- Go
- Étoiles
- 115
- Forks
- 14
- Merge moyen
- 13 h 37 min
- PR mergées (30 j)
- 303
Préparer son environnement
Nous n'avons pas encore vérifié les fichiers d'installation de ce projet. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Agent-Field/CodeAF
-
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
Agent-Field/CodeAF#1841 ·
Les mainteneurs répondent en général sous 1 jour
-
area:chat bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Agent-Field/CodeAF#1805 ·
Les mainteneurs répondent en général sous 1 jour
-
area:session bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Agent-Field/CodeAF#1779 ·
Les mainteneurs répondent en général sous 1 jour
-
tasks: a stopped task's commit is signed with the chat model, not the model that did the workOuvertearea:session bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Agent-Field/CodeAF#1768 ·
Les mainteneurs répondent en général sous 1 jour
-
area:chat bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Agent-Field/CodeAF#1742 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de Agent-Field/CodeAF
Issues similaires
-
effort:high model:sonnet phase:3 type:docs
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
OffchainLabs/nitro#4771 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
BurntSushi/toml#530 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 7 jours