feat: 2424 - new "select existing images" button #3641
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.Deleted file:
smooth_images_sliver_grid.dart
Impacted files:
abstract_background_task.dart
: added reference to new "crop" taskapp_en.arb
: added 4 labels about "existing images" (button, page title, downloading, nothing found)image_crop_page.dart
: refactored moving code here fromProductImageViewer
new_crop_page.dart
: now we can handle "already existing" images, in addition to the current choice for e.g. NUTRITION_FRoperation_type.dart
: added reference to new "crop" taskproduct_image_swipeable_view.dart
: unrelated fix - the title of the first reached page was always the title of the first page to the leftproduct_image_viewer.dart
: added a "select existing image" button; moved code toimage_crop_page.dart
pubspec.lock
: wtfpubspec.yaml
: upgraded off-dart in order to user new methodsWhat
Screenshot
Fixes bug(s)
Part of