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

Add a "Labels dashboard" to work on labels beyond Eco-Score #327

Closed
teolemon opened this issue Oct 29, 2022 · 1 comment · Fixed by #444
Closed

Add a "Labels dashboard" to work on labels beyond Eco-Score #327

teolemon opened this issue Oct 29, 2022 · 1 comment · Fixed by #444

Comments

@teolemon
Copy link
Member

teolemon commented Oct 29, 2022

Problem

  • Add a "Labels dashboard" to work on labels beyond Eco-Score
  • Use the label's label category to put the labels in thematic pages, accessible by a dropdown (eg: Health, Environment, Origins, Wines…)
  • Add both button to access the label in the Question Game, and in the logo game

Code sample

{"en:nutriscore-grade-d":{"label_categories":{"en":"en:Nutrition Grades, en:Health"}}

Mockups

image

Part of

@github-actions github-actions bot added ⭐ top issue Top issue. ⭐ top feature Top feature request. labels Dec 28, 2022
alexfauquette added a commit that referenced this issue Jan 1, 2023
Co-authored-by: Crowdin Bot <[email protected]>
Co-authored-by: Alexandre Fauquette <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pierre Slamich <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Abhilipsa Sahoo <[email protected]>
Fix #327
@github-project-automation github-project-automation bot moved this from To do to Done in Hunger Games (new) Jan 1, 2023
teolemon added a commit that referenced this issue Jan 4, 2023
* Feat: New translations for Hunger Games (#404)

Co-authored-by: Crowdin Bot <[email protected]>

* cleaning (#402)

* Allows inline logo editing

* some cleaning

* Feat: New translations for Hunger Games (#406)

Co-authored-by: Crowdin Bot <[email protected]>

* fix: use predictor nutriscore for corresponding game (#407)

* docs: readme-refactor (#410)

* chore(deps-dev): bump husky from 8.0.1 to 8.0.2 (#382)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: allows to see packaging interface for specific products (#411)

Fix #396

* fix: Adapt Hunger Games to the ANN modification in Robotoff (#409)

* fix: change of API route to Robotoff ANN search

* fix: Adding query_logo_id to results in ANN search

* Feat: New translations for Hunger Games (#408)

Co-authored-by: Crowdin Bot <[email protected]>

* fix: typo reported by Thomas (#421)

* Feat: New translations for Hunger Games (#424)

Co-authored-by: Crowdin Bot <[email protected]>

* Feat: New translations for Hunger Games (#426)

Co-authored-by: Crowdin Bot <[email protected]>

* Feat: New translations for Hunger Games (#429)

Co-authored-by: Crowdin Bot <[email protected]>

* Feat: Introduce dashboard page (#444)

Co-authored-by: Crowdin Bot <[email protected]>
Co-authored-by: Alexandre Fauquette <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pierre Slamich <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Abhilipsa Sahoo <[email protected]>
Fix #327

* feat: dashboard galore

* add new logos to dashboards

* fix JS typo

* fix some images

* add "produced in britany" logo

* remove duplicate

* remove useless attributes

* Update src/pages/logosValidator/dashboardDefinition.ts

* trigger render

* Update src/pages/logosValidator/dashboardDefinition.ts

* Update src/pages/logosValidator/dashboardDefinition.ts

* Update src/pages/logosValidator/dashboardDefinition.ts

* Update src/pages/logosValidator/dashboardDefinition.ts

* Update src/pages/logosValidator/dashboardDefinition.ts

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Update src/pages/logosValidator/dashboardDefinition.ts

* Update dashboardDefinition.ts

* Update src/pages/logosValidator/dashboardDefinition.ts

Co-authored-by: Alexandre Fauquette <[email protected]>

* Update dashboardDefinition.ts

* Update dashboardDefinition.ts

* Update dashboardDefinition.ts

* Update dashboardDefinition.ts

* Update dashboardDefinition.ts

* Update dashboardDefinition.ts

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <[email protected]>
Co-authored-by: Alexandre Fauquette <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Ben Zenou <[email protected]>
Co-authored-by: alexandre <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant