"Sign out of this device", confirmed once ("Other devices stay signed in").
While this device still holds training data that hasn't been uploaded, the
pending-upload prompt replaces that confirm: logging out keeps that data (ADR 0002 amendment 2) and
the same account uploads it after signing in again — but a different account
signing in on this device deletes it, which on a shared gym iPad is the
likely next step. When this device holds training stations, both prompts
add that they become free (stationsFreedLine, read from this
device's session in the device-session store when the sign-out is asked for).
Holds that whole flow so any trigger (the settings button, a list row) can
start it: call request() on click, render dialogs once next to the
trigger, and use label ("Sign out of this device") as its text.
"Sign out of this device", confirmed once ("Other devices stay signed in"). While this device still holds training data that hasn't been uploaded, the pending-upload prompt replaces that confirm: logging out keeps that data (ADR 0002 amendment 2) and the same account uploads it after signing in again — but a different account signing in on this device deletes it, which on a shared gym iPad is the likely next step. When this device holds training stations, both prompts add that they become free (stationsFreedLine, read from this device's session in the device-session store when the sign-out is asked for).
Holds that whole flow so any trigger (the settings button, a list row) can start it: call
request()on click, renderdialogsonce next to the trigger, and uselabel("Sign out of this device") as its text.