Commit 67b9a56
fix(dashboard): firing edge keeps its pre-firing color; accent fills as overlay
Single-path firing animation made the edge VANISH at progress=0
(strokeDashoffset=1 = 100% invisible), then the accent filled into
emptiness, then snapped back. User watched the edge disappear before
the fill started.
OrthogonalEdgeImpl firing branch now renders two stacked paths:
- Base BaseEdge with the existing edge style (cf-border-strong for
default, cf-accent-tint for enabled-input arcs) + arrow marker.
Always full opacity — the static color stays visible throughout
the animation.
- Overlay <path> with cf-accent stroke, pathLength=1,
strokeDasharray=1, strokeDashoffset=1-progress, pointerEvents:none.
Grows from invisible (progress=0) to fully covering (progress=1).
After animation ends the overlay is gone; the base stroke remains.
Non-firing branch unchanged. Test assertions look at edge data only,
not DOM paths; 172/172 vitest. mix precommit shows 1 unrelated
TelemetryBridgeTest flake (pre-existing, documented).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent fd95c2d commit 67b9a56
1 file changed
Lines changed: 17 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
603 | 602 | | |
604 | | - | |
| 603 | + | |
| 604 | + | |
605 | 605 | | |
606 | 606 | | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
616 | 618 | | |
617 | 619 | | |
618 | 620 | | |
| |||
0 commit comments