Conversation
* fix: 供应商管理列表增加类型筛选和图标显示, close #22 新功能: 1. 增加供应商类型筛选功能 - 支持按 Claude、Claude Auth、Codex、Gemini CLI、OpenAI Compatible 筛选 - 显示当前筛选结果数量 2. 供应商卡片名称增加类型图标和标签 - 类型图标(5 种不同颜色和图标) - 类型标签(文字说明) - 鼠标悬停显示类型描述 实现细节: - 新增 provider-type-utils.tsx:统一管理供应商类型配置 - 新增 provider-type-filter.tsx:类型筛选组件 - 修改 provider-manager.tsx:集成筛选功能和计数显示 - 修改 provider-list-item.tsx:添加类型图标和标签 Close #22 * feat: 添加 @lobehub/icons 依赖并更新供应商类型图标 - 新增 @lobehub/icons 依赖,支持更丰富的图标展示。 - 更新供应商类型配置,使用新的图标组件替代原有图标。 - 为 Anthropic 类型添加专用的橙色包装组件,提升视觉一致性。 影响范围: - 供应商管理界面图标展示更为美观,增强用户体验。 --------- Co-authored-by: Claude Code Bot <noreply@anthropic.com> Co-authored-by: ding113 <h.ding.262@gmail.com>
Contributor
代码审查总结感谢你的贡献!这个 PR 成功实现了供应商类型筛选和图标显示功能。代码质量整体良好,以下是详细的审查意见: ✅ 优点
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.