Skip to content

refactor(app): remove legacy view models and UI handlers - #39

Open
Foxpace wants to merge 1 commit into
codex/sensorbox-refactor-25-phone-legacy-onboardingfrom
codex/sensorbox-refactor-26-phone-legacy-model-ui
Open

refactor(app): remove legacy view models and UI handlers#39
Foxpace wants to merge 1 commit into
codex/sensorbox-refactor-25-phone-legacy-onboardingfrom
codex/sensorbox-refactor-26-phone-legacy-model-ui

Conversation

@Foxpace

@Foxpace Foxpace commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Removes the previous phone presentation model after responsibility moved into core, domain, and Compose layers.

What was added

  • Removal of legacy repositories and activity-scoped view models.
  • Removal of graph, text, sensor-view, and storage UI handlers.
  • Removal of old sensor attribute and resource wrapper types.

How it works

MainViewModel now owns immutable presentation state and delegates work to domain use cases. Core repositories handle preferences and storage, sensor descriptors provide UI-ready metadata, and Compose recomposition replaces imperative graph, text, and view updates.

Stack position

Layer 26 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 26 phone legacy model ui refactor(app): remove legacy view models and UI handlers Aug 15, 2026
@Foxpace
Foxpace marked this pull request as ready for review August 15, 2026 21:51
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