* Fix the elevated button color
* Scan tagline : when there is an error, hide the image
* Better management of errors for the `ProductPicture`
* Force a loader for the gallery
* Fix Japanese issue with tables
* Update packages/smooth_app/lib/cards/product_cards/smooth_product_image.dart
Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
* Force a color for Price buttons
---------
Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
* Improve performances for the photos gallery
* Allow to pass an `ImageSize` to `ProductImageWidget`
* Update packages/smooth_app/lib/pages/image/product_image_gallery_other_view.dart
Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
---------
Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
Impacted files:
* `product_image_gallery_other_view.dart`: display the upload date on top of raw image grid items
* `product_image_gallery_view.dart`: unrelated minor refactoring
* `pubspec.lock`: wtf
* `pubspec.yaml`: upgrade to off-dart 3.5.0 in order to get the uploaded timestamp of raw images
* `smooth_image.dart`: unrelated minor refactoring
* Use the Slivers mechanism with the Gallery view
* Remove the print from the demo
* Also remove keep alives
* Ok, here is your format thing
* Remove Provider
New file:
* `image_field_extension.dart`: moved code from `product_cards_helper.dart`
Deleted files:
* `product_image_unswipeable_view.dart`
* `smooth_images_sliver_list.dart`
* `smooth_images_view.dart`
Impacted files:
* `image_upload_card.dart`: minor refactoring
* `language_selector.dart`: added an optional foreground color (use case: explicit white for images on a black background)
* `new_crop_page.dart`: minor refactoring
* `nutrition_page_loaded.dart: now using a new special case constructor of `ProductImageSwipeableView` instead of now deleted `ProductImageUnswipeableView`
* `product_cards_helper.dart`: added language-related methods; refactored
* `product_image_carousel.dart`: minor refactoring
* `product_image_data.dart`: added language
* `product_image_gallery_view.dart`: simplified the display of the 4 images; added the language selector on top; refactored the title
* `product_image_swipeable_view.dart`: now handles the "mono imagefield" case; now manages languages; minor refactoring
* `product_image_viewer.dart`: added the language selector; removed the irrelevant `Scaffold`
* feat: 2424 - new "select existing image" button
New files:
* `background_task_crop.dart`: Background task about product image crop from existing file.
* `uploaded_image_gallery.dart`: Gallery of all images already uploaded, about a given product.
Delete file:
* `smooth_images_sliver_grid.dart`
Impacted files:
* `abstract_background_task.dart`: added reference to "crop" task
* `app_en.arb`: added 4 labels about "existing images" (button, page title, downloading, nothing found)
* `image_crop_page.dart`: refactored moving code here from `ProductImageViewer`
* `new_crop_page.dart`: now we can handle "already existing" images, in addition to the current choice for e.g. NUTRITION_FR
* `operation_type.dart`: added reference to new "crop" task
* `product_image_swipeable_view.dart`: unrelated fix - the title of the first reached page was always the title of the first page to the left
* `product_image_viewer.dart`: added a "select existing image" button; moved code to `image_crop_page.dart`
* `pubspec.lock`: wtf
* `pubspec.yaml`: upgraded off-dart in order to user new methods
* feat: 2424 - upgraded to off-dart 2.2.0
Impacted files:
* `pubspec.lock`: wtf
* `pubspec.yaml`: upgraded off-dart in order to user new methods
* feat: 3332 - crop page title now reflects image field
Impacted files:
* `confirm_and_upload_picture.dart`: minor refactoring
* `crop_helper.dart`: added a `pageTitle` parameter
* `edit_ingredients_page.dart`: minor refactoring
* `image_crop_page.dart`: added `imageField` parameters, so that we can compute the correct label on crop page
* `image_upload_card.dart`: now we explicitly use `getProductImageButtonText` as label
* `new_crop_page.dart`: added a page title parameter
* `product_cards_helper.dart`: new label method `getImagePageTitle`; minor refactoring
* `product_image_carousel.dart`: minor refactoring
* `product_image_data.dart`: removed label fields - now we have more flexibility, computing labels from `imageField` with `product_cards_helper.dart` methods
* `product_image_gallery_view.dart`: minor refactoring
* `product_image_swipeable_view.dart`: now we explicitly use `getImagePageTitle` as label
* `product_image_viewer.dart`: minor refactoring
* `smooth_images_sliver_list.dart`: now we explicitly use `getProductImageTitle` as label
* `smooth_product_image.dart`: minor refactoring
* feat: 3332 - 2 lines for the title
Impacted files:
* `new_crop_page.dart`: 2 lines for the title
Co-authored-by: Aman Raj <57723319+AshAman999@users.noreply.github.com>
* feat : 3129 (New PR) Allow to swipe between product images on the full screen image
* Resolved formatting issues
* Made the changes suggested in PR review
* Resolved formatting issues
Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>