Skip to content

Compass UI overhaul + level indicator (#3) - #16

Merged
shreyashp47 merged 13 commits into
mainfrom
dev
Jul 6, 2026
Merged

Compass UI overhaul + level indicator (#3)#16
shreyashp47 merged 13 commits into
mainfrom
dev

Conversation

@shreyashp47

Copy link
Copy Markdown
Owner
  • Radial label alignment with three-tier positioning\n- Full 15° degree marks outside circle\n- Prominent red indicator triangle\n- Tilt-compensated level indicator at compass center (animated dot, green/yellow/red)\n- Smooth dot animation via Animatable\n- Fixed overlap between labels, ticks, and indicator

… (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)
- HapticManager: tick/doubleTick vibration on proximity change, step count, gyro rotation
- Manifest: add VIBRATE permission (missing — caused crash)
- DetailViewModel: fix sensorType init (was always defaulting to ACCELEROMETER via SavedStateHandle)
- SensorDetailScaffold: call viewModel.initialize(sensorType) via LaunchedEffect
- Settings: add Haptic Feedback toggle switch
- SettingsViewModel: expose hapticEnabled state
@shreyashp47
shreyashp47 merged commit 1855c81 into main Jul 6, 2026
1 check passed
@shreyashp47
shreyashp47 deleted the dev branch July 6, 2026 08:52
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