-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow specification of swimlanes via configuration (#7200)
* Use specified group order for plans * Allow groupIds to be a function * Fix typo in if statement * Check that activities are present for a given group * Change refresh to emit the new model * Update domainobject on change * Revert changes for domainObject * Revert groupIds as functions. Check if groups are objects with names instead. * Add e2e test for plan swim lane order * Address review comments - improve if statement * Move function to right util helper * Fix path for imported code * Remove focused test * Change the name of the ordered group configuration
- Loading branch information
1 parent
3520a92
commit 250db8d
Showing
7 changed files
with
170 additions
and
18 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
54 changes: 54 additions & 0 deletions
54
e2e/test-data/examplePlans/ExamplePlanWithOrderedLanes.json
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,54 @@ | ||
{ | ||
"Groups": [ | ||
{ | ||
"name": "Group 1" | ||
}, | ||
{ | ||
"name": "Group 2" | ||
} | ||
], | ||
"Group 2": [ | ||
{ | ||
"name": "Past event 3", | ||
"start": 1660493208000, | ||
"end": 1660503981000, | ||
"type": "Group 2", | ||
"color": "orange", | ||
"textColor": "white" | ||
}, | ||
{ | ||
"name": "Past event 4", | ||
"start": 1660579608000, | ||
"end": 1660624108000, | ||
"type": "Group 2", | ||
"color": "orange", | ||
"textColor": "white" | ||
}, | ||
{ | ||
"name": "Past event 5", | ||
"start": 1660666008000, | ||
"end": 1660681529000, | ||
"type": "Group 2", | ||
"color": "orange", | ||
"textColor": "white" | ||
} | ||
], | ||
"Group 1": [ | ||
{ | ||
"name": "Past event 1", | ||
"start": 1660320408000, | ||
"end": 1660343797000, | ||
"type": "Group 1", | ||
"color": "orange", | ||
"textColor": "white" | ||
}, | ||
{ | ||
"name": "Past event 2", | ||
"start": 1660406808000, | ||
"end": 1660429160000, | ||
"type": "Group 1", | ||
"color": "orange", | ||
"textColor": "white" | ||
} | ||
] | ||
} |
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