-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Grey screen on some product, on some knowledge panels #2682
Comments
As far as I understand KP, it looks like the data we get from the server is slightly corrupted. Is there something we're missing in Smoothie's parameters that prevents us from getting the "ingredients_analysis_en:non-vegan": {
"elements": [{
"element_type": "text",
"text_element": {
"html": "\n \n <strong>Ingrédients non végétaliens :</strong>\n Œuf frais, Matière grasse butyrique, Lait en poudre écrémé, Protéine de lait\n \n ",
"type": "summary"
}
}, {
"element_type": "panel",
"panel_element": {
"panel_id": "ingredients_analysis_help"
}
}],
"evaluation": "bad",
"level": "info",
"size": "small",
"title_element": {
"icon_color_from_evaluation": true,
"icon_size": "small",
"icon_url": "https://static.openfoodfacts.org/images/icons/dist/leaf.svg",
"title": "Non végétalien"
},
"topics": ["health"]
},
"ingredients_analysis_en:vegetarian-status-unknown": {
"elements": [{
"element_type": "text",
"text_element": {
"html": "\n \n <strong>Ingrédients non reconnus :</strong>\n Levain\n \n ",
"type": "summary"
}
}, {
"element_type": "panel",
"panel_element": {
"panel_id": "ingredients_analysis_help"
}
}],
"evaluation": "unknown",
"level": "info",
"size": "small",
"title_element": {
"icon_color_from_evaluation": true,
"icon_size": "small",
"icon_url": "https://static.openfoodfacts.org/images/icons/dist/vegetarian.svg",
"title": "Caractère végétarien inconnu"
},
"topics": ["health"]
}, |
Impacted file: * `knowledge_panel_element_card.dart`: no more trying to display panels that do not exist
What
Steps to reproduce the behavior
Screenshots
The text was updated successfully, but these errors were encountered: