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
Icons: Weight unit keeps the scale and Speed unit the runner, as in the mockup
Duarte Santos31367b8a47c7
diff --git a/frontend/src/views/Settings.jsx b/frontend/src/views/Settings.jsxindex abf17b40a..3b4985374 100644--- a/frontend/src/views/Settings.jsx+++ b/frontend/src/views/Settings.jsx@@ -616,7 +616,7 @@ export default function Settings({ page = null, find = null }) {</>}</Section><Section footer={t('Switching the unit offers to convert every stored weight.')}>- <Row icon="ruler" iconTint="var(--teal)" title={t('Weight unit')}>+ <Row icon="scale" iconTint="var(--teal)" title={t('Weight unit')}><Segmented className="seg-inline"options={[{ value: 'kg', label: 'kg' }, { value: 'lb', label: 'lb' }]}value={S.unit} onChange={v => switchUnit(v)} />@@ -632,7 +632,7 @@ export default function Settings({ page = null, find = null }) {{/* Cardio speed (Discord "miles per hour"). Unlike the weight unit this converts nothing:speeds stay stored in km/h and only what is shown and typed follows it (lib/speed.js).Until chosen it follows the weight unit, so a profile in pounds already reads mph. */}- <Row icon="ruler" iconTint="var(--teal)" title={t('Speed unit')}>+ <Row icon="figureRun" iconTint="var(--teal)" title={t('Speed unit')}><Segmented className="seg-inline"options={[{ value: 'kmh', label: 'km/h' }, { value: 'mph', label: 'mph' }]}value={speedUnitOf(S)} onChange={v => update(s => { s.speedUnit = v })} />diff --git a/frontend/src/views/settings-pages.js b/frontend/src/views/settings-pages.jsindex 1996209e8..b2cf6b4ef 100644--- a/frontend/src/views/settings-pages.js+++ b/frontend/src/views/settings-pages.js@@ -78,9 +78,9 @@ export const SEARCH = [{ page: 'units', title: 'Language', icon: 'globe', tint: 'var(--blue)', kw: 'language translation idioma sprache langue lingua' },{ page: 'units', title: 'English exercise names', icon: 'globe', tint: 'var(--purple)', kw: 'exercise names english translation', when: c => c.nameLang },{ page: 'units', title: 'English names only', icon: 'globe', tint: 'var(--purple)', kw: 'exercise names english translation', when: c => c.nameLang },- { page: 'units', title: 'Weight unit', icon: 'ruler', tint: 'var(--teal)', kw: 'kg lb lbs pounds kilos kilograms unit' },+ { page: 'units', title: 'Weight unit', icon: 'scale', tint: 'var(--teal)', kw: 'kg lb lbs pounds kilos kilograms unit' },{ page: 'units', title: 'Weight decimals', icon: 'ruler', tint: 'var(--teal)', kw: 'decimals precision microplates rounding' },- { page: 'units', title: 'Speed unit', icon: 'ruler', tint: 'var(--teal)', kw: 'speed mph kmh km/h miles cardio' },+ { page: 'units', title: 'Speed unit', icon: 'figureRun', tint: 'var(--teal)', kw: 'speed mph kmh km/h miles cardio' },// Equipment{ page: 'equipment', title: 'Plates', icon: 'plate', tint: 'var(--orange)', kw: 'plates bar plate math barbell' },{ page: 'equipment', title: 'Filter by equipment', icon: 'kettlebell', tint: 'var(--green)', kw: 'equipment filter home gym', when: c => c.profiles },