-
Notifications
You must be signed in to change notification settings - Fork 126
feat: Fetcher updates #1090
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Assem-Uber
merged 15 commits into
cadence-workflow:master
from
Assem-Uber:feature/16026/fetcher-updates
Nov 21, 2025
+97
−22
Merged
feat: Fetcher updates #1090
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
cc38cb1
fetcher updates
Assem-Uber 2a41fc6
add placeholder for fetcher
Assem-Uber 1f54d95
update fetcher mock
Assem-Uber 3398d8a
fetcher start update
Assem-Uber fb1f87c
update todo
Assem-Uber 650a918
Apply suggestion from @Copilot
Assem-Uber a9e9469
fix copilot comments
Assem-Uber 8dcf01c
remove extra comment
Assem-Uber 573c195
lint fix
Assem-Uber 7306663
change lastFlattented initial value to -1
Assem-Uber e0a327a
Merge branch 'master' into feature/16026/fetcher-updates
Assem-Uber 73e9bd8
move lastFlattenedPagesCount to a ref and remove shouldContinue condi…
Assem-Uber f8e080d
fix typo and add mock for configs
Assem-Uber d9da99f
update page size test case
Assem-Uber 04ed13a
Merge branch 'master' into feature/16026/fetcher-updates
Assem-Uber File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
5 changes: 2 additions & 3 deletions
5
src/views/workflow-history/config/workflow-history-page-size.config.ts
This file contains hidden or 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 |
|---|---|---|
| @@ -1,3 +1,2 @@ | ||
| const WORKFLOW_HISTORY_PAGE_SIZE_CONFIG = 200; | ||
|
|
||
| export default WORKFLOW_HISTORY_PAGE_SIZE_CONFIG; | ||
| export const WORKFLOW_HISTORY_PAGE_SIZE_CONFIG = 1000; | ||
| export const WORKFLOW_HISTORY_FIRST_PAGE_SIZE_CONFIG = 200; |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I must be missing something.
My understanding:
onChangefiresonEventsChangewith fresh dataI would have expected:
onChangeonEventsChangewithstate.data.pagesI'm a bit confused why we don't pass
state.data.pagesdirectly (bypassing the flattening step)?The hook, as currently implemented, knows too much about the fetcher internals.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is a follow up question on this or the message didn't show up for you as it was outdated. We can continue the discussion there.