Skip to content

feat(app): add Compose state and navigation foundation - #21

Open
Foxpace wants to merge 1 commit into
codex/sensorbox-refactor-07-phone-domainfrom
codex/sensorbox-refactor-08-phone-compose-foundation
Open

feat(app): add Compose state and navigation foundation#21
Foxpace wants to merge 1 commit into
codex/sensorbox-refactor-07-phone-domainfrom
codex/sensorbox-refactor-08-phone-compose-foundation

Conversation

@Foxpace

@Foxpace Foxpace commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Creates the unidirectional state and navigation foundation for the phone Compose application.

What was added

  • Main state, intents, effects, and reducer contract.
  • MainViewModel orchestration for preferences, sensors, measurement, and navigation.
  • The root SensorBoxApp Compose navigation host.
  • Shared Compose components plus reducer tests and state fixtures.

How it works

Screens emit intents to MainViewModel. The reducer turns each intent into a new immutable state and optional one-time effect, and the root app renders the destination represented by that state. Shared components keep interaction and styling consistent across screens.

Stack position

Layer 8 of 31 in the SensorBox refactor stack. Review this PR against its configured base to see only this layer.

Validation

  • Full stack: ./gradlew test — BUILD SUCCESSFUL (160 tasks)

@Foxpace Foxpace changed the title codex/sensorbox refactor 08 phone compose foundation feat(app): add Compose state and navigation foundation Aug 15, 2026
@Foxpace
Foxpace marked this pull request as ready for review August 15, 2026 21:50
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