Support hold-Space and Ctrl+Space voice dictation in clarification-dialog "Other" and free-text answers

未關閉
#5,573 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
53/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
python

研究方向

Start by tracing how hold-Space and Ctrl+Space dictation are handled in the main prompt, then follow how clarification dialogs manage focused answer fields and option selection. Check the related tests for voice input and dialog answers. Done means transcripts go only into eligible focused text answers, remain editable until submission, and are discarded when focus or session changes, while normal typing and option selection still work.

由索引模型根據 Issue 內容生成。

描述

area:input-keyboard
Describe the feature or problem you'd like to solve

Voice dictation works in the main prompt, but not in clarification dialogs. When Copilot asks me a follow-up question, holding Space or pressing Ctrl+Space in the "Other" answer field or a free-text answer does nothing voice-related. So I dictate the prompt and then have to switch to typing to answer Copilot's question.

Proposed solution

Support the same voice controls in focused answer fields of clarification dialogs:

  • Hold Space to dictate, or Ctrl+Space to toggle, like in the main prompt.
  • Put the transcript into the focused answer field, not the main prompt.
  • Keep the answer editable and only submit when I submit it, same as typed answers.
  • If I move to another field, close the dialog or switch sessions while a transcript is pending, drop it instead of inserting it somewhere else.
  • Keep normal typing, paste and Space-to-select in option lists working. Option lists, masked fields and numeric inputs probably shouldn't get dictation.
Example prompts or workflows
  1. "Ask me whether to use the suggested option, with an Other answer so I can explain a different choice." Select Other and dictate the explanation.
  2. "Ask me a clarification question with a free-text answer." Dictate the answer, edit it, then submit.
  3. "Ask me to choose several items and allow a custom answer." Use Space to pick items from the list, then dictate in the custom answer field.
Additional context
  • Version: 1.0.115
  • OS: Windows, ARM64
  • This works with the default automatic language detection. It doesn't depend on any other voice setting.
主要語言
Python
星號
11.5k
分支
2k
平均合併
6 小時 34 分鐘
30 天內合併 PR
3

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/copilot-cli 的其他 Issue

查看 github/copilot-cli 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。