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

Refresh experience in edit mode #2646

Closed
5 tasks done
teolemon opened this issue Jul 23, 2022 · 4 comments
Closed
5 tasks done

Refresh experience in edit mode #2646

teolemon opened this issue Jul 23, 2022 · 4 comments
Assignees
Labels

Comments

@teolemon
Copy link
Member

teolemon commented Jul 23, 2022

Problem

  • As a power user, I'm currently never confident that the local product is up to date, and I find myself willing to refresh from the edit mode, or one of the edit section
  • Eg: I validate a Robotoff suggestion for label: nutriscore, I go to the Label edit section, I don't see the Nutri-Score label. I find myself willing to refresh

Proposed solution

Part of

@teolemon teolemon changed the title Allow slide down to refresh in edit mode Refresh experience in edit mode Jul 23, 2022
@monsieurtanuki
Copy link
Contributor

@teolemon In #2648 I implemented the refresh on the "edit product page".

  1. Would you like it implemented in all detailed edit product pages?
  2. Would we be better off displaying the product-last-update timestamp (either from the server or from the local database upsert) (or both)
  3. Perhaps a push system from the server "hey, the product 1234567890123 has just changed"

@monsieurtanuki
Copy link
Contributor

@teolemon As mentioned in #3059, we could add a visual badge stating that the product recent local changes haven't been uploaded yet.
Automagically, the badge will disappear when the data is upload/downloaded/stored locally.

@monsieurtanuki
Copy link
Contributor

We should ideally also ensure that we refresh the product after 10 minutes after a photo upload

@teolemon That's the last item that's missing now.

@monsieurtanuki
Copy link
Contributor

Closed as everything is completed.

Repository owner moved this from To discuss and validate to Done in 🤳🥫 The Open Food Facts mobile app (Android & iOS) Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants