Settings for unit conversion and unit names

オープン
#673 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
rust
領域
cli, frontend

調査の方向性

This is a set of open design questions, not a change to make yet. Read the linked #432 and #433 to see why conversion was turned off, and note that bundled_units must stay off unless the user asks. The payload names three places a setting could live: config/, the web Preferences page, and CLI flags. Done means the maintainers have chosen answers for conversion, unit naming and shopping-list behaviour, then the work can be split into smaller issues.

索引モデルが issue の本文から書いたものです。

説明

area: cli area: server feature request needs discussion

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 #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.
主要言語
Rust
スター
1.4k
フォーク
120
平均マージ
1日 20時間
マージ済み PR(30日)
116

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cooklang/cookcli のほかの issue

cooklang/cookcli の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。