Skip to content

Settings for unit conversion and unit names #673

Open

Description

@LeMyst

Follow-up to #432. Since #433 CookCLI no longer converts quantities: they are shown in the unit the recipe was written in, which fixed the silent 5/8 cup → 10 tbsp conversion. The other side of that report is still open: there is no way to ask for a conversion when you do want one.

Things to decide:

  • Converting on request — e.g. show a US recipe in metric, or the other way round, from a CLI flag and a web UI preference. This needs the cooklang unit database (bundled_units), which fix: disable bundled_units so quantities keep their authored units #433 turned off because it also brought the lossy fraction display and the "best unit" step; turning it back on has to keep both off unless asked.
  • Unit names — keep what the recipe says (today), or always the abbreviation / the full name (c vs cup vs cups), with plurals.
  • Where the setting lives — config/, the web Preferences page, CLI flags, and whether the shopping list follows it.

Activity

  1. added
    area: server
    area: cli
    needs discussion
    on Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: cliarea: serverfeature requestneeds discussion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions