Skip to content
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

Hunger Games should make it clear when robotoff or openfoodfacts.org is down #430

Open
teolemon opened this issue Dec 29, 2022 · 4 comments
Assignees
Labels
🐛 Bug Something isn't working ⭐ top issue Top issue.

Comments

@teolemon
Copy link
Member

teolemon commented Dec 29, 2022

What

  • Hunger Games should make it clear when Robotoff (or openfoodfacts.org) is down
@teolemon teolemon added the 🐛 Bug Something isn't working label Dec 29, 2022
@raphael0202
Copy link
Contributor

Or when any non-2XX HTTP response is returned

@alexfauquette
Copy link
Member

Might be done with a snack bar

On top of the App add a provider to provide an helper funciton that will open the snack bar. In all off or robotoff call trigger the snack bar if an error occured

@VaiTon
Copy link
Member

VaiTon commented Jan 7, 2023

What about replacing the entire screen with a big icon and a text "Robotoff is not available at the moment. Please retry in a few minutes!" and a big button under it with "Retry".

In that way users cannot perform any action until the service is up again, reducing the amount of "stress" the robotoff server is under when giving Bad Gateway 502 errors

@teolemon
Copy link
Member Author

teolemon commented Jan 8, 2023

Ok, given today, we should do the same for the main server

@VaiTon VaiTon changed the title Hunger Games should make it clear when Robotoff is 502 Hunger Games should make it clear when robotoff or openfoodfacts.org is down Jan 8, 2023
@alexfauquette alexfauquette self-assigned this Jan 13, 2023
@github-actions github-actions bot removed the ⭐ top bug Top bug. label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working ⭐ top issue Top issue.
Projects
Status: To Discuss & Validate
Development

No branches or pull requests

4 participants