openfoodfacts / smooth-app

The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart

Home Page:https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ensure we can add a price even if the network is poor

teolemon opened this issue · comments

Problem

  • Ensure we can add a price even if the network is poor
  • a solution might be to add a price button below the reload button

Several states of the carousel

  • loading
  • long loading
  • error

Potential complexity

  • we don't have the product_name which is required on the price addition page, so we need to handle that exception

Code pointers

Screenshot

Screenshot_20240601-183548.png

  • Precision this is happening because the server is down.
  • There might be a different screen in case of slow network
  • unlike on classic product data we have no data conflict to care about

I'll take care of this

assigned 👍

I don't have the latest Mac OS so I can't load OFF on my phone. I've been using the simulator and don't have an Android device. So I'm gotta have to forfeit this ticket for now.

@jnnabugwu Yeah, apple are bstrds. I've just switched back to Windows, where I can develop without all that macos nonsense.