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

Allow users to edit dates #552

Closed
TechShooter opened this issue Apr 23, 2024 · 1 comment · Fixed by #555
Closed

Allow users to edit dates #552

TechShooter opened this issue Apr 23, 2024 · 1 comment · Fixed by #555

Comments

@TechShooter
Copy link

What

There's no way yet to edit a price's date, other than deleting the price and adding it back

To reproduce the behavior:

https://prices.openfoodfacts.net/app/dashboard/prices

Expected behavior

The date should be editable

Part of

#98

@raphodn
Copy link
Member

raphodn commented Apr 25, 2024

Thanks for creating the issue ! Linked with #402

The API allows to edit the date, so shouldn't be too hard to add it in the frontend :)
https://prices.openfoodfacts.org/api/docs#/Prices/update_price_api_v1_prices__price_id__patch
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants