feat(train): other apps' workouts read from Health Connect (ADR 0030, D31)
Read from other apps, off until turned on, asks for reading with the history; the apps that wrote sessions are listed, each off. One turned on brings its sessions, earlier ones at once and later ones through the changes token as the app opens and comes to the front: each a workout of Train's own store, sealed and synced, its origin in its payload, its heart rate, pauses and a row's power as series, named by its app in the list and on its page. A double of a workout Train has brings at most its heart rate; one deleted in Train stays out; a track comes only when asked for on the page, Health Connect asking for consent. What came from Health Connect is never written back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
09f61c3b0a
commit
8fb2dbf35e
1 changed files with 1304 additions and 111 deletions
|
|
@ -183,12 +183,25 @@
|
|||
"healthNeedsUpdate": "Update the Health Connect app to use it with Train.",
|
||||
"healthWrite": "Write my workouts",
|
||||
"healthWriteHint": "Every workout on this phone, kept up to date as you edit or delete it",
|
||||
"healthWriteRefused": "Health Connect took this back. Allow it there to turn it on again.",
|
||||
"healthTakenBack": "Health Connect took this back. Allow it there to turn it on again.",
|
||||
"healthRefused": "Health Connect didn't allow it. You can allow it in its settings.",
|
||||
"healthOpenSettings": "Open Health Connect",
|
||||
"healthWhy": "Why Train asks",
|
||||
"healthRationaleTitle": "Train and Health Connect",
|
||||
"healthRationaleWrite": "Train writes your workouts to Health Connect only once you turn it on: each one with its route, heart rate, speed, power, distance and climb, so that other apps on this phone can use them. A workout edited or deleted in Train is edited or deleted there too.",
|
||||
"healthRationaleRead": "Train reads other apps' workouts only once you turn it on, and only from the apps you choose: their heart rate, distance and power come into Train as workouts, sealed with your key before they're synced to your instance, which can't read them.",
|
||||
"healthRationaleNothingElse": "What Train reads there is shown to you and nobody else, and isn't used for anything else. Turning a switch off, or taking a permission back in Health Connect, stops it."
|
||||
"healthRationaleNothingElse": "What Train reads there is shown to you and nobody else, and isn't used for anything else. Turning a switch off, or taking a permission back in Health Connect, stops it.",
|
||||
|
||||
"healthRead": "Read from other apps",
|
||||
"healthReadHint": "Their workouts come into Train, from the apps you choose below",
|
||||
"healthApps": "Apps",
|
||||
"@healthApps": {"description": "Over the apps that wrote workouts to Health Connect, each with its switch."},
|
||||
"healthAppsEmpty": "No app has written workouts to Health Connect yet.",
|
||||
"workoutFromList": "from {app}",
|
||||
"@workoutFromList": {"description": "In the list, after when an imported workout was: the app it came from.", "placeholders": {"app": {"type": "String", "example": "Gadgetbridge"}}},
|
||||
"workoutFrom": "From {app}, through Health Connect",
|
||||
"@workoutFrom": {"description": "On an imported workout's page.", "placeholders": {"app": {"type": "String", "example": "Gadgetbridge"}}},
|
||||
"workoutBringTrack": "Bring in the track",
|
||||
"@workoutBringTrack": {"description": "On an imported workout's page: asks Health Connect for its route."},
|
||||
"workoutNoTrack": "Health Connect gave no track for it."
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue