-
-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 4674 - new UI for main image page; fallback image only for product icon #4738
feat: 4674 - new UI for main image page; fallback image only for product icon #4738
Conversation
…uct icon Impacted files: * `add_new_product_helper.dart`: minor refactoring * `add_new_product_page.dart`: minor refactoring * `image_field_extension.dart`: minor refactoring * `product_cards_helper.dart`: removed references to fallback image - now we stick to the specified language; minor refactoring * `product_image_carousel.dart`: minor refactoring * `product_image_gallery_view.dart`: added a language selector; new UI * `product_image_swipeable_view.dart`: added an optional language parameter; simplified the code now relying only on `ImageField` * `product_image_viewer.dart`: minor refactoring * `smooth_list_tile_card.dart`: minor refactoring * `smooth_product_image.dart`: now we explicitly use the default image if needed
Codecov Report
@@ Coverage Diff @@
## develop #4738 +/- ##
==========================================
- Coverage 9.90% 9.87% -0.04%
==========================================
Files 310 310
Lines 15807 15846 +39
==========================================
- Hits 1566 1565 -1
- Misses 14241 14281 +40
... and 4 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Thanks for your PR @monsieurtanuki :) Just so I know where your PR stops, in terms of UI: |
@g123k The PR is "as is". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good to me.
I think that for "Other photos", you will be forced to use a GridView
(since you have a variable number of products). And I wonder if it will not be simpler to directly use it for this part
Thank you @g123k for your review! |
What
Screenshot
Impact on soon-to-be-removed carousel:
Part of
Impacted files:
add_new_product_helper.dart
: minor refactoringadd_new_product_page.dart
: minor refactoringimage_field_extension.dart
: minor refactoringproduct_cards_helper.dart
: removed references to fallback image - now we stick to the specified language; minor refactoringproduct_image_carousel.dart
: minor refactoringproduct_image_gallery_view.dart
: added a language selector; new UIproduct_image_swipeable_view.dart
: added an optional language parameter; simplified the code now relying only onImageField
product_image_viewer.dart
: minor refactoringsmooth_list_tile_card.dart
: minor refactoringsmooth_product_image.dart
: now we explicitly use the default image if needed