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
Exercise animations start at Small for new profiles; existing ones keep theirs
Duarte Santos551d2b481080
diff --git a/frontend/src/store/useStore.js b/frontend/src/store/useStore.jsindex 0c99ea057..cfb2e2a8f 100644--- a/frontend/src/store/useStore.js+++ b/frontend/src/store/useStore.js@@ -217,6 +217,9 @@ export function freshState() {s.lang = detectedLang()s.langAuto = trues.weighIn = false+ // Exercise animations: Small (v1.3.11), a thumbnail beside the exercise name that a tap opens,+ // so the first set is on screen without scrolling. DEF stays 'full' for a profile saved before.+ s.gifSize = 'mini'return s}diff --git a/frontend/src/store/useStore.weighin-default.test.jsx b/frontend/src/store/useStore.weighin-default.test.jsxindex 188162493..1fe34a1da 100644--- a/frontend/src/store/useStore.weighin-default.test.jsx+++ b/frontend/src/store/useStore.weighin-default.test.jsx@@ -23,3 +23,15 @@ describe('weigh-in default', () => {expect(off.weighIn).toBe(false)})})++describe('exercise animations default', () => {+ it('a fresh profile starts with Small animations, the thumbnail on the workout screen', () => {+ expect(freshState().gifSize).toBe('mini')+ })++ it('DEF keeps Full, so an existing profile without the key is not changed under it', () => {+ expect(DEF.gifSize).toBe('full')+ const S = restoredStateFor({ workouts: [], routines: [], bodyweight: [], customEx: [] }, { workouts: [{ id: 'w1' }], routines: [] })+ expect(S.gifSize).toBe('full')+ })+})