Skip to content

Create LICENSE - #1

Merged
dubadub merged 1 commit into
mainfrom
add-license-1
Oct 25, 2021
Merged

dubadub merged 1 commit into
mainfrom
add-license-1

Conversation

@dubadub

@dubadub dubadub commented Oct 25, 2021

Copy link
Copy Markdown
Member

No description provided.

@dubadub
dubadub merged commit 1dff403 into main Oct 25, 2021
@dubadub
dubadub deleted the add-license-1 branch October 25, 2021 19:43
@claude claude Bot mentioned this pull request Feb 16, 2026
17 tasks done
dubadub added a commit that referenced this pull request Nov 28, 2026
… or @ (#861)

* chore(deps): bump cooklang to 0.22.0, cooklang-reports to 0.10.0, cooklang-language-server to 0.6.0

Also cooklang-ingredient-parser to 0.22.0. cooklang 0.22 reads a shopping
list item's quantity as a `Quantity` instead of a string. CookCLI's
`FreeHandItem` and `OptionalSelection` keep the stored string form
(`2%l`) as their JSON shape and convert at the store boundary: written
back with `Quantity::to_cooklang`, read with the shopping list format's
own quantity grammar. Lines are matched by the quantity they read as, so
a rewrite stores the format's spelling (`0.50%kg` becomes `0.5%kg`).

Claude-Session: https://claude.ai/code/session_01B7jPFN3aqqHBFR4HAZyuqW

* fix(shopping-list): keep free-hand item names that start with #, ~ or @

A free-hand item went onto the generated list by being written as a
one-ingredient recipe (`@{name}{{q}}`) and parsed, so a name such as
`#1 flour`, `~ramen` or `@milk` came out as cookware, a timer or a
stripped name, and its tick was dropped on the next compaction.

Free-hand items now join the list through cooklang 0.22's
`IngredientList::add_shopping_item`, under their own name, both on the
page (`POST /api/shopping_list`, which still refuses a blank name with
400) and when the server works out which ticks to keep. The CLI's
`--extra` reads its value as a one-line shopping list, dropping one
leading `@` as before; a value that is not one named item (empty,
unclosed braces, a recipe line, several lines) is still a parse error
naming it.

Claude-Session: https://claude.ai/code/session_01B7jPFN3aqqHBFR4HAZyuqW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant