feat(ui): implement approved ModelPing workbench redesign - #11
Merged
Merged
Conversation
vdeng-ai
marked this pull request as ready for review
October 5, 2026 14:34
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.
按已确认的双栏视觉稿完成模型测试、会话历史、端点状态和供应商配置四页。桌面保留连接/参数左栏与测试右栏,手机使用折叠设置、指标卡片、固定测试/保存操作和底部导航。修复时间戳重叠、菜单过宽、固定栏遮挡与旧样式堆叠;将模型分组绑定到供应商配置,并实现自定义模型添加。保留协议检测、持久化和服务端安全逻辑,无新增运行依赖。
视觉核对使用六张已确认的桌面/手机稿与八张最新浏览器截图,通过 view_image 逐页检查。桌面应用视口 1488×1056(浏览器截图以 0.85 比例显示),手机 393×852;手机内容宽度与滚动宽度均为 378px,无横向溢出。
保留的差异:沿用仓库已有品牌图标与系统主题选项;实际供应商/模型/协议/记录数量和错误信息来自数据;高级字段保留可编辑能力。测试输入与 User-Agent 默认值沿用产品行为。临时夹具不进入生产源码,移除了先前过期的 QA 文档/证据。
验证:
npm run verify通过(类型检查、ESLint、28 个测试文件/169 项测试、客户端和服务端生产构建),git diff --check通过。浏览器实际操作验证批量测试、401 详情、历史搜索/筛选/响应展开/日志复制、自定义模型添加/移除、端点刷新/取消与预算、供应商修改/撤销/保存/离开保护、菜单 Escape 和主题切换。最终截图使用隔离夹具;尚未使用真实 API Key 进行提供商联调。文档:英文与中文 README 均已更新英文测试工作台主截图,并加入历史诊断、状态监控、供应商配置和手机端截图画廊。截图使用隔离示例端点与模拟响应,不包含真实 API Key。已验证全部 10 处图片引用和 5 个 PNG 文件,
git diff --check通过;本次文档更新未修改应用源码。