improvement(blocks): depends on misalignments audit#4409
improvement(blocks): depends on misalignments audit#4409icecrasher321 merged 2 commits intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryMedium Risk Overview Improves dependency resolution logic. Adds Updates ElevenLabs STT model defaults. ElevenLabs STT is moved to Reviewed by Cursor Bugbot for commit adfb2b9. Configure here. |
Greptile SummaryThis PR audits and corrects Confidence Score: 4/5Safe to merge — all changes are additive config fixes or targeted bug corrections with no data-loss risk Only P2 findings present (ElevenLabs apps/sim/tools/stt/elevenlabs.ts — Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Sub-block value changes\nin workflow editor] --> B[use-collaborative-workflow\nupdateSubBlock]
B --> C[getSubBlocksDependingOnChange\nblocks/utils.ts]
C --> D[buildCanonicalIndex\nlib/workflows/subblocks/visibility]
D --> E{Is changedId\npart of a canonical group?}
E -- Yes --> F[Expand changedFields set\nwith basicId + advancedIds + canonicalId]
E -- No --> G[changedFields = changedId only]
F --> H[Filter subBlocks where\ngetDependsOnFields overlaps changedFields]
G --> H
H --> I[Auto-clear dependent\nsub-block values]
J[useDependsOnGate hook\nUI gating layer] --> K{dependsOn format?}
K -- Array --> L[all fields required - AND logic]
K -- Object all/any --> M[all AND logic + any OR logic]
L --> N[Block/unblock sub-block input]
M --> N
|
Summary
Type of Change
Testing
Tested manually
Checklist