Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Settings for unit conversion and unit names

Đang mở
#673 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
15/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
cli, frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Rust
Star
1.4k
Fork
120
Merge trung bình
1 ngày 20 giờ
Pull request đã merge (30 ngày)
116

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cooklang/cookcli

Tất cả issue của cooklang/cookcli

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.