mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
2.4 KiB
2.4 KiB
Implementation Plan: Extract Android Navigation
Phase 1: Preparation & Base Module Abstraction [checkpoint: 421a587]
- Task: Review current navigation graph assembly in
app/src/main/kotlin/org/meshtastic/app/navigation/.- Identify dependencies between feature navigation graphs and core routing definitions.
- Create missing directory structures in feature modules'
androidMain/kotlin/org/meshtastic/feature/*/navigationif they don't exist.
- Task: Conductor - User Manual Verification 'Phase 1: Preparation & Base Module Abstraction' (Protocol in workflow.md)
Phase 2: Feature Module Extraction [checkpoint: 9a27cce]
- Task: Extract Settings Navigation.
- Move
SettingsNavigation.kttofeature:settings/androidMain. - Fix package declarations and broken imports.
- Move
- Task: Extract Nodes & Connections Navigation.
- Move
NodesNavigation.kttofeature:node/androidMain. - Move
ConnectionsNavigation.kttofeature:connections/androidMain. - Fix package declarations and broken imports.
- Move
- Task: Extract Messaging & Remaining Navigation.
- Move
ContactsNavigation.kttofeature:messaging/androidMain. - Move
ChannelsNavigation.kttofeature:settings/androidMainorfeature:node. - Move
FirmwareNavigation.kttofeature:firmware/androidMain. - Move
MapNavigation.kttofeature:map/androidMain. - Fix package declarations and broken imports.
- Move
- Task: Conductor - User Manual Verification 'Phase 2: Feature Module Extraction' (Protocol in workflow.md)
Phase 3: Root Assembly & Testing [checkpoint: a1e9da3]
- Task: Refactor Root App Graph.
- Update root composition to import the newly relocated navigation extension functions.
- Remove any leftover navigation wiring from the
appmodule.
- Task: Implement Navigation Assembly Tests.
- Add basic Android instrumented or Roboelectric tests in
:appto verify that theNavHostsuccessfully constructs all feature graphs without crashing.
- Add basic Android instrumented or Roboelectric tests in
- Task: Review previous steps and update project documentation.
- Update
conductor/tech-stack.mdandconductor/product.mdif necessary to reflect the thinned app module and JetBrains Navigation 3 common usage.
- Update
- Task: Conductor - User Manual Verification 'Phase 3: Root Assembly & Testing' (Protocol in workflow.md)