Files
swiftcontrol/lib/utils
Jonas Bark a9fba3f0fb fix(home): name the outstanding step instead of "waiting for the app"
_appCard derived its status line from link.status alone and never looked at
activeStep, so every amber state with an app selected read "Waiting for
MyWhoosh". That is only true once everything on this side is done — while a
permission is missing or no method is switched on, the app is never going to
connect however long the rider waits, and the sentence sends them into the
trainer app hunting for a problem that is over here.

This predates Local Network: "Enable a connection method" was mislabelled the
same way.

The decision is a pure appStatusFollowsActiveStep() in chain_state.dart so it
is testable without widgets. It ignores optional steps: the local-control offer
is never done for most riders, and letting it through would make the card
permanently claim there is work outstanding.

Also drop the launch-time Local Network toast. The app card carries this as a
required step now, and a line that stays put beats one that scrolls away.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-21 11:31:53 +02:00
..
2026-07-10 13:01:38 +02:00
2026-03-12 10:23:21 +01:00
2026-03-08 15:03:36 +01:00
2025-12-07 12:05:52 +01:00
2026-05-05 14:15:27 +02:00
2026-03-06 18:18:23 +01:00