fix(conditions): make outputs correct#2437
Merged
waleedlatif1 merged 1 commit intostagingfrom Dec 18, 2025
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Greptile SummaryThis PR fixes the output structure of condition blocks by:
The changes are well-tested and the English documentation was updated. However, documentation in other languages (zh, ja, de, fr, es) still references the old field names and should be updated for consistency. Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Source as Source Block
participant Condition as Condition Handler
participant Edge as Edge Manager
participant Target as Target Block
Source->>Condition: Execute with source output
Condition->>Condition: Evaluate conditions
Note over Condition: Before: output included both<br/>selectedConditionId & selectedOption
Note over Condition: After: output only includes<br/>selectedOption
Condition->>Edge: Return {conditionResult, selectedPath, selectedOption}
Edge->>Edge: Check selectedOption matches edge handle
Edge->>Target: Activate matching path
|
This was referenced Dec 18, 2025
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.
Summary
Fix output structure to be accurate for condition blocks.
Type of Change
Testing
Tested manually
Checklist