github jt196/vanilla-cookbook v1.8.0

one hour ago

What's Changed

Features & Enhancements

  • Store recipe times as universal durations, with a time filter (#505) @jt196

    • Added: a "Ready in" filter on the recipe list (up to 15 / 30 / 60 / 120 minutes).
    • Added: each time field in the recipe form shows a tick or warning icon; its tooltip says how the time was read ("Read as 1 hour, 30 minutes") or that it will be saved as written.
    • Added: times can be written in words, e.g. "six minutes", "half an hour", "an hour and a half", "zwanzig Minuten".
    • Changed: prep, cook and total times are stored as a universal duration and shown in each user's language, wherever they came from (scraping, imports, AI, typed by hand). Existing recipes are converted automatically on startup.
    • Fixed: scraped times were saved in English whatever the user's language (#503).
    • Related issues: #503
  • Shopping list: add a recipe's ingredients, no duplicates, scaled amounts (#504) @jt196

    • Added: a trolley button next to a recipe's Ingredients heading. It opens a list of the ingredients, scaled and in the selected unit system, with select all, so you can untick what you have and adjust amounts and units before adding.
    • Changed: adding an item that's already on your list, or in your purchase history, reuses that row instead of making a duplicate. Amounts are added together when the units match (200 g + 100 g flour = 300 g); otherwise a separate row is kept.
    • Changed: on the shopping page, the toolbar and input stay at the top while you scroll through your list or purchase history.
    • Fixed: adding an ingredient from a scaled recipe added the unscaled amount.
    • Fixed: items typed into the shopping list were always parsed as English instead of your language.
    • Fixed: units showed as plural regardless of amount ("1 teaspoons").
    • Fixed: ingredient names with apostrophes were added as "sott'olio".
    • Fixed: "Mark all purchased" didn't count towards purchase counts.
    • Breaking changes: none. No database migration.
  • Add showing prep, cooking and total time in recipe view page. (#502) @Rapha149

    • Added: prep, cooking and total time of a recipe is now shown on the recipe view page. ISO durations are converted to human-readable text in the users' language.
    • Breaking changes: none
  • Settings for the unit switch and display toggles on recipes (#499) @Rapha149

    • Added: two recipe settings for the buttons above the ingredients: Show unit switch (Metric / US Vol / Imperial) and Show display toggles (Original / Extra / Match).
    • Changed: the unit switch is now hidden by default, for existing users too. Recipes still convert to the unit system in your settings; turn on "Show unit switch" in Settings → Recipes to switch units per recipe again. Visitors who aren't logged in still see it.
    • The display toggles stay visible by default.
    • Breaking changes: none. A database migration adds both settings.
  • Add translations for nav.recipes and nav.search (#498) @Rapha149

    • Added: Translations for Search and Recipes in the navigation bar.
    • Breaking changes: none
  • Show ingredient amounts in directions via {ingredient} markers (#491) @Rapha149

    • Added: Wrap an ingredient in curly braces in the directions (e.g. {onion}) to show its scaled, converted amount in that step. Handy on phones, where ingredients and directions aren't visible together. {sugar#2} picks the second ingredient with the same name; {sugar*1/2} shows part of the amount.
    • Added: "Show amount" button in the recipe editor to add or remove a marker, with a warning for markers that match no ingredient.
    • The name in the braces must match the ingredient's name in the list (case and plurals don't matter), e.g. {plain flour} for "150 g plain flour".
    • Changed: Summarize Directions keeps existing markers and adds new ones where amounts are needed; Translate Recipe keeps markers.
    • Fixed: ingredient ranges such as "1-2 cloves" use the plural unit (#494)
    • Breaking changes: none

Bug Fixes

  • Shopping list: add a recipe's ingredients, no duplicates, scaled amounts (#504) @jt196

    • Added: a trolley button next to a recipe's Ingredients heading. It opens a list of the ingredients, scaled and in the selected unit system, with select all, so you can untick what you have and adjust amounts and units before adding.
    • Changed: adding an item that's already on your list, or in your purchase history, reuses that row instead of making a duplicate. Amounts are added together when the units match (200 g + 100 g flour = 300 g); otherwise a separate row is kept.
    • Changed: on the shopping page, the toolbar and input stay at the top while you scroll through your list or purchase history.
    • Fixed: adding an ingredient from a scaled recipe added the unscaled amount.
    • Fixed: items typed into the shopping list were always parsed as English instead of your language.
    • Fixed: units showed as plural regardless of amount ("1 teaspoons").
    • Fixed: ingredient names with apostrophes were added as "sott'olio".
    • Fixed: "Mark all purchased" didn't count towards purchase counts.
    • Breaking changes: none. No database migration.
  • Keep written fractions (¼ tbsp, ½ clove) when normalizing ingredients (#500) @jt196

    • Fixed: fractions such as ¼ tbsp, ⅛ tsp and ½ clove display as written instead of being rounded to ⅓ tbsp, ⅒ tsp or 1 clove (#492)
    • Breaking changes: none
  • Show teaspoon and tablespoon amounts as fractions in metric (#497) @jt196

    • Fixed: teaspoon and tablespoon amounts show as fractions (¼ tsp) in metric recipes instead of rounded decimals (0.3 tsp) (#492)
    • Breaking changes: none
  • Keep the original directions when summarizing on the new recipe page (#496) @jt196

    • Fixed: summarizing directions or cleaning ingredients while creating a recipe keeps the original, so you can switch back to it on the recipe page
    • Breaking changes: none
  • Fix ⅛ fractions and keep teaspoons/tablespoons in AI ingredient cleanup (#493) @jt196

    • Fixed: ⅛, ⅜, ⅝ and ⅞ amounts (common for teaspoons) now display correctly instead of as ⅒ or ⅖ (#492)
    • Fixed: Clean Ingredients keeps teaspoons and tablespoons when "Teaspoons instead of grams" is turned on (#492)
    • Breaking changes: none

Maintenance

  • Skip real-network tests in CI (#501) @jt196
    • Breaking changes: none

Don't miss a new vanilla-cookbook release

NewReleases is sending notifications on new releases.