-
-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An issue with background tasks? #4564
Comments
@g123k If you create a new product, it will be sent to the server in a background task, after all the previous background tasks. That may explain a delay between the creation on the app and the creation on the server, especially with low connection and many images. More generally speaking, as long as we consider that the background tasks as a black box that always succeeds immediately regardless of the connection or of the server, we'll have potential confusion in the app. |
@teolemon This is the issue I told you yesterday. |
A simple rewording would probably be the best solution. It would need an heuristic to set it apart from deleted products and Moved to OxF products |
We don't even need a rewording. We just need to fix the list refresh: if the product is not on the server but is in local, display the local version. |
@monsieurtanuki Then we need to explain why no scores, no knowledge panels. ("Scores and information will appear when this product is actually sent to the Open Food Facts server") |
@teolemon We need to do that everywhere in the app when there's a product, even "old" products: if I change the category and expect a dramatic nutriscore change that I cannot see, it's because the product has not been uploaded to/refreshed from the server side. Could be a simple red banner like "pending changes...". I'll have a go with that banner feature, while fixing the current bug. |
Well, we should never be in the case where we have 90% plus of old banners, especially as the Nutri-Score is about to change. |
@teolemon The "old banners" would only be displayed for products that the user changed locally and whose changes have not been uploaded yet. You're mentioning another refresh issue: how do we know if a product changed on the server. That's something different. |
|
Hi everyone,
We have a rapport on Slack on the history list, with many products having an error:
What he did:
Screen_Recording_20230817_111548.mp4
The text was updated successfully, but these errors were encountered: