Skip to content

Commit 877be83

Browse files
committed
feat: Use fetcher in workflow history (cadence-workflow#1064)
* Create fetcher utility Signed-off-by: Assem Hafez <assem.hafez@uber.com> * rename query Signed-off-by: Assem Hafez <assem.hafez@uber.com> * Create hook for fetching history Signed-off-by: Assem Hafez <assem.hafez@uber.com> * add configurable throttleMs to the hook Signed-off-by: Assem Hafez <assem.hafez@uber.com> * use fetcher in workflow history * remove useKeepLoadingEvents Signed-off-by: Assem Hafez <assem.hafez@uber.com> * update fetcher based on feedback Signed-off-by: Assem Hafez <assem.hafez@uber.com> * rename unmout to destroy Signed-off-by: Assem Hafez <assem.hafez@uber.com> * Create hook for fetching history Signed-off-by: Assem Hafez <assem.hafez@uber.com> * move condition into executeImmediately Signed-off-by: Assem Hafez <assem.hafez@uber.com> * update destroy in method Signed-off-by: Assem Hafez <assem.hafez@uber.com> * fix type error with query params Signed-off-by: Assem Hafez <assem.hafez@uber.com> --------- Signed-off-by: Assem Hafez <assem.hafez@uber.com>
1 parent 4558d59 commit 877be83

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/views/workflow-history/workflow-history-header/__tests__/workflow-history-header.test.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@ function setup(props: Partial<Props> = {}) {
227227
cluster: 'test-cluster',
228228
workflowId: 'test-workflowId',
229229
runId: 'test-runId',
230-
pageSize: 100,
231-
waitForNewEvent: 'true',
232230
},
233231
pageFiltersProps: {
234232
activeFiltersCount: 0,

0 commit comments

Comments
 (0)