Commit Graph

2 Commits

Author SHA1 Message Date
Jonas Bark
b0f7779562 fix(onboarding): only offer Local when the trainer app runs on this device
The Local method drives the app on THIS device, so offering it for an
'On another device' target (Rouvy on a PC, say) made no sense. Visibility
now mirrors CoreLogic.showLocalControl's target check, the mirror image of
the Bluetooth tile's rule, with a test pinning both.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-10 14:59:02 +02:00
Jonas Bark
0ba1005f19 fix(onboarding): body/footer get the overlay context; Network tile covers obpDirCon and rouvyMdns
The DrawerOverlay fix routed onHelp through the under-Scaffold context but
left _body/_footer on the page-level context, so sheets opened from step
bodies (Local's permission sheet) still asserted. Both builders now receive
the overlay context; a regression test walks the real wizard to step 5 and
taps Local (red on the old code with the exact assertion).

The Network tile's mapping now mirrors CoreLogic exactly: obpDirCon rides
the OBP mDNS server (TrainingPeaks) and rouvyMdns shares the Zwift-mDNS
pref with Rouvy's own emulator — both apps were missing their Network tile.
A test asserts tile visibility matches the CoreLogic predicates for every
registered app.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-10 09:13:17 +02:00