Commit Graph

10 Commits

Author SHA1 Message Date
233cea022a Fix usability bugs and USDA importer performance
All checks were successful
parsley/pipeline/head This commit looks good
- Remove duplicate Save buttons in log creator/editor (fired with null data before recipe loaded)
- Redirect to new resource after creating recipe/log instead of dropping back to list
- Fix TheFoodCreator Cancel linking to dead route /food → /foods
- Refactor AppSearchText to use defineModel; fix search box not initializing from URL
- Fix TheCalculator variable shadowing bug (ingredient ref never updated on food select)
- Refactor UsdaImporter to use insert_all! instead of per-record save! (~240k branded foods)
- Fix string-based ndbn min comparison in build_enumerator (fragile on non-padded IDs)
- Add CLAUDE.md with project overview and architecture notes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 14:42:22 -05:00
66f6b5346d fix food ndbn selection caching; upgrade gems and ruby 2021-05-09 17:38:08 -05:00
2e86208476 Added branded food DB 2018-09-14 19:32:49 -05:00
56fe5aae35 recipe as ingredient work 2018-09-11 10:38:07 -05:00
8811109351 enhanced nutrition data 2016-06-22 13:49:03 -05:00
d368ef4a6f Better yield use 2016-04-03 18:03:51 -05:00
a9527c9626 Fixed usda parser; start updating density calculaitons 2016-03-09 20:12:38 -06:00
2f752eae61 Adding USDA weights; usda_importer refactor 2016-03-09 18:53:47 -06:00
Dan Elbert
2dca779294 Added long descirption to usda foods 2016-01-28 18:18:45 -06:00
9f04a65e19 Added usda food data 2016-01-24 17:10:43 -06:00