waistline
waistline copied to clipboard
Food upload functionality is broken
Would be great to receive this notification before all information is entered:
But that isn't shown until you press the upload button is it?
Correct. How about:
- Check if the upload endpoint returns
200
and happy to accept a new item. - If it doesn't - either prohibit user from entering new data (it will be lost anyway) or add an ability to save it locally and upload it later.
I don't think we can check the end point without sending some data to it. Also between the check and you pressing the upload button the problem might occur.
Saving the data locally is probably the better option here, with the ability to upload it at a later date.
local save would be huge, I got the same error today