Phase 1 Testing: 统一线型 + 隐藏 FALLBACK + cursor (#247) #248

Closed
opened 2026-05-14 03:01:04 +00:00 by xingyue · 0 comments
Owner

验证目标

流程图所有边统一实线,FALLBACK 标签不显示,未点亮节点无手型光标。

测试步骤

  • Step 1: 构建通过

    cd packages/workflow-dashboard && bun run build
    

    预期: 构建成功,无错误

  • Step 2: 所有边为实线
    打开 dev server,访问一个有完整流程的 thread。
    预期: 所有边(包括 FALLBACK 回退边)都是实线,没有虚线

  • Step 3: FALLBACK 标签隐藏
    同一流程图中检查边上的标签。
    预期: 只显示 allPhasesComplete、reviewApproved、testsPassed 等有意义的条件标签,不显示 FALLBACK

  • Step 4: 未点亮节点无 cursor:pointer
    查看一个进行中的 thread,hover 未执行到的节点。
    预期: 未点亮(default state)节点不显示手型光标,已完成/活跃节点可点击

代码检查

  • condition-edge.tsx 中无 strokeDasharray
  • condition-edge.tsx 中 FALLBACK condition 不渲染 label
  • condition-edge.tsx 中 stroke 统一为 var(--color-accent)
  • role-node.tsx 中 default state 无 cursor-pointer

验证完成标准

所有 checkbox 打勾
bun run build 通过
Ref: #247

## 验证目标 流程图所有边统一实线,FALLBACK 标签不显示,未点亮节点无手型光标。 ## 测试步骤 - [ ] **Step 1: 构建通过** ```bash cd packages/workflow-dashboard && bun run build ``` **预期:** 构建成功,无错误 - [ ] **Step 2: 所有边为实线** 打开 dev server,访问一个有完整流程的 thread。 **预期:** 所有边(包括 FALLBACK 回退边)都是实线,没有虚线 - [ ] **Step 3: FALLBACK 标签隐藏** 同一流程图中检查边上的标签。 **预期:** 只显示 allPhasesComplete、reviewApproved、testsPassed 等有意义的条件标签,不显示 FALLBACK - [ ] **Step 4: 未点亮节点无 cursor:pointer** 查看一个进行中的 thread,hover 未执行到的节点。 **预期:** 未点亮(default state)节点不显示手型光标,已完成/活跃节点可点击 ## 代码检查 - [ ] condition-edge.tsx 中无 strokeDasharray - [ ] condition-edge.tsx 中 FALLBACK condition 不渲染 label - [ ] condition-edge.tsx 中 stroke 统一为 var(--color-accent) - [ ] role-node.tsx 中 default state 无 cursor-pointer ## 验证完成标准 ✅ 所有 checkbox 打勾 ✅ bun run build 通过 ✅ Ref: #247
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#248