baldav/frontend
4aiman ca45a5acc0 Protect user-edited products from seed overwrites
New column: user_edited INTEGER DEFAULT 0 on products table.
- JS migration adds column
- showEditProductModal sets user_edited=1 on save
- Rust seed import: UPDATE store products (source IN magnit/5ka/kdv/ion)
  WHERE user_edited IS NULL OR user_edited = 0
- Now updates KBJU + all micronutrients from seed (not just INSERT OR IGNORE)
- User edits preserved: user_edited=1 products never touched by seed import
- Manual/recipe_import products also never touched (source check)

Flow: seed update fixes wrong KBJU (e.g. bread 268→243) automatically,
but if user already fixed it manually — their fix stays.
2026-05-29 22:12:37 +03:00
..
css Add-btn border: gray (--border) instead of primary 2026-05-29 20:30:36 +03:00
data Edit product from search card, fix Ayutinskiy bread kcal 2026-05-29 22:01:52 +03:00
js Protect user-edited products from seed overwrites 2026-05-29 22:12:37 +03:00
lib Android support + Settings screen + Mobile UX fixes 2026-05-14 14:17:57 +03:00
index.html GPS point ordering + GPX export + chart zoom fixes 2026-05-16 21:21:13 +03:00