forked from openfoodfacts/smooth-app
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 5430 - "producer provided" icon for nutrients and 4 product fie…
…lds (openfoodfacts#5777) * 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
- Loading branch information
1 parent
0587050
commit 45b7e7b
Showing
6 changed files
with
174 additions
and
18 deletions.
There are no files selected for viewing
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
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
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.