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: start of Environment card knowledge panel #5955

Closed
wants to merge 12 commits into from
Closed

Conversation

stephanegigandet
Copy link
Contributor

Some changes discussed with Jasmeet, in order to build the Environment card as designed by Tim.

The environment card is going to be itself a knowledge panel, of a special type "card", which will make it shown expanded, and we can round corners etc.

In it we have elements that are panel groups: groups that contain multiple panels. For instance the "Labels" panel group may contain an organic panel + a fair trade panel. This is to be able to display "section names" like we have in the mockup.

Mockup:

image

Current web display:

image

@stephanegigandet stephanegigandet added the 📖 Knowledge Panels https://wiki.openfoodfacts.org/Knowledge_panels label Oct 8, 2021
@stephanegigandet stephanegigandet requested a review from a team as a code owner October 8, 2021 17:34
@sonarcloud
Copy link

sonarcloud bot commented Oct 8, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@stephanegigandet
Copy link
Contributor Author

(I don't know why the commit history is so messed up, I tried to rebase and it failed it seems)

@stephanegigandet
Copy link
Contributor Author

Replaced by #5958

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📖 Knowledge Panels https://wiki.openfoodfacts.org/Knowledge_panels
Projects
Development

Successfully merging this pull request may close these issues.

1 participant