Add provider-based grouping (accordion) to model picker for better model discovery

未关闭
#906 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
swift
领域
desktop

调研方向

首先审阅 model-picker-mockup.html 和 github-copilot-model-picker-improvement.md,然后评估所提议的提供商分组如何适配 Copilot 扩展的代码库。当针对可折叠的提供商部分、模型数量、可访问的键盘交互、动画、选择持久化,以及通过所提议的 UX 和 user-testing 步骤进行验证,形成可行的设计后,即视为完成。

由索引模型根据 Issue 内容生成。

描述

Feature Request: GitHub Copilot Model Picker Provider Grouping

Summary

Request to improve the GitHub Copilot model picker UI by adding provider-based grouping (accordion/submenu) to reduce cognitive load and improve discoverability of AI models.

Problem

Current model picker displays all models in a flat, ungrouped list. As the number of providers and models grows, users experience:

  • Difficulty scanning for models from specific providers
  • Increased cognitive load remembering which provider offers which model
  • Poor scalability with growing model catalog

Proposed Solution

Implement provider-based grouping using an accordion-style interface:

  • Each provider (OpenAI, Anthropic, Google, NVIDIA, etc.) as a collapsible section
  • Section headers show provider name and model count
  • Click header to expand/collapse provider's models
  • Visual indicators for expand/collapse state
  • Smooth animations for better UX

Benefits

  • Faster model selection: Users can quickly navigate to their preferred provider
  • Reduced cognitive load: Provider context is immediately visible
  • Better scalability: Interface remains usable as more providers/models are added
  • Improved discoverability: Logical grouping matches how users conceptualize AI models

Mockup Reference

See model-picker-mockup.html for visual implementation example showing:

  • Provider sections with expand/collapse icons
  • Model lists that slide open/closed using transform/scale (layout-performance safe)
  • Selection states and hover effects
  • Responsive width suitable for dropdown/popup context

Implementation Notes

  • Uses opacity and transform for animations (avoids layout thrashing)
  • System font stack for native platform feel
  • Keyboard accessible design (expand/collapse via Enter/Space)
  • Selection persistence considerations

Suggested Next Steps

  1. Design review with GitHub Copilot UX team
  2. Technical feasibility assessment
  3. Prototyping in Copilot extension codebase
  4. User testing with developer audience
  5. A/B testing against current flat-list implementation

Files

  • github-copilot-model-picker-improvement.md: Detailed design plan
  • model-picker-mockup.html: Visual mockup with working interactions
  • This file: Executive summary for stakeholder consumption

Submitted via GitHub Copilot feedback channel
Date: 2026-08-09

Mockup & full plan gist: https://gist.github.com/mcfuryamen/1e194890e70e444d90d605126da04951

主要语言
Swift
星标
6.3k
派生
2k
平均合并
3 天 21 小时
30 天内合并 PR
2

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/CopilotForXcode 的其他 Issue

查看 github/CopilotForXcode 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。