bollwerk/app
Jens Reinemann e85b151cd5 feat(settings): implement SettingsScreen with ViewModel, UI and persistence
Implement the full Settings tab with household size and daily kcal/person
input fields, persisted via Room through the existing SettingsRepository.
The DashboardViewModel now reads settings reactively and passes them to
CalculateSupplyRangeUseCase instead of using hardcoded defaults.

Changes:
- Add observeValue(key) Flow method to SettingsDao and SettingsRepository
- Create SettingsViewModel with load/save logic and input validation
- Create SettingsUiState data class
- Replace SettingsScreen placeholder with full Compose UI
  (household size, kcal/day fields, save button, export/import placeholders)
- Integrate settings into DashboardViewModel via combine() with 4 flows
- Add SettingsViewModelTest (6 tests covering defaults, persistence, validation)
- Update DashboardViewModelTest and test fakes for new constructor parameter

Closes #35
2026-05-14 02:50:44 +02:00
..
src feat(settings): implement SettingsScreen with ViewModel, UI and persistence 2026-05-14 02:50:44 +02:00
build.gradle.kts feat(navigation): implement Bottom Navigation Bar with 4 tabs and app shell 2026-05-14 02:25:47 +02:00
proguard-rules.pro feat: Android-Projekt-Gerüst anlegen (#13) 2026-05-13 15:24:39 +02:00