Files
swiftcontrol/lib
Jonas Bark f6ab5152ec feat(home): show unlocking as an actual step on the chain
A Zwift Click V2 on the legacy unlock method gave the rider nothing to
go on. Zwift locks it to their own app, so it stops sending button
presses about a minute after the last one — which from the chain looked
exactly like a flat battery or a controller out of range, because the
card said nothing at all.

It is a step now, so it ticks like the rest of the checklist and the
card sits amber rather than green while it is outstanding. Last in the
list, since unlocking needs the controller present.

`ControllerInput.unlocked` is nullable rather than a bool: null means
unlocking is not a concept for this controller and the card omits the
line entirely, the same way requiresBluetooth already omits a Bluetooth
step that would never mean anything. That distinction is the whole
design of the field — the step must appear for the legacy unified
controller and for the left puck on unlock-with-Zwift, but not for the
left puck on the restart workaround (it reboots itself; "open Zwift"
would be wrong advice) and not for the right puck, which Zwift never
locked.

The instructions button routes on the active step: a locked Click opens
the unlock flow for that exact device rather than the generic "can't
find your controller" help, which is the answer to a different question.

The hint says why, not just what — riders who do not know Zwift locks
the hardware read "unlock" as a paywall.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-11 17:22:39 +02:00
..