-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed search focus and keyboard/clipboard events
separate selectionState reducer
- Loading branch information
1 parent
8a6c1cf
commit 632fd1c
Showing
15 changed files
with
470 additions
and
388 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
110 changes: 110 additions & 0 deletions
110
designer/client/src/reducers/graph/__snapshots__/utils.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`GraphUtils prepareNewNodesWithLayout should update union output expression parameter with an updated node name when new unique node ids created 1`] = ` | ||
{ | ||
"idMapping": { | ||
"union": "union (copy 1)", | ||
"variable 1": "variable 1 (copy 1)", | ||
"variable 2": "variable 2 (copy 1)", | ||
}, | ||
"layout": [ | ||
{ | ||
"id": "variable 1 (copy 1)", | ||
"position": { | ||
"x": 350, | ||
"y": 859, | ||
}, | ||
}, | ||
{ | ||
"id": "variable 2 (copy 1)", | ||
"position": { | ||
"x": 710, | ||
"y": 859, | ||
}, | ||
}, | ||
{ | ||
"id": "union (copy 1)", | ||
"position": { | ||
"x": 530, | ||
"y": 1039, | ||
}, | ||
}, | ||
], | ||
"nodes": [ | ||
{ | ||
"additionalFields": { | ||
"description": null, | ||
"layoutData": { | ||
"x": 0, | ||
"y": 720, | ||
}, | ||
}, | ||
"branchParameters": undefined, | ||
"id": "variable 1 (copy 1)", | ||
"type": "Variable", | ||
"value": { | ||
"expression": "'value'", | ||
"language": "spel", | ||
}, | ||
"varName": "varName1", | ||
}, | ||
{ | ||
"additionalFields": { | ||
"description": null, | ||
"layoutData": { | ||
"x": 360, | ||
"y": 720, | ||
}, | ||
}, | ||
"branchParameters": undefined, | ||
"id": "variable 2 (copy 1)", | ||
"type": "Variable", | ||
"value": { | ||
"expression": "'value'", | ||
"language": "spel", | ||
}, | ||
"varName": "varName2", | ||
}, | ||
{ | ||
"additionalFields": { | ||
"description": null, | ||
"layoutData": { | ||
"x": 180, | ||
"y": 900, | ||
}, | ||
}, | ||
"branchParameters": [ | ||
{ | ||
"branchId": "variable 1 (copy 1)", | ||
"parameters": [ | ||
{ | ||
"expression": { | ||
"expression": "1", | ||
"language": "spel", | ||
}, | ||
"name": "Output expression", | ||
}, | ||
], | ||
}, | ||
{ | ||
"branchId": "variable 2 (copy 1)", | ||
"parameters": [ | ||
{ | ||
"expression": { | ||
"expression": "2", | ||
"language": "spel", | ||
}, | ||
"name": "Output expression", | ||
}, | ||
], | ||
}, | ||
], | ||
"id": "union (copy 1)", | ||
"nodeType": "union", | ||
"outputVar": "outputVar", | ||
"parameters": [], | ||
"type": "Join", | ||
}, | ||
], | ||
} | ||
`; |
Oops, something went wrong.