Skip to content

Commit ad4060a

Browse files
aadamgoughAdam Gough
andauthored
fit(loop-ui): fixed some UI issues, added tests for parallel and loop nodes (#421)
* basic change * fixed drag * testing and UI fixes * ran bun * added greptile comments --------- Co-authored-by: Adam Gough <adamgough@Adams-MacBook-Pro.local>
1 parent 6afb453 commit ad4060a

File tree

8 files changed

+1203
-178
lines changed

8 files changed

+1203
-178
lines changed

apps/sim/app/w/[id]/components/loop-node/loop-node.test.tsx

Lines changed: 463 additions & 0 deletions
Large diffs are not rendered by default.

apps/sim/app/w/[id]/components/loop-node/loop-node.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ const LoopNodeStyles: React.FC = () => {
2626
box-shadow: 0 0 0 8px rgba(47, 179, 255, 0.1);
2727
}
2828
29-
/* Make resizer handles more visible */
30-
.react-flow__resize-control {
31-
z-index: 10;
32-
pointer-events: all !important;
33-
}
34-
3529
/* Ensure parent borders are visible when hovering over resize controls */
3630
.react-flow__node-group:hover,
3731
.hover-highlight {
@@ -43,12 +37,7 @@ const LoopNodeStyles: React.FC = () => {
4337
opacity: 1 !important;
4438
visibility: visible !important;
4539
}
46-
47-
/* React Flow position transitions within loops */
48-
.react-flow__node[data-parent-node-id] {
49-
transition: transform 0.05s ease;
50-
pointer-events: all;
51-
}
40+
5241
5342
/* Prevent jumpy drag behavior */
5443
.loop-drop-container .react-flow__node {

0 commit comments

Comments
 (0)