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

refactor(Price Validation Assistant): filter only on proofs ready (uploaded via Proof add pages) #1177

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Dec 26, 2024

What

Thanks to a new Proof.ready_for_price_tag_validation field in the backend - openfoodfacts/open-prices#656.
We can now restrict displayed PriceTags to only a subset of Proofs.

Why

We consider that proofs added via the "normal" workflow (Price add multiple) will have their prices added normally.
But proofs added via the dedicated "proof upload" pages will be assistant-only for price addition.

This is a v1. To be discussed / improved.

@raphodn raphodn changed the title refactor(Price Tag Validation): filter only on proofs ready refactor(Price Validation Assistant): filter only on proofs ready (uploaded via Proof add pages) Dec 26, 2024
@raphodn raphodn merged commit ff4b406 into master Dec 26, 2024
11 of 12 checks passed
@raphodn raphodn deleted the raphodn/proof-ready-for-price-tag-validation branch December 26, 2024 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

New price validation assistant page (extracted and predicted from owned proofs)
1 participant