Skip to content
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: #1136 - handle "action" elements in KP #2440

Merged
merged 1 commit into from
Jun 30, 2022

Commits on Jun 30, 2022

  1. feat: openfoodfacts#1136 - handle "action" elements in KP

    New files:
    * `add_category_button.dart`: "Add category" button for user contribution.
    * `add_ingredients_button.dart`: "Add ingredients" button for user contribution.
    * `add_nutrition_button.dart`: "Add nutrition facts" button for user contribution.
    * `knowledge_panel_action_card.dart`: "Contribute Actions" for the knowledge panels.
    
    Impacted files:
    * `knowledge_panel_card.dart`: refactored.
    * `knowledge_panel_element_card.dart`: action "actions" element; refactored.
    * `knowledge_panel_expanded_card.dart`: refactored.
    * `knowledge_panel_group_card.dart`: refactored.
    * `knowledge_panel_page.dart`: refactored.
    * `knowledge_panel_page_template.dart`: refactored.
    * `knowledge_panels_builder.dart`: added an explicit `bool onboardingMode` field; used new classes `AddNutritionButton` and `AddIngredientsButton`; refactored.
    * `new_product_page.dart`: refactored.
    * `summary_card.dart`: used new class `AddCategoryButton`; refactored.
    monsieurtanuki committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    a9cc615 View commit details
    Browse the repository at this point in the history