fix(app): clear selection after manual flow#27330
Merged
AlexGaillard merged 1 commit intodirectus:mainfrom Apr 28, 2026
Merged
Conversation
f985693 to
0e7b5fb
Compare
AlexGaillard
approved these changes
Apr 28, 2026
Member
AlexGaillard
left a comment
There was a problem hiding this comment.
Great turn around time 👍 🚀 Thanks @kropsi 😄 and congrats on contrib
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.
Scope
What's changed:
v11.13.0)
selection is preserved so the user can retry. Note: this matches what the trigger endpoint reports — operation-level
rejections inside the flow still return HTTP 200, so they are treated as success here, same as pre-v11.13.0 behavior
Potential Risks / Drawbacks
tryTested Scenarios
use-flows.test.tscontinue to pass; full suite is 17/17test_itemscollection, manual flow withrequireSelection: true) confirmed the clearReview Notes / Questions
batchRefreshincollection.vue: clear, then refreshuseFlowsrather than each caller'sonRefreshCallback, since the composable owns theselectionrefselectiondefaults to an empty ref inuseFlows, so the new line is a no-op therekeysfor the API call is captured before the clear, so the trigger still uses the right selectionChecklist
Fixes #27323