dboehmer / coocook

👨‍🍳🦉 Web application for collecting recipes and making food plans
https://coocook.org/
Other
11 stars 2 forks source link

Drop concept of “quantities” #118

Open dboehmer opened 4 years ago

dboehmer commented 4 years ago

When we invented the data structure for Coocook we tried to group units in order to convert values between units. User reports have shown that nobody ever understands what a quantity is and why it should be created.

In theory we could hardcode basic quantities like mass and volume but this has disadvantages:

My goal is now is to entirely drop quantities to get these benefits:

dboehmer commented 3 years ago

Notes from video conference on 14 January 2021:

Database table unit_conversions

How to implement conversion:

How to handle special units: