baldav/src-tauri
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
..
capabilities GPX export + GPS background recording fixes 2026-05-16 10:49:55 +03:00
gen/android/app/src/main/java/dev/baldav/app Always copy seed DB from assets, VACUUM seed to reclaim space 2026-05-29 15:38:10 +03:00
icons GPX export + GPS background recording fixes 2026-05-16 10:49:55 +03:00
src Protect user-edited products from seed overwrites 2026-05-29 22:12:37 +03:00
build.rs Seed products DB + Settings screen + build fixes 2026-05-14 17:35:29 +03:00
Cargo.lock GPS point ordering + GPX export + chart zoom fixes 2026-05-16 21:21:13 +03:00
Cargo.toml GPS point ordering + GPX export + chart zoom fixes 2026-05-16 21:21:13 +03:00
tauri.conf.json GPS point ordering + GPX export + chart zoom fixes 2026-05-16 21:21:13 +03:00