Follow-up of !493
Loic Huder (fbe76cd5) at 28 Mar 16:13
Add a warning prompt when navigating out of the edit page
Loic Huder (ea82e7a0) at 28 Mar 15:53
Loic Huder (fc32636d) at 28 Mar 15:53
Merge branch 'warn-user-of-changes' into 'main'
... and 7 more commits
Supersedes !467
Still some CI failures that I will investigate while you review @bocciare.
Probaly a cy.wait
missing somewhere.
Loic Huder (82159493) at 28 Mar 13:05
Update tutorial_Graph with new markerEnd syntax
Renamed a bunch of things in this store: we are storing an history of workflows not of their changes.
Broke this down in several CSS modules:
SaveToServerButton
WorkflowTitle
Inlined below and omitted setOpenAgreeDialog(false);
as explained above.
I reworked this a bit: I removed the disagreeCallback
prop that was only used the close the dialog. This is now done internally by ConfirmDialog
.
Similarly, onConfirm
(prev. agreeCallback
) does not need to close the dialog : this is also done internally by ConfirmDialog
.
I added some wait
here and there to be sure that the debounced saveChange
is called appropriately.
There is indeed a tricky problem when triggering saveChange
from different sources in this 500ms interval: if two changes are made in the 500ms, the debounced saveChange
is only called once.
Note that it is only a problem for tests that can trigger saveChange
from different sources quickly. Normal (slower) user interaction should not raise this issue.
Changed this to ensure the test is not a false positive (i.e. label
automatically filled by id
)