Skip to content

feat: add chocolat#886

Closed
desoindx wants to merge 1 commit into
developfrom
feat/chocolat
Closed

feat: add chocolat#886
desoindx wants to merge 1 commit into
developfrom
feat/chocolat

Conversation

@desoindx
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 18, 2026 15:42
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds milk and dark chocolate as new alimentation equivalents, including their impact data, labels, icons, CSV export rows, and package documentation.

Changes:

  • Adds chocolataulait and chocolatnoir ECV data and localized equivalent labels.
  • Adds both chocolates to the alimentation grouping and public CSV export.
  • Adds chocolate SVG icons and updates the React package README equivalent list.

Reviewed changes

Copilot reviewed 6 out of 15 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/utils/Equivalent/values.json Adds localized equivalent values for milk and dark chocolate.
src/utils/alimentation.ts Adds chocolate slugs to the alimentation “encas” group.
src/data/categories/alimentation.ts Adds computed alimentation ECV entries for chocolate.
src/data/categories/alimentation.json Adds source CIQUAL/ECV entries for chocolate.
public/icons/chocolatnoir.svg Adds dark chocolate icon asset.
public/icons/chocolataulait.svg Adds milk chocolate icon asset.
public/equivalents.csv Adds chocolate CSV rows and refreshes a couple of existing alimentation values.
npm/react/README.md Documents newly available alimentation equivalent IDs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/utils/alimentation.ts
Comment on lines +79 to +80
'chocolataulait',
'chocolatnoir',
Comment thread npm/react/README.md Outdated
- galettevegetale : kg de galette végétale
- hachevegetal : kg de haché végétal
- nuggetsvegetaux : kg de nuggets végétaux
- saucissevegetale : kg de saucisse végétales
Comment thread npm/react/README.md
- bonbons : kg de bonbons gélifiés
- baguette : kg de baguette tradition
- pommedeterre : kg de pomme de terre nouvelle
- boulettesvegetales : kg de boulette végétale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants