From 105a180c91311e5bd84bab48c1911c73755e1cc7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 17 Apr 2024 16:34:32 +0200 Subject: [PATCH] Update assets (#5148) Co-authored-by: M123-dev --- .../onboarding/sample_product_data.json | 56 ++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/packages/smooth_app/assets/onboarding/sample_product_data.json b/packages/smooth_app/assets/onboarding/sample_product_data.json index f22113daf30..219fde60d30 100644 --- a/packages/smooth_app/assets/onboarding/sample_product_data.json +++ b/packages/smooth_app/assets/onboarding/sample_product_data.json @@ -1487,6 +1487,36 @@ ], "type" : "card" }, + "incomplete_or_incorrect_data" : { + "elements" : [ + { + "element_type" : "text", + "text_element" : { + "html" : "\n If the information does not match the information on the packaging, please complete or correct it.\n Open Food Facts is a collaborative database, and every contribution is useful for all.\n " + } + }, + { + "action_element" : { + "actions" : [ + "edit_product" + ], + "html" : "" + }, + "element_type" : "action" + } + ], + "evaluation" : "neutral", + "expand_for" : "large", + "level" : "info", + "title_element" : { + "icon_url" : "https://static.openfoodfacts.org/images/logos/off-logo-icon-light.svg", + "subtitle" : "Category, labels, ingredients, allergens, nutritional information, photos etc.", + "title" : "Incomplete or incorrect information?" + }, + "topics" : [ + "problem" + ] + }, "ingredients" : { "elements" : [ { @@ -1559,7 +1589,7 @@ { "element_type" : "text", "text_element" : { - "html" : "
    \n
  1. Butternut squash -> en:butternut-squash - vegan: yes - vegetarian: yes - percent_min: 50 - percent: 50 - percent_max: 50
  2. \n
  3. water -> en:water - vegan: yes - vegetarian: yes - percent_min: 10 - percent_max: 40
  4. \n
  5. carrots -> en:carrot - vegan: yes - vegetarian: yes - percent_min: 10 - percent: 10 - percent_max: 10
  6. \n
  7. sweet potato -> en:sweet-potato - vegan: yes - vegetarian: yes - percent_min: 0 - percent_max: 10
  8. \n
  9. leeks -> en:leek - vegan: yes - vegetarian: yes - percent_min: 0 - percent_max: 10
  10. \n
  11. potatoes -> en:potato - vegan: yes - vegetarian: yes - percent_min: 0 - percent_max: 10
  12. \n
  13. salt -> en:salt - vegan: yes - vegetarian: yes - percent_min: 0 - percent_max: 0.4
  14. \n
\n" + "html" : "
    \n
  1. Butternut squash -> en:butternut-squash - vegan: yes - vegetarian: yes - ciqual_food_code: 20128 - percent_min: 50 - percent: 50 - percent_max: 50
  2. \n
  3. water -> en:water - vegan: yes - vegetarian: yes - ciqual_food_code: 18066 - percent_min: 10 - percent_max: 40
  4. \n
  5. carrots -> en:carrot - vegan: yes - vegetarian: yes - ciqual_food_code: 20009 - percent_min: 10 - percent: 10 - percent_max: 10
  6. \n
  7. sweet potato -> en:sweet-potato - vegan: yes - vegetarian: yes - ciqual_food_code: 4101 - percent_min: 0 - percent_max: 10
  8. \n
  9. leeks -> en:leek - vegan: yes - vegetarian: yes - ciqual_food_code: 20039 - percent_min: 0 - percent_max: 10
  10. \n
  11. potatoes -> en:potato - vegan: yes - vegetarian: yes - ciqual_food_code: 4003 - percent_min: 0 - percent_max: 10
  12. \n
  13. salt -> en:salt - vegan: yes - vegetarian: yes - ciqual_food_code: 11058 - percent_min: 0 - percent_max: 0.4
  14. \n
\n" } }, { @@ -2284,6 +2314,24 @@ "environment" ] }, + "report_problem_card" : { + "elements" : [ + { + "element_type" : "panel", + "panel_element" : { + "panel_id" : "incomplete_or_incorrect_data" + } + } + ], + "expanded" : true, + "title_element" : { + "title" : "Report a problem" + }, + "topics" : [ + "problems" + ], + "type" : "card" + }, "root" : { "elements" : [ { @@ -2297,6 +2345,12 @@ "panel_element" : { "panel_id" : "environment_card" } + }, + { + "element_type" : "panel", + "panel_element" : { + "panel_id" : "report_problem_card" + } } ], "expanded" : true,