mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-29 09:11:17 +01:00
Three chain-card changes. They arrived as one commit because the first was still uncommitted when the others landed on top of it. **A Click V2 waiting for its unlock-mode choice.** Reported edge case: a brand-new install where the wizard was skipped or finished on another controller leaves clickV2OnboardingDone false, so a Click V2 switched on afterwards is discovered, in range, healthy — and deliberately not connected. The chain had no way to say "we are choosing not to connect this", fell back to presence, and told the rider their controller had never been paired and should be brought back into range, about a device switched on beside them. That step now REPLACES the checklist rather than joining it. Putting it first would have left the false steps sitting below it; every other step is unknowable until the device is allowed to connect. Once the choice is made the normal checklist returns. The card's action reads "Set up" and opens the explainer, since the choice is what releases the controller into the connect queue. **Warning glyphs beside the status.** A flat battery, a pending firmware update or a signal about to drop are qualifiers on "Connected" — it works, but not for much longer, or not well — and the card said nothing. They show only when something is actually wrong, so a glyph appearing means something. Thresholds are the device page's own (20%, -70 dBm) rather than new ones, so the two screens cannot disagree about "low". **The bridging pitch on an unused trainer.** A trainer that is here but has never been connected now shows what bridging it would buy instead of an empty card; that list already existed on the device page, and this is exactly the rider who has not seen it. Dropped once bridged, where live numbers are the useful content, and dropped for one that broke mid-session, where it would read as if nothing were wrong. Not covered by tests: which badges get chosen, and when the feature list appears — both are private methods on _HomePageState, which has no widget test to hang a case on. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>