Repository navigation
fix(client): 修复 Graph 布局、管理交互与 Peer 就绪诊断 - #123
Merged
Merged
Conversation
- 按实测尺寸布局 Graph 并保留用户拖动与相机操作 - 增加匿名 Peer 就绪诊断,改善扩展、数据源和任务表单 - 同步检索恢复提示与运行时、信息库行为文档
This was referenced Oct 1, 2026
- 直接展示字符串错误,同时保留完整状态 JSON - 扩展既有 Job 行为回归,验证长 URL、字面转义与结构化错误 - 同步数据源返回链接的可访问名称和导航断言
This branch was successfully deployed
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.
关联 #121。
Graph 扩展时,新节点原先只按圆环分配位置,没有避让缓存节点;实际 9→18 节点场景出现 20 对重叠,固定最小缩放也会裁掉节点。现在按实测宽高避碰,异步预览完成后更新尺寸和连线,只调整发生碰撞的自动位置,保留用户拖动及手动视口操作。大场景可完整进入画布,继续复用 VueFlow 的公开接口。
其余管理流程同步修复:
没有新增依赖、调度权威或自动重试策略。readiness 不发送 JWT,也不改变 lease、能力候选或任务路由;未知执行结果仍终止,exact target 不替换,命令 schema 保持严格。
验证
最终提交
5c7301f67f7f217f5741c107d86eefb5f1f49a3e:pnpm check通过,包含生产构建与 package contract;pnpm type-check:ts7通过。pnpm test:e2e:web使用既有隔离数据库链,13/13 通过。扩展既有 Job 回归,精确区分真实换行、字面\\n和非字符串 error;Source 返回链接断言同步可访问名称,并覆盖返回 hash、标题、历史和刷新。pnpm lint:type-aware有 14 项诊断;与隔离的7307dda基线逐项一致,WXT 生成配置也一致,本轮没有新增诊断。此可选探针不标为通过。跨仓库交付
core-py#122 修复启用扩展冷恢复失败仍报 ready、首轮任务扫描额外等待 30 秒,并补充 runtime.step 与精确安装记录复用。客户端兼容旧 Core 缺少 step。
ui#56 修复第 1、13 项的 AutoForm 生产者;本轮通过 source lane 验证,正式客户端仍锁定 2.2.0,需要 UI 包按流程发布后升级采用。
第 11 项 Tabs 按任务范围忽略。第 12 项当前 2.2.0 已满足紧凑搜索要求,实际键盘验收通过,因此复用原组件。第 21 项旧错误截图缺少 extra_forbidden 字段和完整输入,已核查 schema 与配置数据流,但仍需原始错误定位该旧任务;没有凭截断截图全局放宽 schema。ext-reg 调查未发现需要修改的缺陷。
此 PR 保持 draft,关联 issue 而不自动关闭。没有数据迁移;回退本 PR 的客户端提交即可恢复界面行为,Core/UI 按各自 PR 独立回退。