You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
This is based on a user feedback enquiry received recently; it would be useful to allow ingredient quantities to be displayed in imperial units in addition to the current metric units.
Describe the solution you'd like
There are a few options to consider here.
We could imply a unit system based on the user's locale.
We could provide per-session configuration setting.
We could provide a more persistent configuration setting.
Describe alternatives you've considered
N/A
Additional context
To some extent, the convert-units JavaScript library that the application already depends upon can provide imperial unit conversion. It's aware of the units, although as far as I know there isn't currently a singleton to_imperial or similar conversion method.
The other question is whether that library's imperial unit representations are suitable for use in the context of kitchen recipes. I'll note that it does define an imperial unit for cups, which is something that in one way is reassuring, because it is included, but also potentially a challenge, because that unit tends to have differing definitions in various locales.
Is your feature request related to a problem? Please describe.
This is based on a user feedback enquiry received recently; it would be useful to allow ingredient quantities to be displayed in imperial units in addition to the current metric units.
Describe the solution you'd like
There are a few options to consider here.
Describe alternatives you've considered
N/A
Additional context
To some extent, the
convert-unitsJavaScript library that the application already depends upon can provide imperial unit conversion. It's aware of the units, although as far as I know there isn't currently a singletonto_imperialor similar conversion method.The other question is whether that library's imperial unit representations are suitable for use in the context of kitchen recipes. I'll note that it does define an imperial unit for
cups, which is something that in one way is reassuring, because it is included, but also potentially a challenge, because that unit tends to have differing definitions in various locales.