Skip to content

Commit

Permalink
Update assets
Browse files Browse the repository at this point in the history
  • Loading branch information
M123-dev authored Feb 8, 2025
1 parent af4fc8f commit 9b51c6c
Showing 1 changed file with 85 additions and 41 deletions.
126 changes: 85 additions & 41 deletions packages/smooth_app/assets/onboarding/sample_product_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
],
"brands" : "Open Food Facts",
"categories_tags_fr" : [
"en:tinned-potatoes"
"en:purepower-nutrition-spaghetti-bolognese"
],
"code" : "093270067481501",
"ecoscore_data" : {
Expand Down Expand Up @@ -583,6 +583,7 @@
"agribalyse" : {
"warning" : "missing_agribalyse_match"
},
"grade" : "unknown",
"missing" : {
"agb_category" : 1
},
Expand Down Expand Up @@ -619,11 +620,8 @@
"status" : "unknown"
},
"ecoscore_grade" : "unknown",
"ecoscore_score" : 122,
"environment_impact_level_tags" : [],
"image_front_small_url" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/front_en.359.200.jpg",
"image_front_url" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/front_en.359.400.jpg",
"image_small_url" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/front_en.359.200.jpg",
"image_ingredients_url" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/ingredients_en.671.400.jpg",
"ingredients_analysis_tags" : [
"en:palm-oil-free",
"en:vegan",
Expand Down Expand Up @@ -721,7 +719,8 @@
"title_element" : {
"grade" : "unknown",
"icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/green-score-unknown.svg",
"title" : "Green-Score not computed - Unknown environmental impact",
"subtitle" : "Unknown environmental impact",
"title" : "Green-Score not computed",
"type" : "grade"
},
"topics" : [
Expand Down Expand Up @@ -755,6 +754,34 @@
{
"element_type" : "panel_group",
"panel_group_element" : {
"image" : {
"alt" : "A good product for you - Ingredients",
"id" : "ingredients_en",
"lc" : "en",
"sizes" : {
"100" : {
"height" : 100,
"url" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/ingredients_en.671.100.jpg",
"width" : 75
},
"200" : {
"height" : 200,
"url" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/ingredients_en.671.200.jpg",
"width" : 150
},
"400" : {
"height" : 400,
"url" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/ingredients_en.671.400.jpg",
"width" : 300
},
"full" : {
"height" : 4032,
"url" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/ingredients_en.671.full.jpg",
"width" : 3024
}
},
"type" : "ingredients"
},
"panel_group_id" : "ingredients",
"panel_ids" : [
"ingredients"
Expand Down Expand Up @@ -849,6 +876,12 @@
"language" : "English",
"lc" : "en"
}
},
{
"element_type" : "panel",
"panel_element" : {
"panel_id" : "ingredients_list"
}
}
],
"evaluation" : "unknown",
Expand Down Expand Up @@ -1513,7 +1546,7 @@
{
"element_type" : "text",
"text_element" : {
"html" : "\n<p>&rarr; <a href=\"https://us.openfoodfacts.org/nutriscore-v2\">Discover all the improvements of the new Nutri-Score</a></p>\n"
"html" : "\n<p>&rarr; <a href=\"nutriscore-v2\">Discover all the improvements of the new Nutri-Score</a></p>\n"
}
}
],
Expand Down Expand Up @@ -1549,7 +1582,7 @@
{
"column_group_id" : "product",
"shown_by_default" : false,
"text" : "As sold<br>per serving (115g)",
"text" : "As sold<br>per serving (400g)",
"text_for_small_screens" : "per serving",
"type" : "text"
}
Expand All @@ -1564,10 +1597,10 @@
"text" : "Energy"
},
{
"text" : "120 kj<br>(59 kcal)"
"text" : "120 kj<br>(484 kcal)"
},
{
"text" : "138 kj<br>(67 kcal)"
"text" : "480 kj<br>(1940 kcal)"
}
]
},
Expand All @@ -1582,7 +1615,7 @@
"text" : "0.5 g"
},
{
"text" : "0.575 g"
"text" : "2 g"
}
]
},
Expand All @@ -1597,7 +1630,7 @@
"text" : "0.2 g"
},
{
"text" : "0.23 g"
"text" : "0.8 g"
}
]
},
Expand All @@ -1612,7 +1645,7 @@
"text" : "0.4 g"
},
{
"text" : "0.46 g"
"text" : "1.6 g"
}
]
},
Expand All @@ -1627,7 +1660,7 @@
"text" : "4 g"
},
{
"text" : "4.6 g"
"text" : "16 g"
}
]
},
Expand All @@ -1642,7 +1675,7 @@
"text" : "3 g"
},
{
"text" : "3.45 g"
"text" : "12 g"
}
]
},
Expand All @@ -1657,7 +1690,7 @@
"text" : "0.5 g"
},
{
"text" : "0.575 g"
"text" : "2 g"
}
]
},
Expand All @@ -1672,7 +1705,7 @@
"text" : "1 g"
},
{
"text" : "1.15 g"
"text" : "4 g"
}
]
},
Expand Down Expand Up @@ -1771,7 +1804,7 @@
"element_type" : "text",
"text_element" : {
"evaluation" : "good",
"html" : "\n \n \n \n <strong>\n Bottle\n \n </strong>\n \n (Glass)\n \n <br>\n \n \n \n \n <strong>\n Bottle cap\n \n </strong>\n \n (Steel)\n \n <br>\n \n \n ",
"html" : "\n \n \n \n <strong>\n Bottle\n \n </strong>\n \n (Glass)\n \n \n <br>\n \n \n \n \n <strong>\n Bottle cap\n \n </strong>\n \n (Steel)\n \n \n <br>\n \n \n ",
"icon_alt" : "Recycle",
"icon_color_from_evaluation" : true,
"icon_url" : "https://static.openfoodfacts.org/images/icons/dist/recycle-variant.svg",
Expand Down Expand Up @@ -1950,7 +1983,7 @@
{
"element_type" : "text",
"text_element" : {
"html" : "\n <strong>Serving size:</strong>\n 115g\n "
"html" : "\n <strong>Serving size:</strong>\n 400g\n "
}
}
],
Expand Down Expand Up @@ -1982,37 +2015,37 @@
"nutriments" : {
"carbohydrates" : 4,
"carbohydrates_100g" : 4,
"carbohydrates_serving" : 4.6,
"carbohydrates_serving" : 16,
"carbohydrates_unit" : "g",
"carbohydrates_value" : 4,
"carbon-footprint-from-known-ingredients_100g" : 18,
"carbon-footprint-from-known-ingredients_product" : 36,
"carbon-footprint-from-known-ingredients_serving" : 20.7,
"carbon-footprint-from-known-ingredients_serving" : 72,
"energy" : 120,
"energy-kcal" : 59,
"energy-kcal_100g" : 59,
"energy-kcal_serving" : 67.8,
"energy-kcal" : 484,
"energy-kcal_100g" : 484,
"energy-kcal_serving" : 1940,
"energy-kcal_unit" : "kcal",
"energy-kcal_value" : 59,
"energy-kcal_value" : 484,
"energy-kcal_value_computed" : 30.5,
"energy-kj" : 120,
"energy-kj_100g" : 120,
"energy-kj_serving" : 138,
"energy-kj_serving" : 480,
"energy-kj_unit" : "kJ",
"energy-kj_value" : 120,
"energy-kj_value_computed" : 127.5,
"energy_100g" : 120,
"energy_serving" : 138,
"energy_serving" : 480,
"energy_unit" : "kJ",
"energy_value" : 120,
"fat" : 0.5,
"fat_100g" : 0.5,
"fat_serving" : 0.575,
"fat_serving" : 2,
"fat_unit" : "g",
"fat_value" : 0.5,
"fiber" : 3,
"fiber_100g" : 3,
"fiber_serving" : 3.45,
"fiber_serving" : 12,
"fiber_unit" : "g",
"fiber_value" : 3,
"fruits-vegetables-legumes-estimate-from-ingredients_100g" : 65,
Expand All @@ -2026,27 +2059,27 @@
"nutrition-score-fr_100g" : -1,
"proteins" : 1,
"proteins_100g" : 1,
"proteins_serving" : 1.15,
"proteins_serving" : 4,
"proteins_unit" : "g",
"proteins_value" : 1,
"salt" : 0.4,
"salt_100g" : 0.4,
"salt_serving" : 0.46,
"salt_serving" : 1.6,
"salt_unit" : "g",
"salt_value" : 0.4,
"saturated-fat" : 0.2,
"saturated-fat_100g" : 0.2,
"saturated-fat_serving" : 0.23,
"saturated-fat_serving" : 0.8,
"saturated-fat_unit" : "g",
"saturated-fat_value" : 0.2,
"sodium" : 0.16,
"sodium_100g" : 0.16,
"sodium_serving" : 0.184,
"sodium_serving" : 0.64,
"sodium_unit" : "g",
"sodium_value" : 0.16,
"sugars" : 0.5,
"sugars_100g" : 0.5,
"sugars_serving" : 0.575,
"sugars_serving" : 2,
"sugars_unit" : "g",
"sugars_value" : 0.5
},
Expand All @@ -2055,19 +2088,30 @@
"product_quantity" : "200",
"quantity" : "200 g",
"selected_images" : {
"front" : {
"ingredients" : {
"display" : {
"en" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/ingredients_en.671.400.jpg"
},
"small" : {
"en" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/ingredients_en.671.200.jpg"
},
"thumb" : {
"en" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/ingredients_en.671.100.jpg"
}
},
"nutrition" : {
"display" : {
"en" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/front_en.359.400.jpg"
"fr" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/nutrition_fr.665.400.jpg"
},
"small" : {
"en" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/front_en.359.200.jpg"
"fr" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/nutrition_fr.665.200.jpg"
},
"thumb" : {
"en" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/front_en.359.100.jpg"
"fr" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/nutrition_fr.665.100.jpg"
}
}
},
"serving_size" : "115g",
"serving_size" : "400g",
"states_tags" : [
"en:to-be-completed",
"en:nutrition-facts-completed",
Expand All @@ -2084,8 +2128,8 @@
"en:photos-to-be-validated",
"en:packaging-photo-to-be-selected",
"en:nutrition-photo-to-be-selected",
"en:ingredients-photo-to-be-selected",
"en:front-photo-selected",
"en:ingredients-photo-selected",
"en:front-photo-to-be-selected",
"en:photos-uploaded"
]
},
Expand Down

0 comments on commit 9b51c6c

Please sign in to comment.