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

Implement guided packaging input (wizard-like) #515

Open
5 of 15 tasks
Tracked by #518 ...
teolemon opened this issue Aug 19, 2021 · 4 comments · Fixed by #2383
Open
5 of 15 tasks
Tracked by #518 ...

Implement guided packaging input (wizard-like) #515

teolemon opened this issue Aug 19, 2021 · 4 comments · Fixed by #2383
Labels
✏️ Contribution ✏️ Editing - Packaging input Related to the structured input of food packaging. 🎨 Mockups available Some mockups are available for this issue. Please check everything is ok before starting coding.

Comments

@teolemon
Copy link
Member

teolemon commented Aug 19, 2021

Who for

  • As a user who cares about the Eco-Score, I would like to be able to input packaging easily, possibly with help from Open Food Facts

What

Packaging input wizard (important and urgent)

Dart side

Overall structure / Entry point

Shapes

Materials

Weight

Scale precision - Dropped for initial implementation

Old Design doc

For later

Why

Part of

@monsieurtanuki
Copy link
Contributor

@teolemon We cannot do that for the moment for several reasons:

  1. the packaging data does not look like that in Product - basically it's just a List of tags or labels, without structure
    => we would need a new corresponding issue to be created on off-dart, or perhaps even on the server side
  2. again, I'm not a big fan of those trees - if you get (just) the root packagings like in https://world.openfoodfacts.org/api/v2/taxonomy?tagtype=packaging&include_root_entries=1&include_children=0&lc=fr&cc=fr you get 122 items, with no relevant order, and I don't think end-users would enjoy scrolling 122 items to find "cardboard", let alone a child of "cardboard"
    => we would need either a relevancy ordering, but I would rather be in favor of autocompleted text input, possibly with a "favorite/previous" packagings suggestion
  3. there's no way to distinguish material from shape; the only fields we have for packaging are "name" and "synonyms" (and "parents" / "children")

@teolemon teolemon added this to the V2 milestone Apr 11, 2022
@teolemon teolemon added the ✏️ Editing - Packaging input Related to the structured input of food packaging. label Jun 24, 2022
@teolemon teolemon linked a pull request Jun 25, 2022 that will close this issue
Repository owner moved this from To discuss and validate to Done in 🤳🥫 The Open Food Facts mobile app (Android & iOS) Jun 25, 2022
@teolemon
Copy link
Member Author

teolemon commented Oct 5, 2022

We might have to reopen that one, and add weight input as well

@monsieurtanuki
Copy link
Contributor

@teolemon Why not, if we know which parameters we need to provide to the server.

@teolemon teolemon reopened this Oct 12, 2022
@teolemon
Copy link
Member Author

@monsieurtanuki we're videomeeting at 2PM on the topic of packaging

@teolemon teolemon added the 🎨 Mockups available Some mockups are available for this issue. Please check everything is ok before starting coding. label Dec 10, 2022
@teolemon teolemon removed the 🎯 P0 label May 21, 2023
@teolemon teolemon changed the title Implement packaging input Implement guided packaging input (wizard-like) May 21, 2023
@teolemon teolemon moved this to To Discuss and Validate in 🎨 UXR & Design team Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✏️ Contribution ✏️ Editing - Packaging input Related to the structured input of food packaging. 🎨 Mockups available Some mockups are available for this issue. Please check everything is ok before starting coding.
Projects
Status: No status
Status: To Discuss and Validate
Status: Todo
Status: 📋 Todo (ready 2 dev)
Development

Successfully merging a pull request may close this issue.

3 participants