feat(agentflow): Add refresh button for Available Actions dropdown#6134
Open
jocelynlin-wd wants to merge 3 commits intomainfrom
Open
feat(agentflow): Add refresh button for Available Actions dropdown#6134jocelynlin-wd wants to merge 3 commits intomainfrom
jocelynlin-wd wants to merge 3 commits intomainfrom
Conversation
- Introduced a refresh button in AsyncInput and AsyncMultiOptionsInput components to allow users to re-fetch options dynamically. - Updated InputParam interface to include a new `refresh` property. - Enhanced tests to verify the visibility and functionality of the refresh button based on the `refresh` property. - Adjusted loadMethodRegistry to ensure proper handling of credential and inputs for the `listActions` method. This update improves user experience by providing a way to refresh options without needing to reload the entire component.
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a refresh button for asynchronous input components, allowing users to manually re-fetch options by remounting the dropdown. It also updates the API registry to correctly handle credentials and input parameters for the listActions method and ensures that inputs are passed at the top level for other load methods. Feedback suggests extending the input-dependency whitelist in buildAsyncParams to include listTables, ensuring that dynamic filtering for that method works correctly in the UI.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
HenryHengZJ
approved these changes
Apr 3, 2026
j-sanaa
approved these changes
Apr 3, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
refreshproperty.refreshproperty.listActionsmethod.This update improves user experience by providing a way to refresh options without needing to reload the entire component.
agentflow-sdk-list-actions-refresh-button.mov