-
-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 5301 - price proofs can be cropped and will be displayed (#5305)
* feat: 5301 - price proofs can be cropped and will be displayed New files: * `crop_helper.dart`: Crop Helper for images in crop page: process to run when cropping an image. * `crop_parameters.dart`: Parameters of the crop operation. * `product_crop_helper.dart`: Crop Helpers for product images. * `proof_crop_helper.dart`: Crop Helper for proof images. Impacted files * `add_new_product_page.dart`: minor refactoring * `background_task.dart`: new method `isDeduplicable` * `background_task_add_price.dart`: * `background_task_image.dart`: made some methods `static` and public to be reused * `background_task_manager.dart`: now using new method `isDeduplicable` * `background_task_upload.dart`: new method `isDeduplicable` * `crop_page.dart`: refactored using `CropHelper` * `image_crop_page.dart`: minor refactoring * `may_exit_page_helper.dart`: minor refactoring * `price_model.dart`: minor refactoring * `price_proof_card.dart`: now we may crop the image and we also display the result * `product_image_crop_button.dart`: refactored using `CropHelper` * `uploaded_image_gallery.dart`: minor refactoring * feat: 5301 - fixed WillPopScope2 Impacted files * `crop_page.dart`: fixed `WillPopScope2` * `product_price_add_page.dart`: added a `TODO` * `price_proof_card.dart`: minor refactoring * Unrelated - fixed `getUrl` bug (was always PROD, never TEST) New file: * `signalconso.png`: new asset Impacted files * `product_cards_helper.dart`: fixed `getUrl` bug (was always PROD, never TEST) * `product_image_crop_button.dart`: fixed `getUrl` bug (was always PROD, never TEST) * `product_image_gallery_other_view.dart`: fixed `getUrl` bug (was always PROD, never TEST) * `product_image_other_page.dart`: fixed `getUrl` bug (was always PROD, never TEST) * `uploaded_image_gallery.dart`: fixed `getUrl` bug (was always PROD, never TEST)
- Loading branch information
1 parent
b6ad190
commit 529fe8f
Showing
22 changed files
with
805 additions
and
377 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.