Closed dmijatovic closed 3 months ago
If you submit a workflow (which redirects to /jobs/9) and go back to the builder page it asks to load the just submitted workflow again.
I would expect that when you submit the workflow then the workflow is finished and the indexeddb is cleared.
Can we treat leaving to page after submit differently? Maybe use the formMethod==POST in https://remix.run/docs/en/main/hooks/use-navigation hook.
Please delete the images belonging to this Pull Request as they are no longer useful.
Goto versions page of each image, find version called pr-131, filter on tagged versions by clicking "N tagged" button in table header, click on ... button and select Delete version.
Save builder content
Closes #12
It saves "unfinished" workflow definitions to indexedDB, in "builder" objectStore, when user navigates away from builder page. When users visits builder page it is been asked if he want to load "unfinished" workflow definitions. If answer is OK the data is loaded.
What is implemented?
How to test?
To do
After testing we should remove console.logs.