Azure / LogicAppsUX

https://learn.microsoft.com/azure/logic-apps
MIT License
73 stars 80 forks source link

Issue with Logic Apps 'Save' button #2036

Closed MisbahAfreen closed 1 year ago

MisbahAfreen commented 1 year ago

Describe the Bug with repro steps

Issue in 'Try preview Designer'

When we open the designer, even though we haven't done any changes, 'Save' button is still highlighted. If we still go ahead and click on 'Save', it will show a message that the workflow is saved('Successfully saved workflow'), but when we try to go back to our list of workflows, it shows a pop up message 'Your unsaved edits will be discarded', but there are no edits to be saved anymore!

After this, when we open the designer, the changes are saved(if any), but unnecessary pop-up which says 'Your unsaved edits will be discarded'.

Also, the 'Save' should be disabled when there are no actual changes to the workflow.

Workflow JSON

NA

Screenshots or Videos

LogicApps_SaveError

Browser

Chrome

Additional context

No response

Eric-B-Wu commented 1 year ago

@MisbahAfreen Thanks for reporting this as well, this is happening because in new designer we haven't implemented a way to check the dirty-state of the workflow. This is something we plan to add in the future