feat(settings): 优化供应商模型列表交互 - #265
Merged
su-fen merged 4 commits intoJul 26, 2026
Merged
Conversation
稳定新增与启停模型时的列表顺序和滚动位置,并添加 NEW 标记与 FLIP 归位动画。 支持点击模型名称复制完整 ID,并通过自动消失的 Toast 反馈复制结果。
…l-list-stability-merge # Conflicts: # crates/agent-gateway/web/src/pages/settings/ProvidersSection.tsx
captureModelLayout 的 animate 参数从未以 false 调用,PendingModelLayout.animate 因此恒为 true,useLayoutEffect 中的 !pending.animate 分支不可达。删除该参数、 类型字段与不可达分支,FLIP 仍由 prefers-reduced-motion 单独门控。 GUI 与 WebUI 两份镜像同步修改。
15 tasks
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.
Depends-On: none
Stack-Root: #265
改动说明
优化设置页供应商编辑模态框的模型列表交互:
改动类型
测试说明
已知基线:GUI 全量前端测试 1176/1178,通过项外的 2 个失败来自未修改的 mention composer 源码提取测试;全仓 Biome lint 仍受现有基线错误影响。
关联 Issue
无