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