diff --git a/CHANGELOG.md b/CHANGELOG.md index afabb5f..b3af11d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,43 @@ # Changelog +## v1.2.3 โ€” 2026-07-31 + +How hard a set was, in whichever of the two scales you already think in โ€” and the ratings your +old app recorded come across with the rest of your history. + +### Effort per set: RIR or RPE (#21) + +- ๐ŸŽฏ **A third column on a working set, off by default.** Settings โ†’ *Effort per set* switches + it between **Off**, **RIR** and **RPE**. It only appears on weighted rep sets: a plank or a + treadmill row has nowhere to put it. +- **Two names for the same judgement.** RIR counts the reps you left in the tank; RPE reads the + same effort off a 10-point scale, so RPE โ‰ˆ 10 โˆ’ RIR. The setting has an (i) that lays the two + scales side by side in a conversion table rather than explaining them in a paragraph. +- **Each set keeps the scale it was logged with.** Switching the setting changes what new sets + ask for and nothing else โ€” history is never silently rewritten, and a set logged as RIR 2 + still reads back as RIR 2 years later. +- **An unrated set stays unrated.** Blank and 0 are different things: RIR 0 says the set went to + failure. So `โˆ’` on an untouched cell leaves it empty, `+` starts at the bottom of the scale + and walks up in even steps, and stepping back off the bottom clears the cell again โ€” a mistap + is always undoable. +- **Nothing else reads the value.** Progression rules and estimated 1RM are unaffected; the + rating is yours to look at, not an input to the maths. +- Upgrading keeps the column you had: a profile still carrying the old `showRir` flag โ€” from + this device, a sync, or a backup restored later โ€” comes across as RIR. + +### Import brings your ratings with it + +- ๐Ÿ“ฅ **The RPE Hevy and Strong export is no longer dropped.** An `RPE` column is read into the + set, as is an `RIR` column if a file has one, and the import summary says how many sets + arrived with a rating โ€” plus where to switch the column on if it's off. +- A blank cell stays unrated rather than becoming 0. A written-out `0` counts as a rating on the + RIR scale (a set to failure) but not on RPE, which starts at 1 โ€” apps write 0 there to mean + "nothing here", and reading it as an effort would stamp one on every unrated set in the file. +- Ratings above the scale are capped instead of thrown away, and junk in the column is ignored + without losing the set. +- Backups already carried both fields and the setting, since a backup is the whole state โ€” there + are now tests pinning that, so it can't quietly stop being true. + ## v1.2.2 โ€” 2026-07-25 Training that moves on its own: an exercise can now be logged by time instead of reps, the diff --git a/README.md b/README.md index aa9eb4e..db09f8e 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ as a home-screen app, passkey sign-in, offline support, sync across your phone a - โฑ๏ธ **Timed exercises** โ€” planks, hangs, wall sits and loaded carries are logged by time, not reps, with a work timer that counts the set itself (separate from the rest timer) and logs the time you actually held. They can carry weight too - ๐Ÿ“ˆ **Progression that follows a rule** โ€” pick one per routine, override it per exercise: linear, **Greyskull LP** (AMRAP top set, double jumps, 10 % resets), double progression through a rep range, or adding time. Your weights are already right when the session opens, and every target says *why* it's that number. Missed reps never advance the load, stalls trigger a deload, and bodyweight exercises progress in reps instead - ๐Ÿ’ช **Estimated 1RM** โ€” per exercise, from your best eligible set (it names which one), with its own progress curve and a calculator for sets you haven't done. Won't guess above 12 reps +- ๐ŸŽฏ **Effort per set, in your scale** โ€” an optional third column rating how hard a set was, as **RIR** (reps left in the tank) or **RPE** (the same judgement on a 10-point scale). Off by default; each set keeps the scale it was logged with, and nothing else reads the value โ€” your progression and 1RM are unaffected - ๐Ÿƒ **Cardio** โ€” log time + speed, not just weight ร— reps - ๐Ÿ“ค **Share a plan** โ€” send someone your routines and week schedule as a small file (no workouts, no weigh-ins), or print it as a clean PDF. Importing merges, so their plan is never overwritten - ๐Ÿ”ง **Filter by equipment** โ€” narrow the library to what you actually own; the options adapt to what you've picked, so every combination on screen has results behind it @@ -162,7 +163,8 @@ Rough, community-driven โ€” ideas and PRs welcome: - [x] Estimated 1RM per exercise - [ ] Percentage / training-max programming (5/3/1-style) on top of the progression engine - [ ] More starter plans (upper/lower, full-body, 5ร—5) -- [x] Importers from FitNotes / Strong / Hevy, and body weight from Apple Health +- [x] Importers from FitNotes / Strong / Hevy (including the RPE they record), and body weight from Apple Health +- [x] Effort per set โ€” RIR or RPE, whichever scale you think in - [ ] Body measurements (waist, armsโ€ฆ) alongside weight - [ ] Per-exercise notes & plate calculator - [ ] Exercise instructions in German & Portuguese (UI is translated; upstream dataset doesn't ship these yet) diff --git a/api/package.json b/api/package.json index 9493996..c37b323 100644 --- a/api/package.json +++ b/api/package.json @@ -1,6 +1,6 @@ { "name": "gym-api", - "version": "1.2.2", + "version": "1.2.3", "private": true, "type": "module", "main": "server.js", diff --git a/frontend/android/app/build.gradle b/frontend/android/app/build.gradle index 25a8258..ef31492 100644 --- a/frontend/android/app/build.gradle +++ b/frontend/android/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "ch.duartesantos.opengym" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 3 - versionName "1.2.2" + versionCode 4 + versionName "1.2.3" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 530e77f..99a59f7 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "opengym-frontend", - "version": "1.2.2", + "version": "1.2.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "opengym-frontend", - "version": "1.2.2", + "version": "1.2.3", "license": "AGPL-3.0-or-later", "dependencies": { "@capacitor/core": "^7.6.8", diff --git a/frontend/package.json b/frontend/package.json index dd4aa74..191e29f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "opengym-frontend", "private": true, - "version": "1.2.2", + "version": "1.2.3", "type": "module", "scripts": { "dev": "vite", diff --git a/website/index.html b/website/index.html index 83f090e..3d7dc3f 100644 --- a/website/index.html +++ b/website/index.html @@ -75,7 +75,8 @@
๐Ÿงฎ

Estimated 1RM

Per exercise, from your best eligible set โ€” and it names which one. Won't guess above 12 reps.

๐Ÿ”—

Supersets & cardio

Pair exercises back-to-back with one rest, and log time + speed where weight ร— reps makes no sense.

๐Ÿ“ค

Share a plan

Send someone your routines as a small file โ€” no workouts, no weigh-ins โ€” or print it as a clean PDF. Importing merges, never overwrites.

-
๐Ÿ“ฅ

Bring your history

Import from FitNotes, Strong, Hevy โ€” or body weight straight out of an Apple Health export.

+
๐ŸŽฏ

Effort per set

Rate a set as RIR or RPE โ€” whichever scale you already think in. Optional, and every set keeps the scale it was logged with.

+
๐Ÿ“ฅ

Bring your history

Import from FitNotes, Strong, Hevy โ€” including the RPE they recorded โ€” or body weight straight out of an Apple Health export.

๐ŸŒ

12 languages

Full UI translation, exercise instructions in 10 languages, loaded on demand.

๐Ÿ”‘

Passkeys, not passwords

Self-hosted profiles sign in with Face ID / fingerprint. Each person's data stays their own.

๐ŸŽจ

Designed, not assembled

Light & dark themes, 8 accent colors, a hand-drawn icon set. Looks the same on every phone.