battery_tracker/docs
root febdc8beab feat: Add upsert behavior for battery groups
When adding batteries with the same brand-type-chemistry combination as
an existing group, the quantity is now added to the existing group instead
of failing with a duplicate error.

Changes:
- Update POST /api/batteries to check for existing group and upsert
- Add isNew flag to API response for UI feedback
- Update AddBatteryModal to show contextual success message
- Document upsert behavior in FSD.md and TSD.md

🤖 Generated with [Qoder][https://qoder.com]
2026-01-19 17:11:55 +00:00
..
FSD.md feat: Add upsert behavior for battery groups 2026-01-19 17:11:55 +00:00
TSD.md feat: Add upsert behavior for battery groups 2026-01-19 17:11:55 +00:00