Create Pull Request widget doesn't respect keybinding "when" clause
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 38/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- typescript, vscode
研究方向
未指定來源檔案或測試。請在 Create Pull Request 面板中重現 keybinding,然後檢查其標題和留言輸入如何公開 context keys 以及處理 keybindings;當回報的 when clause 獲得遵守且這些輸入仍可使用時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
Type: Bug
- Have a keybind with a
whenexpression which is not supposed to trigger when an input element has focus, such as the following:!editorTextFocus && !inputFocus || editorTextFocus && vim.active && vim.mode == 'Normal' - Place the cursor into the "title" or "comment" sections of the "Create" panel when making a pull request
- Press the keybind
- Observe that the keybind is triggered
I was unable to use the "View Context Keys" developer tool action to view the context keys that were set on this panel so as to update my when expression - it highlighted the panel but didn't change to a "+" to allow selection. Additionally, my normal vim input bindings do not function in these inputs, it would be great if that could be fully functional. I have "open file..." bound to the spacebar due to Vim, so it is not possible to write PR titles/descriptions at present.
Can't 100% confirm if this worked before. I've been only recently using the plugin and am not 100% certain I've actually updated the title/description in this widget before. I feel like I must have, though.
Extension version: 0.104.1
VS Code version: Code 1.97.2 (Universal) (e54c774e0add60467559eb0d1e229c6452cf8447, 2025-02-12T23:20:35.343Z)
OS version: Darwin arm64 24.3.0
Modes:
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
jda6j935:31233686
copilothoveron:31248524
- 主要語言
- TypeScript
- 星號
- 2.6k
- 分支
- 796
- 平均合併
- 1 天 4 小時
- 30 天內合併 PR
- 46
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/vscode-pull-request-github 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 68/100
-
microsoft/vscode-pull-request-github#8966 · 已指派 1 人 ·
-
microsoft/vscode-pull-request-github#8965 · 已指派 1 人 ·
-
microsoft/vscode-pull-request-github#8961 · 已指派 1 人 ·
查看 microsoft/vscode-pull-request-github 的全部 Issue
相似的 Issue
-
comp/dashboard P3 type/bug
難度 2/5 1-3 小時 新手友好度 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
難度 2/5 1-3 小時 新手友好度 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難度 1/5 1 小時以內 新手友好度 76/100
-
code-quality refactoring
難度 2/5 1-3 小時 新手友好度 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
難度 2/5 1-3 小時 新手友好度 74/100
langchain-ai/deepagents#6450 ·