openfoodfacts / smooth-app

🤳🥫 The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart
https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo
Apache License 2.0
862 stars 286 forks source link

Increase the Hunger Games batch size to something bigger #4102

Closed teolemon closed 1 year ago

teolemon commented 1 year ago

What

monsieurtanuki commented 1 year ago

Currently we download 3 questions (and 3 products), and then start the HG, and after answer 3 we land on the "continue" page.

Increase the Hunger Games batch size to something bigger

We could download much more questions (how slower would that be?) but probably not much more products (e.g. 100) before asking the first question.

Ideally get rid of the get more ("Continue") button by loading a new batch 2 products before the end of the current batch.


My (temporary) solution:

And then we'll see.

monsieurtanuki commented 1 year ago

I think that the new Hunger Games experience is now very smooth as it is: starts with 3 questions (small delay to load them), instant answers, then if the user wants 10 more questions still a small delay to load them, after a click. Makes sense. Feel free to reopen and to fine-tune the issue if relevant.