Commit 2c2b485
authored
fix(workflow): update container dimensions on keyboard movement (#3043)
* fix(workflow): update container dimensions on keyboard movement
* fix(workflow): avoid duplicate container updates during drag
Add !change.dragging check to only handle keyboard movements in
onNodesChange, since mouse drags are already handled by onNodeDrag.
* fix(workflow): persist keyboard movements to backend
Keyboard arrow key movements now call collaborativeBatchUpdatePositions
to sync position changes to the backend for persistence and real-time
collaboration.
* improvement(cmdk): refactor search modal to use cmdk + fix icon SVG IDs (#3044)
* improvement(cmdk): refactor search modal to use cmdk + fix icon SVG IDs
* chore: remove unrelated workflow.tsx changes
* chore: remove comments
* chore: add devtools middleware to search modal store
* fix: allow search data re-initialization when permissions change
* fix: include keywords in search filter + show service name in tool operations
* fix: correct filterBlocks type signature
* fix: move generic to function parameter position
* fix(mcp): correct event handler type for onInput
* perf: always render command palette for instant opening
* fix: clear search input when modal reopens
* fix(helm): move rotationPolicy under privateKey for cert-manager compatibility (#3046)
* fix(helm): move rotationPolicy under privateKey for cert-manager compatibility
* docs(helm): add reclaimPolicy Retain guidance for production database storage
* fix(helm): prevent empty branding ConfigMap creation
* fix(workflow): avoid duplicate position updates on drag end
Check isInDragOperation before persisting in onNodesChange to prevent
duplicate calls. Drag-end events have dragStartPosition still set,
while keyboard movements don't, allowing proper distinction.1 parent 01e0723 commit 2c2b485
File tree
1 file changed
+56
-28
lines changed- apps/sim/app/workspace/[workspaceId]/w/[workflowId]
1 file changed
+56
-28
lines changedLines changed: 56 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2302 | 2302 | | |
2303 | 2303 | | |
2304 | 2304 | | |
2305 | | - | |
2306 | | - | |
2307 | | - | |
2308 | | - | |
2309 | | - | |
2310 | | - | |
2311 | | - | |
2312 | | - | |
2313 | | - | |
2314 | | - | |
2315 | | - | |
2316 | | - | |
2317 | | - | |
2318 | | - | |
2319 | | - | |
2320 | | - | |
2321 | | - | |
2322 | | - | |
2323 | | - | |
2324 | | - | |
2325 | 2305 | | |
2326 | | - | |
2327 | | - | |
| 2306 | + | |
2328 | 2307 | | |
2329 | | - | |
2330 | | - | |
2331 | | - | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
2332 | 2311 | | |
2333 | 2312 | | |
2334 | 2313 | | |
2335 | 2314 | | |
2336 | 2315 | | |
2337 | 2316 | | |
2338 | 2317 | | |
2339 | | - | |
| 2318 | + | |
2340 | 2319 | | |
2341 | 2320 | | |
2342 | 2321 | | |
| |||
2367 | 2346 | | |
2368 | 2347 | | |
2369 | 2348 | | |
| 2349 | + | |
| 2350 | + | |
| 2351 | + | |
| 2352 | + | |
| 2353 | + | |
| 2354 | + | |
| 2355 | + | |
| 2356 | + | |
| 2357 | + | |
| 2358 | + | |
| 2359 | + | |
| 2360 | + | |
| 2361 | + | |
| 2362 | + | |
| 2363 | + | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
| 2367 | + | |
| 2368 | + | |
| 2369 | + | |
| 2370 | + | |
| 2371 | + | |
| 2372 | + | |
| 2373 | + | |
| 2374 | + | |
| 2375 | + | |
| 2376 | + | |
| 2377 | + | |
| 2378 | + | |
| 2379 | + | |
| 2380 | + | |
| 2381 | + | |
| 2382 | + | |
| 2383 | + | |
| 2384 | + | |
| 2385 | + | |
| 2386 | + | |
| 2387 | + | |
| 2388 | + | |
| 2389 | + | |
| 2390 | + | |
| 2391 | + | |
| 2392 | + | |
| 2393 | + | |
| 2394 | + | |
| 2395 | + | |
| 2396 | + | |
| 2397 | + | |
2370 | 2398 | | |
2371 | 2399 | | |
2372 | 2400 | | |
| |||
2611 | 2639 | | |
2612 | 2640 | | |
2613 | 2641 | | |
2614 | | - | |
| 2642 | + | |
2615 | 2643 | | |
2616 | 2644 | | |
2617 | 2645 | | |
| |||
2728 | 2756 | | |
2729 | 2757 | | |
2730 | 2758 | | |
2731 | | - | |
| 2759 | + | |
2732 | 2760 | | |
2733 | 2761 | | |
2734 | 2762 | | |
| |||
0 commit comments