Files
swiftcontrol/lib/pages
Jonas Bark 65d8579199 fix(home): Local control is a fallback, not proof the app is connected
The app link read connectedTrainerConnections, which includes Local.
Local reports connected the moment it is switched on — it types into
whatever window happens to be in front — so it says nothing about
whether the trainer app is reachable. With a network method also enabled
(the default for MyWhoosh) that painted the link green while the
connection the rider actually rides on sat unactivated, hiding the one
thing left to do.

The link now reads non-local connections whenever any non-local method
is enabled, and all of them when Local is all there is — because then
Local IS the answer. The summary uses the same list, so the card cannot
caption itself "Local" while the network method is down.

The rule already existed: InactivityDisconnector draws exactly this
distinction, and connectedNonLocalTrainerConnections was already there
for it. The home chain simply was not using it. So the getter lives in
core.logic beside its siblings rather than as a private method on the
page — the next screen that needs it should find it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-11 19:52:39 +02:00
..
2026-06-18 17:48:25 +02:00
2026-05-05 14:15:27 +02:00
2026-02-22 17:19:56 +01:00
2026-06-10 08:53:30 +02:00
2026-03-12 18:06:17 +01:00
2026-08-11 18:38:30 +02:00