Skip to content

Per-sensor screens + dashboard perf fix - #2

Merged
shreyashp47 merged 9 commits into
mainfrom
dev
Jul 5, 2026
Merged

Per-sensor screens + dashboard perf fix#2
shreyashp47 merged 9 commits into
mainfrom
dev

Conversation

@shreyashp47

Copy link
Copy Markdown
Owner

Changes

  • Individual detail screens for all 10 sensors (AccelerometerScreen, GyroscopeScreen, LightScreen, PressureScreen, etc.) with dedicated UIs
  • Shared SensorDetailScaffold for toolbar, lifecycle, logging & CSV export (no boilerplate duplication)
  • Per-sensor routes in navigation
  • Dashboard lag fix: removed unnecessary real-time sensor observation from DashboardViewModel (was observing all sensors simultaneously, causing constant grid recomposition)
  • Fixed content hidden behind toolbar by applying Scaffold's content padding

… (weather conditions), usage hints for all sensors
- Separate detail screens for all 10 sensors (AccelerometerScreen,
  GyroscopeScreen, LightScreen, PressureScreen, etc.) with dedicated UIs
- Shared SensorDetailScaffold for toolbar, lifecycle, logging & CSV export
- Individual sensor routes in Routes.kt + SensorType.toRoute() helper
- DashboardViewModel: removed real-time sensor observation (caused lag)
- SensorDetailScaffold: apply Scaffold content padding so data isn't hidden by toolbar
- Delete monolithic SensorDetailScreen.kt (1079 lines)
@shreyashp47
shreyashp47 merged commit 9ea133e into main Jul 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant