waistline icon indicating copy to clipboard operation
waistline copied to clipboard

Food upload functionality is broken

Open savchenko opened this issue 1 year ago • 4 comments

Would be great to receive this notification before all information is entered:

image

savchenko avatar Dec 16 '23 23:12 savchenko

But that isn't shown until you press the upload button is it?

davidhealey avatar Dec 16 '23 23:12 davidhealey

Correct. How about:

  1. Check if the upload endpoint returns 200 and happy to accept a new item.
  2. 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.

savchenko avatar Dec 17 '23 00:12 savchenko

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.

davidhealey avatar Dec 17 '23 00:12 davidhealey

local save would be huge, I got the same error today

fs-99 avatar Jan 21 '24 12:01 fs-99