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
Settings and Library QA: a segmented control that does not fit next to its row title wraps under it instead of painting over it (translated packs at 390px), the today title takes two lines, the Language row shows the whole pack name, swipe-to-delete rows share the card radius (no red corners), Best value does not wrap before its unit, FitNotes' stock bench-press name matches on import
Duarte Santos35c810a663de
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 822046016..3f87f8222 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -63,6 +63,18 @@ tab bar mid-screen during a workout. Web bundle, APK and API image.deletes and where; a 413 on sync is shown instead of swallowed; nginx allows 5 MiB on `/api/`.- 🌍 Seven strings that arrived with combine routines, the layout switch and the 1RM deload were inno locale pack and showed in English in every language.+- 🧪 **From a headless sweep of every screen after the above** (phone and desktop, all 14+ languages): the set number in front of a per-side (L/R) set was an unstyled 11-px button; a+ unilateral set's volume was max-weight × total reps (14×10 left and 12.5×6 right read 224 kg,+ not 215); timed and cardio sets saved by older builds read "0" in history and on the workout+ card; the finish summary's tiles cramped into four columns inside the dialog on desktop;+ exercise names in menu titles and "added to" toasts were lower-case and the 1RM line said+ "Kg"; in German, Russian, Spanish, French, Italian, Portuguese, Polish and Hungarian the+ segmented controls in Settings painted over their row titles (the control now wraps under the+ title when both do not fit); the Home "today" title can take two lines before the ellipsis+ ("Leg Day — in progress" in Hungarian); the Language row shows the full pack name; the routine+ editor's rows showed a red sliver of the swipe-to-delete button at their corners; FitNotes'+ stock "Flat Barbell Bench Press" now matches on import.- 🔍 **A failed Coach run on the phone says what the provider said.** With your own API key thereis no admin card and no instance owner, so "the instance owner needs to check its setup" was thediff --git a/frontend/src/components/SwipeToDelete.jsx b/frontend/src/components/SwipeToDelete.jsxindex f2720b76d..bdec5ba32 100644--- a/frontend/src/components/SwipeToDelete.jsx+++ b/frontend/src/components/SwipeToDelete.jsx@@ -71,7 +71,7 @@ export default function SwipeToDelete({ children, onDelete, deleteLabel, classNa}, [])return (- <div ref={outerRef} style={{ position: 'relative', overflow: 'hidden', borderRadius: 12 }}+ <div ref={outerRef} style={{ position: 'relative', overflow: 'hidden', borderRadius: 'var(--r-card)' }}onTouchStart={e => { if (e.target.closest('button,input')) return; start(e.touches[0].clientX, e.touches[0].clientY) }}onTouchEnd={end}onMouseDown={e => { if (e.button !== 0 || e.target.closest('button,input')) return; start(e.clientX, e.clientY) }}diff --git a/frontend/src/index.css b/frontend/src/index.cssindex 3556f6820..4bd7ad093 100644--- a/frontend/src/index.css+++ b/frontend/src/index.css@@ -249,7 +249,7 @@ h4.sec{none of the shrink — a long value would otherwise take the whole row and squeeze the titleto 21px. A basis of 45% fixes that but reserves the space even for "3", costing the title141px on the rows that need it most. A cap does neither. */-.lrow-v{color:var(--label-2);font-size:17px;letter-spacing:-.012em;flex:0 1 auto;max-width:45%;min-width:0;+.lrow-v{color:var(--label-2);font-size:17px;letter-spacing:-.012em;flex:0 1 auto;max-width:55%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}.lrow-c{color:var(--label);font-size:15px;flex:none;--icon-stroke:2.4}.lrow-k{color:var(--acc);font-size:17px;flex:none;--icon-stroke:2.4}@@ -540,8 +540,13 @@ body.chips-dragging *{cursor:inherit}.seg button .icn{font-size:16px}.seg button:not(.on){color:var(--label-2);font-weight:400}.seg button:active{opacity:.5}-/* sitting in a list row: shrink to content instead of filling the row */-.seg-inline{flex:none;min-width:132px}+/* sitting in a list row: shrink to content instead of filling the row. The control never+ shrinks below its labels, so a row whose title and control do not both fit — most translated+ packs at 390px: "Übungs-Animationen" against "Voll · Klein · Aus" — wraps the control onto its+ own line under the title instead of painting it over the title. */+.seg-inline{flex:none;min-width:132px;max-width:100%;margin-left:auto}+.lrow:has(.seg-inline){flex-wrap:wrap}+.lrow:has(.seg-inline) .lrow-m{min-width:min(150px,100%)}.seg-range{margin-bottom:10px}.seg-inline button{padding:5px 10px;font-size:13px;min-height:28px}.seg-inline button .icn{font-size:14px}@@ -1147,7 +1152,9 @@ body.chips-dragging *{cursor:inherit}.today-row .lbl2{font-size:11px;font-weight:500;letter-spacing:.03em;text-transform:uppercase;color:var(--label-3)}.today-row .ttl{font-weight:500;font-size:17px;line-height:1.25;text-transform:capitalize;- letter-spacing:-.012em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px;+ letter-spacing:-.012em;margin-top:2px;+ /* two lines before the ellipsis: "Leg Day — in progress" grows past one line in hu/tr/th/pt-BR */+ display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;}/* Only where a pointer really hovers — on a phone :hover sticks to the row after the tap.diff --git a/frontend/src/lib/import-csv.js b/frontend/src/lib/import-csv.jsindex 73ecc94cb..a53991f8e 100644--- a/frontend/src/lib/import-csv.js+++ b/frontend/src/lib/import-csv.js@@ -158,7 +158,7 @@ function buildIndex() {// canonical barbell version, which is what these apps assume when they show it to you.// Extending this table is the intended way to improve import accuracy.const ALIAS_EX = {- 'bench press': '0025', 'barbell bench press': '0025', 'flat bench press': '0025',+ 'bench press': '0025', 'barbell bench press': '0025', 'flat bench press': '0025', 'flat barbell bench press': '0025','incline bench press': '0047', 'decline bench press': '0033','close grip bench press': '0030', 'close-grip bench press': '0030',squat: '0043', 'back squat': '0043', 'barbell squat': '0043', 'front squat': '0042',diff --git a/frontend/src/sheets.jsx b/frontend/src/sheets.jsxindex 520c1ca6e..c76ef5f9e 100644--- a/frontend/src/sheets.jsx+++ b/frontend/src/sheets.jsx@@ -648,7 +648,7 @@ function ExerciseDetail({ ex, close }) {{(ex.secondaries?.length ? ex.secondaries : smOf(ex)).slice(0, 3).map((s, i) => <span key={i} className="tag">{t(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 }}>diff --git a/frontend/src/views/Stats.test.js b/frontend/src/views/Stats.test.jsindex c0ce185f7..50f5ec758 100644--- a/frontend/src/views/Stats.test.js+++ b/frontend/src/views/Stats.test.js@@ -36,7 +36,7 @@ describe('Stats mixed-entry metric contract', () => {expect(uiSource).toContain("className={stackedValue ? 'lrow-stack-value' : ''}")expect(cssSource).toContain('.lrow.lrow-stack-value .lrow-m{grid-column:1;grid-row:1}')expect(cssSource).toContain('.lrow.lrow-stack-value .lrow-v{grid-column:1;grid-row:2;width:100%;max-width:none;text-align:left}')- expect(cssSource).toContain('flex:0 1 auto;max-width:45%;min-width:0;')+ expect(cssSource).toContain('flex:0 1 auto;max-width:55%;min-width:0;')expect(cssSource).toContain('overflow:hidden;text-overflow:ellipsis;white-space:nowrap')})})