Selecting a command in the chat quick select list sends the message immediately instead of completing the word
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
- 70/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- react, typescript
Línea de trabajo
Start with src/renderer/carbon-conversation.tsx and src/renderer/command-composer.tsx to trace how / and $ selections reach the composer and send handler. Then read the browser test in test/browser-features.e2e.ts; extend coverage for pointer, Enter, and Tab selection, confirming the command is inserted, focus remains in the composer, and the message is sent only after explicit submission.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened?
In a new chat, selecting a command from the chat composer quick select list automatically sends the message instead of completing the command word and allowing the user to continue typing.
What should have happened?
Selecting a command from the quick select list should complete/insert the command token into the composer and keep focus in the input so the user can continue typing arguments or additional text before explicitly sending the message.
Steps to reproduce
- Open a project and start a new chat in Code60.
- Focus the chat composer and open the command quick select list (typing
/or$). - Select a command from the quick select list.
- Observe that the message is sent immediately instead of completing the command token and allowing the user to keep typing.
Reported by user; a fresh live browser reproduction has not been run for this issue.
App version or commit
Inspected origin/main: package.json version 0.5.0-beta, commit 10fb26f. Exact running build was not independently verified.
Affected interface
Desktop
Environment
- Operating system: macOS (exact running build/browser not independently captured)
Impact and frequency
Prevents adding arguments or context after selecting a command from the quick select list and causes unintended premature sends. Workaround is typing the command manually without selecting from the quick select list.
Code pointers
src/renderer/carbon-conversation.tsx—@carbon/ai-chatChatCustomElementinput.command(trigger: "/") andinput.mention(trigger: "$") setup andcustomSendMessagesrc/renderer/command-composer.tsx—commandSuggestions()(Carbon inserts the canonical command token, leaving subsequent arguments editable)test/browser-features.e2e.ts—browser: Carbon project commands retain arguments after a rejected send and render once(currently clicks an option rather than exercising keyboard selection such asEnter/Tabacross both/and$triggers)
Acceptance criteria
- Selecting a command from the chat quick select list (via pointer click,
Enter, orTab, for both/and$triggers) inserts/completes the command token without sending the message. - Focus stays in the composer after command completion so the user can continue typing before explicitly sending.
- Add regression test coverage verifying that selecting a command from the quick select list does not send the message prematurely.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 5 h 34 min
- PR fusionados (30 d)
- 136
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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 CodeManufactoryLLC/Code60
-
bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
CodeManufactoryLLC/Code60#358 ·
Los mantenedores suelen responder en 1 día
Todos los issues de CodeManufactoryLLC/Code60
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
-
review-followup
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
griffinwork40/agent-afk#5387 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
android:plan ios:plan main:plan packages:learn
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
th30d4y/OpenLearnX#767 · 1 comentario ·
Los mantenedores suelen responder en 1 día