datafoodconsortium / prototype

The DFC prototype allows you to map data on different platforms.
http://proto.datafoodconsortium.org/
MIT License
10 stars 4 forks source link

Update product edit page #114

Closed RachL closed 1 year ago

RachL commented 1 year ago

Description

- As a: producer - On page: e.g. http://proto.datafoodconsortium.org/#/x-item-supply-platform/https%3A%2F%2Fdemo.socleo.org%2Fapi%2Fdfc%2FcatalogItem%2F1382544797143

- I want to be able to do:

Acceptance Criteria & Tests

See checklist above.

When done we should have a page looking UX-wise like:

image

Mikoteko commented 1 year ago

@simonLouvet wants to keep the "test API sameAs" for the moment, as it is currently used for tests. We can improve the ergonomics of it if needed (hiding it or making it smaller?)

Mikoteko commented 1 year ago

The data for the weight, magnesium, allergens need to be imported first (datanodes). For the origin and the label/certification we only get ids for the moment (such as dfc-f:CentreValLoire or dfc-Label1)

Mikoteko commented 1 year ago

Problem with the property hasUnit with the Magnesium in ontology 1.7.0 in Supply Product 1 -> weight -> instead of http://static.datafoodconsortium.org/data/measures.rdf#Gram

Mikoteko commented 1 year ago

Problem with the allergens -> the unit doesn't exist, where is the information supposed to be?

Image

Mikoteko commented 1 year ago

What do we mean by "Label?" in Label:Certification?