Commit Graph

38 Commits

Author SHA1 Message Date
Jonas Bark
8170cd97b9 fix(trainingpeaks): direction and face buttons now reach the app
The TPV profile mapped navigationUp and the coloured face buttons to a
keyboard key / touch position only. _handleDirectConnect forwards a KeyPair
solely when it carries an inGameAction, so those presses never left the
phone — and an actionless default is worse than no default at all, because
it shadows the action the button would otherwise inherit from
ControllerButton.action via Keymap.addNewButtons (which is exactly why
navigationDown, absent from the profile, worked).

Same gap hit the HUD-toggle and difficulty defaults. Steer Left/Right are
added to defaultObpSupportedButtons as well: TPV advertises them in its
live app-info frame, but without them the button editor hid steering
before a connection.

Reported by a rider on Android with TPV on an iPad, whose log showed
"Sent Down button press" next to "No connection method active".

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-18 12:54:00 +02:00
Jonas Bark
08914aff7e feat(config): link to each trainer app's official site from the chooser
The trainer-app picker now shows an external-link button next to every app
that has an official site, opening it in the browser. Adds an officialUrl to
SupportedApp with per-app overrides (Strappo, MyWhoosh, Rouvy, Zwift,
TrainingPeaks Virtual, Biketerra, BikeControl, OpenBikeControl).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 12:52:23 +02:00
Jonas Bark
ebe038e1e2 feat(help): link to the bikecontrol.app setup guide for the controller + app
Adds a "Use {controller} with {app}" link that opens the matching
bikecontrol.app/use-<controller>-with-<app>/ how-to page:
- as the first entry in the Help & Support dropdown (above Instruction
  Videos), using the connected controller + selected trainer app;
- on the controller detail page, for that controller + the selected app.

Each controller device and trainer app maps to its website slug
(SupportedApp.helpSlug + a controller lookup in help_article.dart), with a
generic "other-training-app" fallback when a combination has no dedicated
page and no entry when the controller type has none. New localized string
useControllerWithApp across all 6 languages.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 20:31:23 +02:00
Jonas Bark
57f0b707d8 enable trainingpeaks, version++ 2026-06-06 20:31:27 +02:00
Jonas Bark
952f866b9f show default OBP actions 2026-05-11 20:53:25 +02:00
Jonas Bark
bff564410b integrate logos 2026-04-12 11:40:43 +02:00
Jonas Bark
488d32afff group trainer dropdown by official support 2026-04-12 11:29:56 +02:00
Jonas Bark
ac5873b03d TrainingPeaks is fully supported now 2026-04-10 16:04:06 +02:00
Jonas Bark
b62c8a5fc5 cleanup, dircon fixes 2026-04-10 16:02:59 +02:00
Jonas Bark
84157c3f55 TPV: Bluetooth now supported 2026-04-10 09:48:40 +02:00
Jonas Bark
ba7525efcd degrade buggy TrainingPeaks support 2026-04-07 09:05:25 +02:00
Jonas Bark
a34b2ac9bf revise connection methods 2026-03-25 09:27:37 +01:00
Jonas Bark
96bf9b9ac3 UI adjustments, TP adjustment 2026-03-19 19:54:52 +01:00
Jonas Bark
a643af1246 UI adjustments, TP adjustment 2026-03-19 13:25:40 +01:00
Jonas Bark
e591c37a19 resolve issue #310 2026-02-23 18:48:50 +01:00
Jonas Bark
b3972573a8 Android: increase buying fallback 2026-02-19 20:49:40 +01:00
Jonas Bark
90d4e27543 openbikecontrol via dircon 2026-02-08 11:28:48 +01:00
Jonas Bark
4449b57492 add OpenBikeControl protocol to onboarding 2026-01-19 08:23:30 +01:00
Jonas Bark
7f90b02d73 clenaup 2026-01-11 12:11:28 +01:00
Jonas Bark
e9433a80f2 performance & ui fixes 2026-01-07 10:19:21 +01:00
Jonas Bark
2528342a7b remove remains of swift_control 2025-12-14 16:22:07 +01:00
Jonas Bark
2a4444bf3b screenshot work 2025-12-06 13:42:18 +01:00
Jonas Bark
a1d26cf349 resolve issue #207 2025-12-06 11:56:08 +01:00
Jonas Bark
cbe995ec52 cleanup, refactoring 2025-12-05 13:22:52 +01:00
Jonas Bark
5bf9c4df63 work on mDNS 2025-12-05 10:51:40 +01:00
Jonas Bark
623a98bf76 openbikeprotocol Bluetooth emulator 2025-11-29 17:46:12 +00:00
Jonas Bark
84cbfaf8e3 fix compatibility checks on this device on iOS devices 2025-11-20 21:34:03 +00:00
Jonas Bark
162577b6a8 ux adjustments 2025-10-31 12:18:15 +01:00
Jonas Bark
518b841eb9 integration #1 2025-10-28 17:58:44 +01:00
Jonas Bark
3f9de03ecf refactoring #3 2025-10-26 17:21:00 +01:00
Jonas Bark
abc1303856 update training peaks keymap according to #126 2025-10-24 09:53:55 +02:00
Jonas Bark
d9dddbcee2 refactor device handling to support more devices #1 2025-10-13 10:59:12 +02:00
Jonas Bark
76851b7d13 cleanup 2025-10-13 00:14:51 +02:00
Jonas Bark
3076db2fc1 UI changes and fixes 2025-10-10 11:06:16 +02:00
Jonas Bark
43a7d0baf2 potentially fix #12 2025-04-08 08:05:37 +02:00
Jonas Bark
458c5f5286 Android: better approximation of button placement for freeform windows 2025-04-07 15:21:45 +02:00
Jonas Bark
9d25e52b2d Android: support media keys 2025-04-06 11:59:29 +02:00
Jonas Bark
0a40a680dc Android: custom touch mapping for media actions, add keymap for training peaks 2025-04-06 11:10:40 +02:00