Commit Graph

104 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
7e1de77bdd feat(apps): add Strappo as an officially supported trainer app
Strappo (getstrappo.com) integrates the open OpenBikeControl protocol, so it
joins the supported-apps list as an official network/BLE partner (obpMdns +
obpBle) — button events arrive over the protocol, so no keyboard keymap is
needed. Adds the SupportedApp definition, registry entry, partner logo asset,
and a registration test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 12:38:30 +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
59467b5a56 refactor: remove dead supportsNativeFrontShift getter
Re-introduced by a merge; the forward path emits the both-shifters combo
regardless of app, so the capability flag is unused.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 20:27:36 +02:00
Jonas Bark
5057d8b333 feat: supportsNativeFrontShift capability flag (Zwift=true)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 15:54:45 +02:00
Jonas Bark
57f0b707d8 enable trainingpeaks, version++ 2026-06-06 20:31:27 +02:00
Jonas Bark
afa5777e86 fixes 2026-05-21 22:25:28 +02:00
Jonas Bark
51f2455166 rouvy mode 2026-05-21 20:34:51 +02:00
Jonas Bark
75dd10371a show default OBP actions 2026-05-11 20:53:25 +02:00
Jonas Bark
fd870e356d adjustments 2026-04-28 20:15:38 +02:00
Jonas Bark
152ed69b16 feat: add Wahoo ELEMNT SupportedApp with di2Ble connection method 2026-04-28 18:49:03 +02:00
Jonas Bark
4766bff12f improve HID device logic 2026-04-28 18:48:32 +02:00
Jonas Bark
b7d9fba548 compatibility changes 2026-04-25 19:23:34 +02:00
Jonas Bark
080e8a5c90 ui fixes 2026-04-24 13:42:45 +02:00
Jonas Bark
972e13ad12 feat(apps): add BikeControl as a supported trainer app 2026-04-24 13:26:31 +02:00
Jonas Bark
03e1727d6a feat(supported-app): add per-app trainer connection types 2026-04-23 08:52:09 +02:00
Jonas Bark
df937d7fec feat(keymap): add virtualGearAmount on SupportedApp (MyWhoosh=30, default=24) 2026-04-20 09:14:06 +02:00
Jonas Bark
7339dbb540 integrate logos 2026-04-12 11:40:43 +02:00
Jonas Bark
3b2a04003f group trainer dropdown by official support 2026-04-12 11:29:56 +02:00
Jonas Bark
8f52f0ff34 cleanup 2026-04-12 10:44:49 +02:00
Jonas Bark
37ee97e7b7 resolve https://github.com/OpenBikeControl/bikecontrol/issues/339 2026-04-12 10:18:39 +02:00
Jonas Bark
c9dd4dd485 TrainingPeaks is fully supported now 2026-04-10 16:04:06 +02:00
Jonas Bark
2a62b9107a cleanup, dircon fixes 2026-04-10 16:02:59 +02:00
Jonas Bark
b532df0ff0 Rouvy kudo command 2026-04-10 15:36:22 +02:00
Jonas Bark
1c38d096ac TPV: Bluetooth now supported 2026-04-10 09:48:40 +02:00
Jonas Bark
6085996411 degrade buggy TrainingPeaks support 2026-04-07 09:05:25 +02:00
Jonas Bark
9c17ea0fc0 wording adjustments 2026-04-07 08:26:51 +02:00
Jonas Bark
b992f62a69 5.2.0 adjustments 2026-04-02 10:20:43 +02:00
Jonas Bark
5ed2bce59b revise connection methods 2026-03-25 09:27:37 +01:00
Jonas Bark
e06dfe02fa UI adjustments, TP adjustment 2026-03-19 19:54:52 +01:00
Jonas Bark
2d0c47233d UI adjustments, TP adjustment 2026-03-19 13:25:40 +01:00
Jonas Bark
2164779e79 new MyWhoosh keyboard shortcuts 2026-03-12 09:13:21 +01:00
Jonas Bark
f4b9a349d0 individual actions for single, double, long press 2026-02-25 11:20:18 +01:00
Jonas Bark
1c96ddff60 resolve issue #310 2026-02-23 18:48:50 +01:00
Jonas Bark
868c6924f8 Android: increase buying fallback 2026-02-19 20:49:40 +01:00
Jonas Bark
e007ed495c openbikecontrol via dircon 2026-02-08 11:28:48 +01:00
Jonas Bark
6686278457 add new remote keyboard connection method 2026-02-05 17:22:21 +01:00
Jonas Bark
c54678c7a0 cleanup 2026-01-19 16:57:54 +01:00
Jonas Bark
eca29b7de2 add OpenBikeControl protocol to onboarding 2026-01-19 08:23:30 +01:00
Jonas Bark
92b1328aba clenaup 2026-01-11 12:11:28 +01:00
Jonas Bark
42a83e8af5 performance & ui fixes 2026-01-07 10:19:21 +01:00
Jonas Bark
5c219153d7 press longer for the simulator, enable long press for devices not supporting long press (e.g. Shimano Di2) 2025-12-19 11:38:30 +01:00
Jonas Bark
05d1588a76 press longer for the simulator, enable long press for devices not supporting long press (e.g. Shimano Di2) 2025-12-19 11:33:13 +01:00
Jonas Bark
f6ac94806a teaser new connection methods 2025-12-18 08:11:06 +01:00
Jonas Bark
a035237e54 Merge branch 'main' into copilot/implement-in-app-purchase
# Conflicts:
#	CHANGELOG.md
#	lib/bluetooth/devices/base_device.dart
#	pubspec.yaml
2025-12-17 08:41:47 +01:00
Jonas Bark
1e4f52e3ef update MyWhoosh keymap to use A and D keyboard keys for steering 2025-12-16 10:41:10 +01:00
Jonas Bark
8efe7c0863 cleanup, translations 2025-12-16 10:14:48 +01:00
Jonas Bark
5a67f2ee76 remove remains of swift_control 2025-12-14 16:22:07 +01:00
Jonas Bark
c88f28474e MyWhoosh: updated default keymap to use steering instead of navigating 2025-12-10 19:14:13 +01:00