Files
swiftcontrol/lib/widgets/controller
Jonas Bark bd12ff2117 test(docs): snapshot the controller-configuration flow for the tutorial
Nine captures behind the "Configure Your Controller" tutorial on the website:
the main-page controller card with its tappable contour, the trigger popup a
tap opens, the Controller Settings page, the mapping table's three tiles per
button, the Pro conflict dialog, the button editor per trigger, the long-press
repeat card, and the toggle-mode fallback for a controller that never reports
a release.

Rendered as a Click V2 with OpenBikeControl and Local both on, which is what a
MyWhoosh rider has — with Local alone, every button MyWhoosh only exposes over
the protocol renders as "Not assigned", which is true and says nothing. And
deliberately as a NON-Pro rider: the PRO badge on a second trigger and the
"Go Pro" button are half of what the post is about, and both vanish for a
subscriber.

Two extractions so the test shoots the real widgets rather than hand-built
copies of them: buildTriggerAssignmentMenu out of showTriggerAssignmentPopup,
and buildTriggerConflictDialog out of showTriggerConflictDialog, the latter
returning its resolution through a callback instead of an inline Navigator.pop.
Behaviour is unchanged on both.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-21 12:33:44 +02:00
..
2026-05-04 12:06:56 +02:00
2026-05-04 12:06:56 +02:00