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
855 stars 283 forks source link

feat: Photo gallery: if a photo is missing → take it directly #5885

Closed g123k closed 3 days ago

g123k commented 3 days ago

Hi everyone,

In the photo gallery, clicking on a photo in the grid (whether it's available or not) always opens the details screen.

The behavior is changed to:

📹 Video: https://github.com/user-attachments/assets/15aa3602-3ba6-49c0-9e7f-ef82c5e6eb39

codecov-commenter commented 3 days ago

Codecov Report

Attention: Patch coverage is 0% with 111 lines in your changes missing coverage. Please review.

Project coverage is 6.73%. Comparing base (4d9c7fc) to head (eca9bed). Report is 486 commits behind head on develop.

Files with missing lines Patch % Lines
...oduct/gallery_view/product_image_gallery_view.dart 0.00% 79 Missing :warning:
.../gallery_view/product_image_gallery_photo_row.dart 0.00% 30 Missing :warning:
.../lib/cards/product_cards/smooth_product_image.dart 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #5885 +/- ## ========================================== - Coverage 9.54% 6.73% -2.82% ========================================== Files 325 433 +108 Lines 16411 24014 +7603 ========================================== + Hits 1567 1617 +50 - Misses 14844 22397 +7553 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: