fix(tag-dropdown): exclude downstream blocks in loops and parallel siblings#3312
Merged
Conversation
…blings from reference picker
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile SummaryFixes tag dropdown to exclude downstream blocks in loops and parallel siblings. Previously, blocks inside loops could reference downstream blocks in the same loop, and blocks inside parallels could reference sibling blocks that run simultaneously. The fix consistently applies across both frontend tag picker and copilot tools by only adding loop/parallel container IDs rather than all child nodes. Also removes unused Confidence Score: 5/5
Important Files Changed
Last reviewed commit: f31ac10 |
Collaborator
Author
Collaborator
Author
|
@cursor review |
…ForWorkflow method
Collaborator
Author
|
@cursor review |
Collaborator
Author
|
@cursor review |
Collaborator
Author
…es in parallel branches
Collaborator
Author
|
@cursor review |
Collaborator
Author
|
@cursor review |
…s for blocks inside parallel
Collaborator
Author
|
@cursor review |
Collaborator
Author
…m accessible references
Collaborator
Author
Collaborator
Author
|
@cursor review |
royceP2
pushed a commit
to arenadeveloper02/p2-sim
that referenced
this pull request
Mar 3, 2026
…blings (simstudioai#3312) * fix(tag-dropdown): exclude downstream blocks in loops and parallel siblings from reference picker * chore(serializer): remove unused computeAccessibleBlockIds method * chore(block-path-calculator): remove unused calculateAccessibleBlocksForWorkflow method * chore(tag-dropdown): remove no-op loop node filter * fix(tag-dropdown): remove parallel container from accessible references in parallel branches * chore(tag-dropdown): remove no-op starter block filter * fix(tag-dropdown): restore parallel container in accessible references for blocks inside parallel * fix(copilot): exclude downstream loop nodes and parallel siblings from accessible references
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
<reference picker) showing downstream blocks when editing a block inside a loopancestorIds)Type of Change
Testing
Tested manually
Checklist