tui3: task proposal countdown swallows keypress and starts declined task on enter
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 74/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Go
- Estrelas
- 115
- Forks
- 14
- Merge médio
- 13h 37min
- PRs com merge (30d)
- 303
Preparar o ambiente
Ainda não verificamos os arquivos de configuração deste projeto. Comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Agent-Field/CodeAF
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
Agent-Field/CodeAF#1841 ·
Mantenedores costumam responder em até 1 dia
-
area:chat bug sev:papercut
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Agent-Field/CodeAF#1805 ·
Mantenedores costumam responder em até 1 dia
-
area:session bug sev:papercut
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Agent-Field/CodeAF#1779 ·
Mantenedores costumam responder em até 1 dia
-
tasks: a stopped task's commit is signed with the chat model, not the model that did the workAbertaarea:session bug sev:papercut
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Agent-Field/CodeAF#1768 ·
Mantenedores costumam responder em até 1 dia
-
area:chat bug sev:papercut
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Agent-Field/CodeAF#1742 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de Agent-Field/CodeAF
Issues semelhantes
-
effort:high model:sonnet phase:3 type:docs
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
OffchainLabs/nitro#4771 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
BurntSushi/toml#530 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 7 dias