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
Widget snapshot: only the words the widgets show
Duarte Santos942fa81e9aae
diff --git a/frontend/src/lib/widgets.js b/frontend/src/lib/widgets.jsindex f583380fd..9f4b367a6 100644--- a/frontend/src/lib/widgets.js+++ b/frontend/src/lib/widgets.js@@ -117,9 +117,6 @@ export function buildWidgetSnapshot (S, { today = todayISO() } = {}) {lastPR: t('Last PR'),done: t('Done'),running: t('Workout running'),- exercises: t('{0} exercises', days[0].count),- sets: t('Sets'),- start: t('Start workout'),},}}diff --git a/frontend/src/lib/widgets.test.js b/frontend/src/lib/widgets.test.jsindex 9af0b3bce..e59279a54 100644--- a/frontend/src/lib/widgets.test.js+++ b/frontend/src/lib/widgets.test.js@@ -70,7 +70,7 @@ describe('buildWidgetSnapshot', () => {expect(snap.accent).toBe('#0a84ff')expect(snap.ink).toBe('#ffffff')expect(buildWidgetSnapshot(S({ accent: 'custom', accentCustom: '#123456' }), { today: TODAY }).accent).toBe('#123456')- for (const k of ['today', 'restDay', 'upNext', 'thisWeek', 'weekStreak', 'streak', 'lastPR', 'done', 'running', 'exercises', 'sets', 'start']) {+ for (const k of ['today', 'restDay', 'upNext', 'thisWeek', 'weekStreak', 'streak', 'lastPR', 'done', 'running']) {expect(typeof snap.labels[k], k).toBe('string')}const thin = buildWidgetSnapshot({}, { today: TODAY })