Pantry quantities are only subtracted when the unit is written the same way (cup/cups, g/kg, fractions)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
ここで説明されている、にんにく、牛乳、half-and-half、無塩バターのパントリー例を使って、買い物リストの動作を再現します。一致する単位と異なる単位の両方を含めます。パントリー項目のマッチングのエントリポイントを追跡し、複数単語の名前と単位に対するカバレッジを追加します。一致するパントリー項目が買い物リストに不必要に表示されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I see that at least my garlic is not on the list (expected behavior with both units as cloves). However, I have milk and half-and-half in cups on the recipe ingredient and in the pantry, yet it's still on the shopping list. The other ingredients (carrots, flour, sugar) do not have units in the pantry, so the limitation you mentioned makes sense for those.
The other issue is why it doesn't pick up on the unsalted butter at all. I made the units match, and I tried giving the aisle.conf a line for "unsalted butter | unsalted_butter". From what I can see, this happens with any pantry item that isn't a single word.
also I just realized my ingredient for the butter says "tbps" while the pantry says "tbsp". I fixed it, but it didn't change anything regarding the issue.
- 主要言語
- Rust
- スター
- 1.4k
- フォーク
- 120
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 128
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cooklang/cookcli のほかの issue
-
Editor save status and save errors are in English whatever the site's language対応中かも @LeMyst が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Shopping list counts a recipe twice when three or more menus reference each other in a ring対応中かも @LeMyst が 1 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
メンテナーはふだん 1 日以内に返信
-
feat(server): tag pages, so a recipe can belong to several collections対応中かも @LeMyst が 2 日前に担当しました。 オープンarea: server feature request
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
wontfix
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
cooklang/cookcli#784 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
cooklang/cookcli#763 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
cooklang/cookcli の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
o8 next debug build aborts on Glass to Dark appearance switch (nil identifier messaged before check)オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
hurttlocker/o8#5112 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
memory_patch_page drops the `#` of headings like `## Notes on C#`対応中かも @viniciusdsandrade が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
akitaonrails/ai-memory#1859 ·
メンテナーはふだん 1 日以内に返信