Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

No one-rep-max calculator on an assistance machine — it was offering a max of the help you were given (#232)

Duarte Santos0345abc925b8
diff --git a/frontend/src/sheets.jsx b/frontend/src/sheets.jsx
index 284f0cf1e..5b1caf7b2 100644
--- a/frontend/src/sheets.jsx
+++ b/frontend/src/sheets.jsx
@@ -677,7 +677,10 @@ function ExerciseDetail({ ex, close }) {
<h4 className="sec">{t('Bar weight')}</h4>
<BarWeightEditor ex={ex} extra={t('You still log the total weight — the bar only feeds the per-side plate math.')} />
</>}
- {!isCardio(ex) && <OneRM ex={ex} />}
+ {/* No one-rep max on an assistance machine: the load is the help you were given, so the
+ calculator would answer "your 1RM is 23 kg" about a number that gets smaller as you get
+ stronger (issue #232). Cardio has none for the same kind of reason. */}
+ {!isCardio(ex) && !isAssisted(ex) && <OneRM ex={ex} />}
{instrFor(ex).length > 0 &&<><h4 className="sec">{t('How to')}{!INSTR_LANGS.includes(getLang()) && <span className="dim" style={{ textTransform: 'none', letterSpacing: 0 }}> · {t('instructions in English')}</span>}</h4><ol className="steps-list">{instrFor(ex).map((s, i) => <li key={i}>{s}</li>)}</ol></>}
</>
}