feat(visual-editor): request edit access workflow tooltips and canvas integration#572
Merged
hiteshshetty-dev merged 4 commits intodevelop_v4from Mar 27, 2026
Merged
feat(visual-editor): request edit access workflow tooltips and canvas integration#572hiteshshetty-dev merged 4 commits intodevelop_v4from
hiteshshetty-dev merged 4 commits intodevelop_v4from
Conversation
…verage - Unit-test getWorkflowStageDetails postMessage payload and fallbacks - Integration-style tests for request/pending copy, tooltip classes, and OPEN_REQUEST_EDIT_ACCESS - Extend fieldLabelWrapper mock styles for workflow tooltip variants - Fix visualBuilder.style mock path (../../../) so class assertions match mocked labels Made-with: Cursor
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
kirtesh-cstk
approved these changes
Mar 27, 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.
Summary
adds workflow stage details (including
requestEditAccess), field-label UX for request/pending states, wider tooltip for workflow copy,OPEN_REQUEST_EDIT_ACCESSpostMessage, and supporting styles.This PR also adds tests
getWorkflowStageDetails.test.ts: postMessage payload, success path, permissive fallback when send returns undefined or throwsfieldLabelWrapper.workflowRequest.test.tsx: renders request/pending copy, workflow tooltip class (with correctedvisualBuilder.stylemock path), andOPEN_REQUEST_EDIT_ACCESSon clickVerification
npx vitest run src/visualBuilder/utils/__test__/getWorkflowStageDetails.test.ts src/visualBuilder/components/__test__/fieldlabelwrapper/fieldLabelWrapper.workflowRequest.test.tsxnpx vitest run src/visualBuilder/utils/__test__/isFieldDisabled.test.ts(existing workflow cases)Notes
max-widthfor workflow uses modifier class ordered after base.visual-builder__custom-tooltipso 325px wins over 200px in the stylesheet.Made with Cursor