* Ensure the NutriScore guide always have a white status bar
* Fix food icons
* Product card without attributes
* Non-selected popular languages must be in the general list
* Fix infinite scroll
* Minor fixes for NOVA 2/3
* Edition improvements
* Sketch file
* Nutrition editor: the Next key is working again on Android
* Nutrition editor: tapping the title will force the focus on the TextField
* Improved nutrition input
* Translate all TODOs
* Loading + error states
* Update labeler
* "Add" icon with the same size as "Help"
* Fix light/dark mode switch issue
* Button to a nutrient at the bottom
* Remove warning
* Language selector + ingredients text field
* Minor fix
* Outdated explanations
* Remove shadow from edit buttons
* Invert colors for Cancel/Save buttons in dark mode
* Format
* SafeArea for Edit Page
* UI improvements for the edit mode
* Better website input
* Some comments + minor fixes
* Add missing bottom space
* Fix page padding
* Help is better embedded
* Change ingredients instructions
* 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>
* feat: 5430 - "producer provided" icon for nutrients and 4 product fields
Impacted files:
* `add_basic_details_page.dart`: display "producer provided" icon for name, brands and quantity
* `nutrition_page_loaded.dart`: display "producer provided" icon for serving size and each individual nutrient
* `product_query.dart`: set the icon to display when a product field value is "producer provided"
* `smooth_autocomplete_text_field.dart`: added parameter `suffixIcon`
* `smooth_text_form_field.dart`: added parameter `suffixIcon`
* Minor code cleaning
* Minor code cleaning
* Standard info tile about "owner fields"
New file:
* `owner_field_info.dart`: Standard info tile about "owner fields".
Impacted files:
* `add_basic_details_page.dart`: now displaying `OwnerFieldInfo` if relevant; minor refactoring
* `nutrition_page_loaded.dart`: now displaying `OwnerFieldInfo` if relevant; minor refactoring
* `product_query.dart`: moved field to new file `owner_field_info.dart`
* translations and semantics
Impacted files:
* add_basic_details_page.dart: added semantics
* app_en.arb: 2 new labels for "owner field info"
* nutrition_page_loaded.dart: added semantics
* owner_field_info.dart: translated labels
* typo fix
* feat: added spell check configuration to the smooth text form
* feat: added spellcheck to product field in basic details page
* fix: fixed formatting
* 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
New file:
* `language_priority.dart`: Helper around the language priority.
Impacted files:
* `add_basic_details_page.dart`: minor refactoring
* `dao_string_list.dart`: now storing the latest languages used locally in the app
* `edit_ocr_page.dart`: minor refactoring
* `language_selector.dart`: now showing app and product languages as first languages
* `multilingual_helper.dart`: minor refactoring
Impacted files:
* `edit_ocr_page.dart`: uncropped the "no image" placeholder; padded the text; reshaped the "add" button
* `picture_not_found.dart`: minor refactoring
* `product_image_local_button.dart`: removed a confusing parameter
* `product_image_viewer.dart`: removed a confusing parameter
* When we highlight a suggestion, we can't rely on the `removeDiacritics`, as it replaces some letters of 1 word into 2 or +
* Better algorithm
* Remove unused things
* Fix typo
* Unnecessary brackets
* Replace all `toLowerCase` + `removeDiacritics` by a single `getComparisonSafeString`
* Reformat CountrySelector
* `removeAccents` removed + 1 new test
---------
Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
* 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
* feat: Create a screen listing all attributes for a product
- resolves: #4673
- I have just added a simple button in edit product page just to test the
new page. It will be removed and added in the paticular screen.
- taking `edit_product_page.dart` as a base `product_attribute_page.dart`
is designed as suggested by teolemon.
- Added all the mentioned section field in the issue.
* refactor: chnages done according to the feedback
- created seperte file for `svg_icon.dar`
- created newFile for `attribute_first_row_widget.dart`
- removed refreshIndicator
- useed stringbuffer for string concatenation
- fix: linting errors
* fix: move nutrients extraction to init state
- to avoid recalculation on every build
* remove usage of knowledgepanel, use product.nutriments
* move ingredient extraction to initstate
* helper abstract class for attribute_first_row_widget
* remove ui file and abstract ontap function
* tiny fix
* change ontap function to future<void>
* Update packages/smooth_app/lib/pages/product/attribute_first_row_helper.dart
---------
Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
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