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.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
Merge #162: custom exercise improvements — equipment, muscle names, cardio target (LuckaPow)
Duarte Santos7b9c54bc7f9c
diff --cc frontend/src/index.cssindex f5ff32849,cef3fd107..12a1643b4--- a/frontend/src/index.css+++ b/frontend/src/index.css@@@ -433,8 -424,8 +433,8 @@@ h4.sec/* ---------------------------------------------------------------- chips -- */.chips{- display:flex;gap:7px;overflow-x:auto;padding-bottom:2px;- display:flex;gap:7px;overflow-x:auto;padding:4px 4px 6px;- scrollbar-width:none;-webkit-overflow-scrolling:touch;++ display:flex;gap:7px;overflow-x:auto;padding:4px 4px 6px; /* room for a chip's focus outline inside a sheet (#162) */+ scrollbar-width:none;}.chips::-webkit-scrollbar{display:none}/* horizontal strips: keep a sideways overscroll from chaining to the page and leave adiff --cc frontend/src/sheets.jsxindex 26ee3c8db,9016f9c96..7eade88e2--- a/frontend/src/sheets.jsx+++ b/frontend/src/sheets.jsx@@@ -654,12 -643,12 +654,12 @@@ function ExerciseDetail({ ex, close })<Media ex={ex} /><div className="row" style={{ gap: 6, flexWrap: 'wrap', margin: '10px 0' }}><span className="tag acc">{t(ex.bp)}</span>- {(ex.primaries?.length ? ex.primaries : (ex.tg ? [ex.tg] : [])).map((s, i) => <span key={i} className="tag"><Icon name="target" />{t(s)}</span>)}+ {ex.bp === 'cardio' ? <span className="tag"><Icon name="target" />{t(MUSCLE_NAME['cardiovascular system'])}</span> : (ex.primaries?.length ? ex.primaries : (ex.tg ? [ex.tg] : [])).map((s, i) => <span key={i} className="tag"><Icon name="target" />{t(MUSCLE_NAME[s] || s)}</span>)}<span className="tag"><Icon name="dumbbell" />{t(ex.eq)}</span>- {(ex.secondaries?.length ? ex.secondaries : smOf(ex)).slice(0, 3).map((s, i) => <span key={i} className="tag">{t(s)}</span>)}+ {(ex.secondaries?.length ? ex.secondaries : smOf(ex)).slice(0, 3).map((s, i) => <span key={i} className="tag">{t(MUSCLE_NAME[s] || s)}</span>)}</div>{ex.desc && <div className="exnote">{ex.desc}</div>}- {best > 0 && <div className="small row" style={{ marginBottom: 6, gap: 5 }}><Icon name="trophy" style={{ fontSize: 14, color: 'var(--yellow)' }} />{t('Best:')} <b className="accent">{fmtNum(best)} {st.unit}</b>{last ? ` · ${t('last')} ${fmtDate(last.d)}: ${last.sets.map(s => setLabel(ex.id, s, last.target)).join(', ')}` : ''}</div>}+ {best > 0 && <div className="small row" style={{ marginBottom: 6, gap: 5 }}><Icon name="trophy" style={{ fontSize: 14, color: 'var(--yellow)' }} />{t('Best:')} <b className="accent" style={{ whiteSpace: 'nowrap' }}>{fmtNum(best)} {st.unit}</b>{last ? ` · ${t('last')} ${fmtDate(last.d)}: ${last.sets.map(s => setLabel(ex.id, s, last.target)).join(', ')}` : ''}</div>}<Button variant="primary" icon="plus" style={{ margin: '10px 0 4px' }} onClick={() => addToRoutineSheet(ex)}>{t('Add to my plan')}</Button>{last && <Button icon="history" style={{ marginTop: 4 }} onClick={() => exerciseHistorySheet(ex.id)}>{t('History')}</Button>}{ex.custom && <div className="row" style={{ gap: 8, marginTop: 8 }}>