-
-
Notifications
You must be signed in to change notification settings - Fork 258
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
[Fast-track] Adding a photo with another language is not recognized as "added" #5245
Comments
Today, the button turns green when a photo with the correct type/(default) language is available. Here are a few possible fixes:
But the photo may still be sent in the background. (cc @monsieurtanuki @teolemon) |
@g123k Actually we don't care if the background task hasn't been completed yet: we override the product with the pending data. Quickly said: I would have a look at @override
Future<void> preExecute(final LocalDatabase localDatabase) async {
await localDatabase.upToDate.addChange(
uniqueId,
getProductChange(),
);
await putTransientImage(localDatabase);
} Including Then, I guess looping the product |
Hi everyone,
When we have what we call the "Fast-track" screen (= non-existing product), we first ask for photos.
However, if a photo is taken in a language different from the default one, we never have the green mark
In the video of #5226, we can see the issue at 00:25
https://github.com/openfoodfacts/smooth-app/assets/246838/05ce073d-4ed5-40ae-88e6-45b894c86891
The text was updated successfully, but these errors were encountered: