github / github/copilot-cli

Model picker: no visual contrast between selected/unselected context-window value (e.g. "264K 1M")

Đang mở
#4,873 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

triage
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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
  1. Run copilot inside VS Code's integrated terminal.
  2. Trigger the model picker (e.g. run /model, or open the panel shown after switching models for the session).
  3. Look at the "Context" column for a model with two context sizes, e.g. "Claude Opus 5" showing 264K 1M.
  4. 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.
  5. 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 Context values in either theme:

VS Code light theme:
Image

VS Code dark theme:
Image

  • 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu tại điểm vào /model của copilot CLI và tái hiện bộ chọn model với một model hiển thị hai giá trị context, chẳng hạn như 264K và 1M. Kiểm tra phần render của bộ chọn và chuyển đổi giá trị bằng Tab; hoàn tất khi giá trị đang active khác biệt rõ ràng về mặt trực quan so với giá trị inactive trong cả theme terminal sáng và tối.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
accessibility, cli, design
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
58/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.