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 摘要。