-
-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 3418 - 7 new KP action handled (#3510)
Deleted files: * `add_category_button.dart` * `add_ingredients_button.dart` New files: * `add_ocr_button.dart`: "Add OCR image" button for user contribution. * `add_simple_input_button.dart`: "Add simple input" button for user contribution. Impacted files: * `app_en.arb`: added 6 labels for 6 new buttons * `knowledge_panel_action_card.dart`: added 7 new action cases for "Add" buttons; refactored in OOP * `knowledge_panels_builder.dart`: now use generic `AddOcrButton`; refactored around `ProductState` * `ocr_helper.dart`: added an abstract method for the "Add" button label * `ocr_ingredients_helper.dart`: implemented the new "Add" button label method * `ocr_packaging_helper.dart`: implemented the new "Add" button label method * `simple_input_page_helpers.dart`: added an abstract method for the "Add" button label; implemented it in all offspring classes * `summary_card.dart`: now use generic `AddSimpleInputButton`; refactored around `ProductState`
- Loading branch information
1 parent
bd3f7b8
commit 6321df0
Showing
10 changed files
with
155 additions
and
28 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
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