Open taylordowns2000 opened 1 year ago
Do in the next sprint, requires UI
Noting that this is badly spec'd for taking into the sprint
Technically blocked. See this question on the Elixir Forum.
Moving into backlog. When planned again will need a spike to look at alternatives.
@stuartc , this also relates to #2007 ?
@midigofrank's work on #2297 should help with this. Modals will not close by clicking outside them.
@midigofrank correct?
@christad92 yes and no. I don't think the modals in the workflow page uses the same component as the one in #2297. But we can use the same technique.
Starting with the job builder because it's the most high-impact, we need an elegant and generic way to detect when a form has unsaved changes (maybe through the validate hook?) then then display a warning before the user closes.
This is particularly important on the job builder since clicking anywhere else on the canvas will close the form. See @josephjclark 's old https://github.com/OpenFn/Lightning/issues/280