Model picker: no visual contrast between selected/unselected context-window value (e.g. "264K 1M")
還沒有人認領這個 Issue。
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
Describe the bug
In the copilot CLI's model picker (the panel shown when switching models / after a Model changed from ... for this session message), the "Context" column for a model that offers two context-window sizes shows both values together, e.g. 264K 1M for Claude Opus 5.
There is no visible difference (weight, color, dimming, checkmark, etc.) between the currently-selected context-window value and the other one. Looking at the row, it's impossible to tell whether the session is currently using the 264K or the 1M context window — you have to trust the small Model changed from ... (1M context) for this session log line above instead of the picker itself.
This is not a light-vs-dark theme color problem: I compared VS Code's light theme and dark theme (both using the integrated terminal), and the row renders identically in both — same lack of contrast between the two values in either theme. Screenshots attached (light theme, then dark theme).
Affected version
GitHub Copilot CLI 1.0.85
Steps to reproduce the behavior
- Run
copilotinside VS Code's integrated terminal. - Trigger the model picker (e.g. run
/model, or open the panel shown after switching models for the session). - Look at the "Context" column for a model with two context sizes, e.g. "Claude Opus 5" showing
264K 1M. - Try to tell, from the row's styling alone, which of the two values (264K or 1M) is the one currently applied to the session.
- Toggle it (Tab) and look again — the rendering doesn't change in a way that clarifies which value is now active.
Expected behavior
The currently active context-window value should be clearly distinguishable from the inactive one (e.g. bold + accent color for the selected one, dimmed/greyed for the other), in both light and dark terminal themes, so the user can tell at a glance which one is selected without having to scroll up and re-read the session log.
Additional context
- Operating system: macOS (Darwin)
- Terminal: VS Code integrated terminal
- Reproduced identically in VS Code light theme and dark theme — same lack of contrast between the two
Contextvalues in either theme:
VS Code light theme:
VS Code dark theme:
- Minor but real usability impact: before noticing the small log line above the picker, I genuinely couldn't tell whether my context-window selection had taken effect at all.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 copilot CLI 的 /model 入口開始,重現模型選擇器,並使用一個顯示兩個內容值(例如 264K 和 1M)的模型。檢查選擇器的渲染,並使用 Tab 切換值;當作用中的值在淺色和深色終端主題中都能與非作用中的值形成明顯的視覺區別時,即可完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- accessibility, cli, design
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 活躍
- 描述清晰度
- 基本清楚
- 新手友好度
- 58/100