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
753 stars 261 forks source link

Open Prices (tracker) #5072

Open teolemon opened 5 months ago

teolemon commented 5 months ago

This is a list of all the potential work for Open Prices. This does not include all features, nor the more advanced mockups on Figma

Please do not create issues at this time. Please DO NOT start working on this at this time until we have a clear view of how we organize.

### Personal Dashboard
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5206
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5205
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5207
### Prices Home
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5196
### Visualisation
- [ ]  Replicate the 'Top locations' view from the Open Prices mobile app (https://prices.openfoodfacts.org/app/locations) https://github.com/openfoodfacts/open-prices-frontend/blob/master/src/views/LocationDetail.vue https://github.com/openfoodfacts/open-prices-frontend/blob/master/src/views/LocationList.vue
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5210
- [ ] Replicate the 'Top Products' view from the Open Prices mobile app (https://prices.openfoodfacts.org/app/products)
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5198
- [ ] Replicate the 'Brand' view from the Open Prices mobile app () https://github.com/openfoodfacts/open-prices-frontend/blob/master/src/views/BrandDetail.vue
- [ ] Replicate the 'Stats' view from the Open Prices mobile app () https://github.com/openfoodfacts/open-prices-frontend/blob/master/src/views/Stats.vue
### Settings
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5199
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5200
- [ ] Integrate the settings in a Prices section within settings
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5201
### Product page
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5197
- [ ]  Replicate the 'Stats' view from the Open Prices mobile app (https://prices.openfoodfacts.org/app/stats)
### Proof addition + ML magic
- [ ] Create a shared system to analyse EXIF data from the photos (camera AND/OR gallery), extracting date and coordinates
- [ ] Create a system to fetch store candidates based on coordinates (we probably need a new server route)
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5202
- [ ] Add a system to attempt extracting prices from the above generated cards (using MLKIT OCR ?)
- [ ] Add a system to crop an aisle panorama into individual prices for the 'Add multiple products' below. Consider asking for a new server route to upload crop coordinates instead of multiple crops of the same image
- [ ] Add a client side system to add black resizeable squares on device to preserve privacy of receipts
- [ ] Add a client side system to extract prices and items from receipts (using MLKIT OCR ?)
### Add prices
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5195
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5203
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5315
### Tasks
- [ ] https://github.com/openfoodfacts/open-prices-frontend/blob/master/src/views/AddPriceHome.vue
- [ ] https://github.com/openfoodfacts/open-prices-frontend/blob/master/src/views/AddPriceMultiple.vue
- [ ] https://github.com/openfoodfacts/open-prices-frontend/blob/master/src/views/AddPriceSingle.vue
### Add receipts
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5204
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5208
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5209

Other views from web

### Tasks
- [ ] https://github.com/openfoodfacts/open-prices-frontend/blob/master/src/views/NotFound.vue
- [ ] https://github.com/openfoodfacts/open-prices-frontend/blob/master/src/views/PriceList.vue
- [ ] https://github.com/openfoodfacts/open-prices-frontend/blob/master/src/views/ProductList.vue
- [ ] https://github.com/openfoodfacts/open-prices-frontend/blob/master/src/views/Search.vue
- [ ] https://github.com/openfoodfacts/open-prices-frontend/blob/master/src/views/User.vue
### Tasks
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5318
teolemon commented 5 months ago

@monsieurtanuki from your PoC, do you see points I may have overlooked ? Would you have some precisions to add ?

monsieurtanuki commented 5 months ago

@teolemon Not really from the PoC, but it would be wonderful if we could filter prices for locations within n meters, after providing latitude/longitude:

Besides, the most annoying part is finding the location. Not convinced so far by what I implemented in the PoC or what is implemented in prices. Still looking for a "get the shops that match 'monoprix avenue daumesnil paris'" easy method.

Other suggested feature: a simple "price hasn't changed for this product in this shop" button, in order to make it easy to log the stability of prices.

cc @raphodn @raphael0202

teolemon commented 1 month ago

Feeling currently:

monsieurtanuki commented 1 month ago

I wish I could start a journey from a receipt

That would be the next steps:

I wish I could pick a receipt from my phone as a source

It's already possible. As we use the same "always gallery/always camera/always ask" system as in the rest of the app (e.g. ingredients image pick), you may have selected "always camera". Would you prefer a separate settings for product receipt and product images?

  • Facture and Etiquette could use some explanation (it's actually "Ticket de caisse" and "Photo of the Price on the shelf")

We can add an (i) info button, would that be ok?