Selecting a command in the chat quick select list sends the message immediately instead of completing the word
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 70/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- react, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 1
- フォーク
- 1
- 平均マージ
- 5時間 34分
- マージ済み PR(30日)
- 136
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CodeManufactoryLLC/Code60 のほかの issue
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CodeManufactoryLLC/Code60#358 ·
メンテナーはふだん 1 日以内に返信
CodeManufactoryLLC/Code60 の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
review-followup
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
griffinwork40/agent-afk#5387 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
android:plan ios:plan main:plan packages:learn
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
th30d4y/OpenLearnX#767 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信