Skip to content

Commit

Permalink
Update assets (#5148)
Browse files Browse the repository at this point in the history
Co-authored-by: M123-dev <[email protected]>
  • Loading branch information
github-actions[bot] and M123-dev authored Apr 17, 2024
1 parent b9dba4b commit 105a180
Showing 1 changed file with 55 additions and 1 deletion.
56 changes: 55 additions & 1 deletion packages/smooth_app/assets/onboarding/sample_product_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" : [
{
Expand Down Expand Up @@ -1559,7 +1589,7 @@
{
"element_type" : "text",
"text_element" : {
"html" : "<ol id=\"ordered_ingredients_list\">\n<li><span>Butternut squash</span> -> en:butternut-squash - vegan:&nbsp;yes - vegetarian:&nbsp;yes - percent_min:&nbsp;50 - percent:&nbsp;50 - percent_max:&nbsp;50</li>\n<li><span>water</span> -> en:water - vegan:&nbsp;yes - vegetarian:&nbsp;yes - percent_min:&nbsp;10 - percent_max:&nbsp;40</li>\n<li><span>carrots</span> -> en:carrot - vegan:&nbsp;yes - vegetarian:&nbsp;yes - percent_min:&nbsp;10 - percent:&nbsp;10 - percent_max:&nbsp;10</li>\n<li><span>sweet potato</span> -> en:sweet-potato - vegan:&nbsp;yes - vegetarian:&nbsp;yes - percent_min:&nbsp;0 - percent_max:&nbsp;10</li>\n<li><span>leeks</span> -> en:leek - vegan:&nbsp;yes - vegetarian:&nbsp;yes - percent_min:&nbsp;0 - percent_max:&nbsp;10</li>\n<li><span>potatoes</span> -> en:potato - vegan:&nbsp;yes - vegetarian:&nbsp;yes - percent_min:&nbsp;0 - percent_max:&nbsp;10</li>\n<li><span>salt</span> -> en:salt - vegan:&nbsp;yes - vegetarian:&nbsp;yes - percent_min:&nbsp;0 - percent_max:&nbsp;0.4</li>\n</ol>\n"
"html" : "<ol id=\"ordered_ingredients_list\">\n<li><span>Butternut squash</span> -> en:butternut-squash - vegan:&nbsp;yes - vegetarian:&nbsp;yes - ciqual_food_code:&nbsp;20128 - percent_min:&nbsp;50 - percent:&nbsp;50 - percent_max:&nbsp;50</li>\n<li><span>water</span> -> en:water - vegan:&nbsp;yes - vegetarian:&nbsp;yes - ciqual_food_code:&nbsp;18066 - percent_min:&nbsp;10 - percent_max:&nbsp;40</li>\n<li><span>carrots</span> -> en:carrot - vegan:&nbsp;yes - vegetarian:&nbsp;yes - ciqual_food_code:&nbsp;20009 - percent_min:&nbsp;10 - percent:&nbsp;10 - percent_max:&nbsp;10</li>\n<li><span>sweet potato</span> -> en:sweet-potato - vegan:&nbsp;yes - vegetarian:&nbsp;yes - ciqual_food_code:&nbsp;4101 - percent_min:&nbsp;0 - percent_max:&nbsp;10</li>\n<li><span>leeks</span> -> en:leek - vegan:&nbsp;yes - vegetarian:&nbsp;yes - ciqual_food_code:&nbsp;20039 - percent_min:&nbsp;0 - percent_max:&nbsp;10</li>\n<li><span>potatoes</span> -> en:potato - vegan:&nbsp;yes - vegetarian:&nbsp;yes - ciqual_food_code:&nbsp;4003 - percent_min:&nbsp;0 - percent_max:&nbsp;10</li>\n<li><span>salt</span> -> en:salt - vegan:&nbsp;yes - vegetarian:&nbsp;yes - ciqual_food_code:&nbsp;11058 - percent_min:&nbsp;0 - percent_max:&nbsp;0.4</li>\n</ol>\n"
}
},
{
Expand Down Expand Up @@ -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" : [
{
Expand All @@ -2297,6 +2345,12 @@
"panel_element" : {
"panel_id" : "environment_card"
}
},
{
"element_type" : "panel",
"panel_element" : {
"panel_id" : "report_problem_card"
}
}
],
"expanded" : true,
Expand Down

0 comments on commit 105a180

Please sign in to comment.