fix(DesignerV2): Added forceSave on run button, fixed connection panel issue#9200
Conversation
…oatingRunButton - Use WorkflowJson instead of Workflow type for standalone designer state - Remove id spreading from workflow state updates (use separate designerID) - Add forceSave prop to FloatingRunButton to allow saving even when not dirty - Fix getConnectionConfiguration manifest parameter to be optional - Simplify monitoring view workflow restoration
…lignment - Remove position:absolute from action icon in NodeLinkButton (both v1 and v2) - Left-align button content with justifyContent: flex-start
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
✅ Commit Type
|
| Section | Status | Recommendation |
|---|---|---|
| Title | ✅ | Keep as-is or optionally mention workflow id change |
| Commit Type | ✅ | No change needed |
| Risk Level | Change label to risk:medium or justify low with extra tests/docs |
|
| What & Why | ✅ | Expand slightly with rationale for forceSave and id changes |
| Impact of Change | Add backward-compat notes and caller impacts (FloatingRunButton/getConnectionConfiguration) | |
| Test Plan | ❌ | Update checkboxes to indicate unit tests were added and provide CI/test run info |
| Contributors | ✅ | Optional: add other contributors if any |
| Screenshots/Videos | Optional: add before/after screenshots for UI changes |
Final Notes
- Advised risk level:
risk:medium(higher than the PR labelrisk:low). Reason: changes to workflow identity handling and save/run behavior can have broader effects than a purely visual or localized change. Please either change the PR label torisk:mediumor expand the PR body with explicit test coverage and justification that the change is low risk. - Tests: There are new unit tests in the diff. Please update the Test Plan checkboxes to mark Unit tests added/updated and ensure CI is passing. Include the file paths of the tests in the Test Plan for reviewers:
- libs/designer-v2/src/lib/ui/panel/connectionsPanel/allConnections/test/nodeLinkButton.spec.tsx
- libs/designer/src/lib/ui/panel/connectionsPanel/allConnections/test/nodeLinkButton.spec.tsx
- Suggested PR body edits (copy/paste friendly):
- Under What & Why: "Why:
forceSaveallows runs to be triggered for workflows that are functionally unchanged but require a save prior to running in certain host scenarios (describe case). Separating designerID from workflow.id prevents accidental reuse of workflow ids across designer sessions and avoids collisions when restoring workflows from monitoring view." - Under Impact: Add: "Developers must update any external uses of FloatingRunButton that rely on the old save gating behavior.
getConnectionConfigurationnow has an optional_manifestparam — callers that previously passed undefined should continue to work." - Under Test Plan: Check the unit-tests box, list the test files added, and add a short summary of manual regression steps run for the
forceSavebehavior and workflow id separation (e.g., "1) Open standalone designer, modify then undo changes, click run with forceSave true — confirm save executed; 2) Toggle monitoring view and back — confirm designerID persisted and workflow restores without id collision").
- Under What & Why: "Why:
Please update the PR body with the above corrections and re-run CI. Once updated, I can re-review and confirm the label/test checklist matches the diff. Thank you for the clear commit message and the added unit tests — those made verification much easier.
Last updated: Wed, 20 May 2026 21:15:08 GMT
There was a problem hiding this comment.
Pull request overview
This PR addresses a few Designer V2 UX and runtime issues: it introduces an opt-in forceSave capability for the V2 floating run button, improves connections panel icon/layout rendering, and refactors Standalone V2 to better separate “designer identity” from the workflow JSON content.
Changes:
- Added optional
forceSaveprop toFloatingRunButtonand used it to bypass the “skip save when not dirty” behavior. - Fixed connections panel action list/icon layout by removing absolute-positioned icons and normalizing icon sizing.
- Updated Standalone Designer V2 workflow state handling (and made
getConnectionConfiguration’s manifest arg optional).
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| libs/designer/src/lib/ui/panel/connectionsPanel/connectionsPanel.less | Normalizes action icon sizing to avoid overlap/misalignment. |
| libs/designer/src/lib/ui/panel/connectionsPanel/allConnections/nodeLinkButton.tsx | Removes absolute icon positioning; left-aligns button content. |
| libs/designer-v2/src/lib/ui/panel/connectionsPanel/allConnections/nodeLinkButton.tsx | Same alignment fix for Designer V2 connections panel node links. |
| libs/designer-v2/src/lib/ui/FloatingRunButton/index.tsx | Adds forceSave prop and integrates it into the save-skipping logic. |
| apps/Standalone/src/designer/app/AzureLogicAppsDesigner/laDesignerV2.tsx | Separates designerID from workflow JSON; makes manifest param optional. |
| apps/Standalone/src/designer/app/AzureLogicAppsDesigner/laDesignerConsumptionV2.tsx | Adjusts workflow updates from Copilot proposals (but currently risks dropping workflow.id). |
📊 Coverage Check🎉 All changed files have adequate test coverage! |
❌ PR Validation ErrorAn error occurred while validating your PR. Please try again later or contact the maintainers. Error: API request failed with status 504 |
1 similar comment
❌ PR Validation ErrorAn error occurred while validating your PR. Please try again later or contact the maintainers. Error: API request failed with status 504 |
- Test rendering, icon display, left-alignment, dispatch behavior - Cover both designer v1 and designer-v2 versions
❌ PR Validation ErrorAn error occurred while validating your PR. Please try again later or contact the maintainers. Error: API request failed with status 500 |
❌ PR Validation ErrorAn error occurred while validating your PR. Please try again later or contact the maintainers. Error: API request failed with status 500 |
1 similar comment
❌ PR Validation ErrorAn error occurred while validating your PR. Please try again later or contact the maintainers. Error: API request failed with status 500 |
❌ PR Validation ErrorAn error occurred while validating your PR. Please try again later or contact the maintainers. Error: API request failed with status 500 |
1 similar comment
❌ PR Validation ErrorAn error occurred while validating your PR. Please try again later or contact the maintainers. Error: API request failed with status 500 |
Commit Type
Risk Level
What & Why
Added
forceSaveoption to theFloatingRunButtoncomponent.Fixed some standalone v2 issues.
Fixed some connection panel render issues.
Impact of Change
FloatingRunButtonaccepts a newforceSaveprop;getConnectionConfigurationmanifest param is now optionaldesignerID) and workflow content state (WorkflowJson)Test Plan
Contributors
@rllyy97
Screenshots/Videos
N/A