Commit Graph

540 Commits

Author SHA1 Message Date
Jonas Bark
ddfc44ce24 feat(proxy): remember intent to connect; auto-start on next scan
Persist a per-trainer auto_connect_<trainerKey> flag via Settings. Set
to true whenever the user explicitly starts the emulator (tap in the
Trainer & Accessories list, or the Connect button on the disconnected
card). Clear to false when they tap Disconnect (or Disconnect & forget).

In Connection._handleConnectionQueue's proxy branch, after the shared
listener setup finishes, check the flag for the scanned ProxyDevice —
if set and nothing else is in flight, pick up the saved retrofit mode
and fire startProxy() so the emulator is ready by the time the user
opens the details page (or without opening it at all).
2026-04-21 10:55:33 +02:00
Jonas Bark
1e79c31ff8 feat(settings): per-trainer retrofit-mode persistence 2026-04-21 09:32:39 +02:00
Jonas Bark
f75fc6dd69 feat(settings): re-apply trainer settings on connected proxies when keymap changes 2026-04-20 09:43:38 +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
22d603aac0 refactor(settings): drop legacy proxy_* accessors
All call sites now go through core.shiftingConfigs and the active
ShiftingConfig. Remove the global getProxy*/setProxy*/clear helpers
and the associated clamp constants; these lived at lib/utils/settings/settings.dart:488-568.
The unused fitness_bike_definition import it pulled in drops with
them.
2026-04-20 07:46:27 +02:00
Jonas Bark
12773b3fb8 feat(shifting): mount ShiftingConfigsController on core 2026-04-20 07:38:22 +02:00
Jonas Bark
b5500ba5af feat(actions): dispatch trainer-control actions to ProxyDevice
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 10:39:39 +02:00
Jonas Bark
4042de95d5 feat(actions): add 6 trainer-control InGameActions
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 10:37:13 +02:00
Jonas Bark
650b4737c4 feat(settings): persist custom 24-step gear ratios
Adds getProxyGearRatios/setProxyGearRatios/clearProxyGearRatios on
the Settings class, bumps the prop submodule to pick up the mutable
table and public gear constants on FitnessBikeDefinition, and covers
the roundtrip + edge cases with tests.
2026-04-15 23:02:19 +02:00
Jonas Bark
f14c9ff01e feat(settings): add proxy bike/rider weight, grade smoothing, VS mode 2026-04-15 21:02:38 +02:00
Jonas Bark
8ede62aed1 cleanup 2026-04-15 11:14:21 +02:00
Jonas Bark
40f171e935 new openbikecontrol actions 2026-04-12 12:06:37 +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
04d30ac556 resolve https://github.com/OpenBikeControl/bikecontrol/issues/337 2026-04-12 11:19:25 +02:00
Jonas Bark
374499e669 resolve https://github.com/OpenBikeControl/bikecontrol/issues/338 2026-04-12 11:13:08 +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
f204edba0a resolve https://github.com/OpenBikeControl/bikecontrol/issues/335 2026-04-12 09:36:26 +02:00
Jonas Bark
83c7532bfb resolve https://github.com/OpenBikeControl/bikecontrol/issues/341 2026-04-12 09:20:44 +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
ae02bc2d91 fix late init issue 2026-04-04 09:22:27 +02:00
Jonas Bark
b992f62a69 5.2.0 adjustments 2026-04-02 10:20:43 +02:00
Jonas Bark
20d275617d sync subscriptions after logging in 2026-03-29 16:40:38 +02:00
Jonas Bark
393ac83c8d fix patch 2026-03-26 16:34:04 +01:00
Jonas Bark
cfcdb0203f UI adjustments 2026-03-25 11:28:03 +01:00
Jonas Bark
2f628c7345 revise connection methods 2026-03-25 09:27:48 +01:00
Jonas Bark
5ed2bce59b revise connection methods 2026-03-25 09:27:37 +01:00
Jonas Bark
8d2c6978c9 Merge remote-tracking branch 'origin/main' into proxy 2026-03-24 13:04:29 +01:00
jonasbark
6c5f80b4b6 Merge pull request #321 from Tumlinh/headwind-inc-dec
RFC WIP: Add two actions to Wahoo KICKR headwind to increase and decrease speed respectively
2026-03-23 20:53:04 +01:00
Jonas Bark
f04fe5a2c3 fix action handling with multiple active connections 2026-03-23 12:04:08 +01:00
Jonas Bark
fe98299d36 Win: bought before 50 check 2026-03-22 10:51:28 +01:00
Jonas Bark
d62c86fa77 fix access logic 2026-03-22 09:48:38 +01:00
Jonas Bark
6cd355c9f9 allow music / volume control for old purchases 2026-03-20 16:48:23 +01:00
Jonas Bark
3bb57f8ee3 revise revenuecat initialization 2026-03-20 07:58:23 +01:00
Jonas Bark
5aa259483a reenable steering for earlier purchases 2026-03-19 21:01:50 +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
e955d81fce connection settings adjustments 2026-03-18 10:07:22 +01:00
Tumlinh
1a011dd9de Add two extra Wahoo KICKR headwind actions for cyclic speed increase/decrease 2026-03-14 12:14:35 +00:00
Tumlinh
b7f337b111 Add two actions to Wahoo KICKR headwind to increase and decrease speed respectively 2026-03-14 11:43:40 +00:00
Jonas Bark
8b2e4dfaaf open billing portal 2026-03-12 18:06:17 +01:00
Jonas Bark
8c1a03e873 new ui #20 2026-03-12 10:23:21 +01:00
Jonas Bark
6435be973f new ui #19 2026-03-12 10:11:17 +01:00
Jonas Bark
2164779e79 new MyWhoosh keyboard shortcuts 2026-03-12 09:13:21 +01:00