Spoonie now shows kitchen fractions without hiding the real quantity
Spoonie already had serving-size and ingredient-reference calculations. The problem was how some results looked in the kitchen. A mixed quantity such as 6 2/3장 was hard to scan. Rounding an awkward scaled value could hide a useful decimal or turn a small positive amount into 0g.
Three merged changes on December 2, 2026 addressed the display, while keeping the underlying quantity calculations separate: PR #54, PR #55, and PR #56.
What changed for someone cooking
- Recognisable fractions:
6 2/3장now appears as6⅔장, and1 1/2컵as1½컵. The same formatter is used in ingredient lists, adjustment previews and cooking steps. - Honest approximations: An awkward result such as one-seventh of a sheet can display as
약 ⅛장instead of silently presenting a rounded fraction as exact. An original exact decimal, such as0.3컵, stays a decimal. - A practical label for tiny quantities: The initial follow-up used less-than notation for values below 0.1. After testing that in the recipe interface, PR #56 replaced it with
아주 조금(“a very small amount”) and removed the unit suffix in that case. It does not invent a pinch, spoon or drop.
The display-only formatDisplayAmount() and formatDisplayUnit() decide how quantities read on screen. The existing formatAmount() still supplies machine-readable numeric/ASCII values for RecipeSchema JSON-LD. Saved ingredient quantities and the scaling arithmetic were not changed by this display fix.
I checked the released adjustment screen
In the public Mitarashi Dango recipe, the ingredient list shows 1½작은술 and ½큰술. I then opened Match the ingredients I have and changed the reference rice-flour amount from 70g to 1g in real Chrome at 390px and 1440px.
The preview showed the other rice flour at 1g, dough water as 약 1.9ml, and several smaller sauce and seasoning amounts as 아주 조금. There were no browser JavaScript errors during those checks. This is a preview only; I did not apply or save the adjusted recipe.
How it was verified
PR #54 added the typographic fraction display and passed 430 Vitest tests. PR #55 added bounded precision and approximation marks and passed 447 tests. PR #56 adjusted the very-small-amount wording and passed 454 tests; its matching GitHub browser workflow and Netlify Deploy Preview checks succeeded. Each pull request was merged into the original Spoonie repository.
The live checks establish the screen’s displayed quantities, not the accuracy of a finished dish or whether more readers completed a recipe. Spoonie itself warns that seasoning and cooking time may not scale linearly with ingredient amounts.
Original sources
- PR #54 — typographic kitchen fractions, merge commit
- PR #55 — bounded quantities and approximation, merge commit
- PR #56 — very small amounts, merge commit
- Spoonie project case study