Commit Graph

34 Commits

Author SHA1 Message Date
Jonas Bark
786621a11b Localize TrainerConnection titles (re-evaluate per locale)
The connection titles ("Connect using Bluetooth", "Connect directly over
Network", "Connect using MyWhoosh Link", ...) were captured once at object
construction in English, so they didn't follow the active locale. Back the
title with a builder (String Function()) and expose it via a getter so it
re-localizes — fixing the English titles in the localized store screenshots.
Updated all 10 subclasses and the fake connection in the bridge-transport test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 11:47:43 +02:00
Jonas Bark
a68b68a1b4 fix button mapping popup 2026-06-01 11:53:55 +02:00
Jonas Bark
f336834d4e chore: drop redundant foundation.dart import in Di2Emulator
shadcn_flutter re-exports ValueNotifier and @visibleForTesting, so the
direct import is unnecessary now that the unused data field is gone.
2026-04-28 19:01:10 +02:00
Jonas Bark
ef53e6ba60 chore: drop unused Di2Emulator.data field/getter 2026-04-28 19:00:32 +02:00
Jonas Bark
eac5736188 feat: scaffold Di2Emulator wrapping Di2Definition over BluetoothTransporter
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-28 18:53:31 +02:00
Jonas Bark
43cf9482bd UI fixes 2026-04-28 08:39:48 +02:00
Jonas Bark
edf6af55f7 UI improvements 2026-04-25 22:36:25 +02:00
Jonas Bark
40769d4577 new ui #18 2026-03-12 07:38:20 +01:00
Jonas Bark
91f693ec0d new ui #5 2026-03-10 21:02:41 +01:00
Jonas Bark
86ba21aa1b ui fixes 2026-02-25 22:07:30 +01:00
Jonas Bark
cff12ac744 fix shimano di2 implementation 2026-02-16 17:58:10 +01:00
Jonas Bark
87c05c994c fix import 2026-02-15 21:49:28 +01:00
Jonas Bark
11b1aea499 Di2: resolve issue #233 2026-02-15 21:44:02 +01:00
Jonas Bark
26b24716b9 cleanup streams on exit 2026-02-01 10:08:31 +01:00
Jonas Bark
ce995440e3 show a message in configuration when no buttons available for a device 2026-02-01 10:00:43 +01:00
Jonas Bark
8997b54a9a group buttons by device, add new unlock mechanism 2026-01-23 15:27:32 +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
10b9cf65a7 resolve #224 2025-12-15 20:16:30 +01:00
Jonas Bark
5a67f2ee76 remove remains of swift_control 2025-12-14 16:22:07 +01:00
Jonas Bark
3878d8eee9 fix Di2 buttons not triggering an event 2025-12-08 11:07:55 +01:00
Jonas Bark
92d3c68a55 create duplicate keymap if needed 2025-12-05 21:35:40 +01:00
Jonas Bark
0839322142 fix hid device functionality when accessibility service is active 2025-12-05 19:48:34 +01:00
Jonas Bark
9c2a62bd94 less god objects 2025-11-29 13:12:09 +00:00
Jonas Bark
113eaf12d5 fix execution on Web 2025-11-08 20:18:42 +01:00
Jonas Bark
3f2fb96cfa make Di2 custom keymap requirement clearer #170 2025-11-08 12:55:05 +01:00
Jonas Bark
90741607c7 code fix, update changelog and readme 2025-11-07 20:49:59 +01:00
Jonas Bark
8d6bc58b7d Merge branch 'feature/ble_hid' 2025-11-07 20:37:44 +01:00
Jonas Bark
668f659cfd fix di2 initialization 2025-11-06 18:45:46 +01:00
copilot-swe-agent[bot]
f4e7914eeb Fix DI2 button trigger on startup and add tests
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-06 17:43:29 +00:00
Jonas Bark
743702f583 support HID key events on Android #110 2025-11-04 09:53:52 +01:00
Jonas Bark
c6f88bf448 UI adjustments 2025-11-02 13:55:56 +01:00
Jonas Bark
45b0b51829 fix SwiftControl Web, more generic battery and firmware version reads 2025-11-02 13:24:19 +01:00
Jonas Bark
6d255747a7 fix SwiftControl Web 2025-11-02 10:50:44 +01:00
Jonas Bark
f33ed9b8d3 initial support for Shimano Di2 D-Fly channel buttons 2025-11-02 10:45:51 +01:00