Commit d7ad6ae
feat: Create a grouping utility that only parses new events (cadence-workflow#1065)
* grouping utility
Signed-off-by: Assem Hafez <assem.hafez@uber.com>
* update test cases
Signed-off-by: Assem Hafez <assem.hafez@uber.com>
* change the api of onChange and add destroy method
Signed-off-by: Assem Hafez <assem.hafez@uber.com>
* replace getGroups with getState
Signed-off-by: Assem Hafez <assem.hafez@uber.com>
* call onchange after updating pending events
Signed-off-by: Assem Hafez <assem.hafez@uber.com>
* use sync processBatch for first page
Signed-off-by: Assem Hafez <assem.hafez@uber.com>
* Update src/views/workflow-history/helpers/workflow-history-grouper.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Apply PR comments
* Update src/views/workflow-history/helpers/workflow-history-grouper.types.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Signed-off-by: Assem Hafez <assem.hafez@uber.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 6ef3012 commit d7ad6ae
File tree
3 files changed
+4
-15
lines changed- src/views/workflow-history/helpers
- __tests__
3 files changed
+4
-15
lines changedLines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
633 | 631 | | |
634 | 632 | | |
635 | 633 | | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | 634 | | |
642 | 635 | | |
643 | 636 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 14 | | |
20 | 15 | | |
21 | 16 | | |
| |||
0 commit comments