Files
united-workforce/packages/workflow-dashboard
xingyue dc5fdd7358 fix(dashboard): address ELK layout review feedback
What: Fix three non-blocking issues from PR #232 review.

Why: Code quality — unhandled promise rejection risk, type safety,
and project convention compliance.

Changes:
- packages/workflow-dashboard/src/components/workflow-graph/types.ts:
  add elkLabelX/elkLabelY fields to ConditionEdgeData type (number | null,
  not optional — per project no-optional-properties rule)
- packages/workflow-dashboard/src/components/workflow-graph/use-layout.ts:
  remove 'as ConditionEdgeData' type assertion (now unnecessary),
  add .catch() to computeLayout promise
- packages/workflow-dashboard/src/components/workflow-graph/condition-edge.tsx:
  remove redundant inline type extension, use ConditionEdgeData directly

Ref: PR #232 review comments
2026-05-13 16:37:07 +08:00
..

@uncaged/workflow-dashboard

Web dashboard for the Uncaged Workflow engine. Connects to the local uncaged-workflow serve API to display threads, workflows, and CAS data.

Development

# Start the local API server (in another terminal)
uncaged-workflow serve

# Start the dashboard dev server
bun run dev

Opens at http://localhost:5173. Vite proxies /api/* to localhost:7860.

Build

bun run build

Output goes to dist/ — static files ready for CF Pages or any host.