feat(dashboard): success/failure edge authoring with cycle guard and interpreter-only banner

This commit is contained in:
gsxdsm
2026-06-04 19:35:34 -07:00
parent 297a00d3de
commit ffc4d8a6ed
22 changed files with 1570 additions and 1270 deletions

View File

@@ -202,6 +202,14 @@
font-size: 0.85rem;
}
/* Info-tone banner (KTD-4): branching graph runs on the interpreter only — not a
* failure, so it uses the info token rather than the warning treatment. */
.wf-editor-banner--info {
border-bottom-color: var(--ws-info);
color: var(--ws-info);
background: color-mix(in srgb, var(--ws-info) 6%, var(--bg-secondary));
}
.wf-editor-canvas {
flex: 1;
min-height: 0;
@@ -418,6 +426,16 @@
stroke-width: 2;
}
/* Failure edges (R2): a distinct dash pattern from rework plus an error-token
* stroke. Two-channel rule — the condition label is always rendered (third
* channel is color) so failure edges stay distinguishable in low-contrast
* themes. */
.react-flow__edge.wf-edge-failure .react-flow__edge-path {
stroke: var(--ws-error);
stroke-dasharray: 2 4;
stroke-width: 2;
}
.wf-code-source {
font-family: var(--font-mono, monospace);
font-size: 0.72rem;