dboehmer / coocook

👨‍🍳🦉 Web application for collecting recipes and making food plans
https://coocook.org/
Other
11 stars 2 forks source link

Warn user when editing ingredients while recipe description is unsaved (or reverse) #144

Open dboehmer opened 3 years ago

dboehmer commented 3 years ago

A user quite similar to persona Lina has just reported that both forms are now simultaneously saved with a click on a submit button. While using Coocook at the weekend I also felt like this myself. But I don’t know why this could have changed or how this should work. Needs to be verified at least.

dboehmer commented 2 years ago

The ingredient editor will update automatically with @moseschmiedel’s React Solid component.

So this becomes very simple: basic Javascript confirmation if the description/preparation is changed and the users tries to leave the page.