feat: add Locale, Text Scale, DB Schema Version, Device Model to About page (#258) #263

Merged
guettlibot merged 2 commits from issue-258-fix into main 2026-05-25 20:18:10 +00:00
guettlibot commented 2026-05-25 20:17:16 +00:00 (Migrated from codeberg.org)

Summary

  • Add lib/core/db_schema_version.dart constant so both the data and UI layers share the same DB schema version without violating the architecture layer constraint
  • Add device_info_plus dependency for Android/iOS device model display (shows manufacturer/model on Android, machine identifier on iOS; hidden on desktop)
  • Extend the About screen diagnostic table with four new rows: Locale, Text Scale, DB Schema Version, and Device Model
  • Device model is fetched asynchronously; the widget re-renders once the value is ready
  • Update widget tests to assert the new rows appear in both the rendered table and the clipboard output

Test plan

  • Run flutter analyze — no issues
  • Run flutter test test/unit/ test/widget/ — all 464 tests pass
  • Run coverage gate — 84% (above 80% minimum)
  • Layer check passes — UI only imports core/db_schema_version.dart, not data/
  • Pre-commit hooks pass
## Summary - Add `lib/core/db_schema_version.dart` constant so both the data and UI layers share the same DB schema version without violating the architecture layer constraint - Add `device_info_plus` dependency for Android/iOS device model display (shows manufacturer/model on Android, machine identifier on iOS; hidden on desktop) - Extend the About screen diagnostic table with four new rows: **Locale**, **Text Scale**, **DB Schema Version**, and **Device Model** - Device model is fetched asynchronously; the widget re-renders once the value is ready - Update widget tests to assert the new rows appear in both the rendered table and the clipboard output ## Test plan - [ ] Run `flutter analyze` — no issues - [ ] Run `flutter test test/unit/ test/widget/` — all 464 tests pass - [ ] Run coverage gate — 84% (above 80% minimum) - [ ] Layer check passes — UI only imports `core/db_schema_version.dart`, not `data/` - [ ] Pre-commit hooks pass
Sign in to join this conversation.