Open aleene opened 7 years ago
I had opened a bug to try triggering a chain edit by showing a list of uncomplete products. But your suggestion seems reasonable as well.
Probably related to #4, which I started working on at https://github.com/openfoodfacts/openfoodfacts-server/tree/issue/4-product-after-edit - suggestions welcome. 🎊
Could we do a minimal version of this, perhaps just using a javascript redirect after a few moments on the success page? Its not the best pattern, but its quick and dirty; and would save a lot of effort
setTimeout(function() {window.location.href = '/product/5000221506867?saved';}, 1000);
Could we do a minimal version of this, perhaps just using a javascript redirect after a few moments on the success page? Its not the best pattern, but its quick and dirty; and would save a lot of effort
setTimeout(function() {window.location.href = '/product/5000221506867?saved';}, 1000);
I would opt for reidirecting the user directly to the saved page.
Yeah, happy with that too; just means having to implement flash notifications, a bit of XSS injection proofing if we rely on URL params, etc vs a 1 liner.
It would be nice to streamline the webpages when saving a product.
Currently we get to see a save status page after saving. It would be nice to see the saved product right away. Add a status message on the saved product page to make clear the product has been saved.