Commit Graph
100 Commits
Author SHA1 Message Date
Duarte Santos 113e7ef755 Set rows with an effort column on narrow phones: the same squeeze on a plain row — the list view clipped a two-digit reps number at 368 px (#235) 2026-09-17 11:35:43 +02:00
Duarte Santos 10b9598af4 One-sided rows with an effort column: the reps number is visible again on narrow phones — the stepper buttons had taken the whole cell at 368 px (#235) 2026-09-17 11:34:44 +02:00
Duarte Santos 69fd4a8344 List view opens at the current exercise instead of the top of the session (#224) 2026-09-17 11:32:31 +02:00
Duarte Santos a41b0ca60f Rest-over alert: follow the Push switch — it fired with notifications off, asked for the permission by itself and repeated its title in the body (#239) 2026-09-17 11:31:07 +02:00
Duarte Santos 5007b05504 Merge #207: fix: classify audited Olympic lift families across primary muscles (Space-Hermes) 2026-09-17 11:29:46 +02:00
Duarte Santos a98fb4d791 Merge #210: fix: preserve weight units when sharing and importing plans (Space-Hermes) 2026-09-17 11:29:44 +02:00
Duarte Santos 1849fc8c5f Merge #220: Heatmap: follow the profile's week-start setting (aaron-rai) 2026-09-17 11:29:42 +02:00
Duarte Santos 394f6d545a Merge #206: fix: tolerate minor typos in longer exercise search words (Space-Hermes) 2026-09-17 11:29:40 +02:00
Duarte Santos dc9f5d6a1a Merge #185: web: an unknown path redirects to the root instead of serving a shell that cannot load (kurktchiev) 2026-09-17 11:29:37 +02:00
Duarte Santos 5eeec2a52a Merge #184: fix: fetch the manifest with cookies, and tell self-hosters behind an auth proxy what to exempt (iOS Home Screen icon) (kurktchiev) 2026-09-17 11:29:35 +02:00
Duarte Santos 236492b78c Merge #208: test: use local calendar dates in the Coach daily-cap fixture (Space-Hermes) 2026-09-17 11:29:33 +02:00
Duarte Santos a68a88d2da Roadmap: a release every two weeks — fifteen dated milestones from v1.3.8 (promised items, 2026-09-27) through v1.4.7 (2027-04-18), v1.4.0 is the database 2026-09-13 13:31:45 +02:00
Duarte Santos b30526e0e5 Roadmap: v1.3.8 promised items and history editing, v1.3.9 programmes, v1.4.0 the foundation (database + search), v1.4.1 accounts, v1.4.2 the iOS app, v1.4.3 what they unlock; milestones live on GitHub now 2026-09-13 13:23:45 +02:00
Duarte Santos d8d7257d35 Website: underline the demo-note link, 480 px WebP variant for phones, ?v=19
Lighthouse desktop flagged the one in-text link that relied on colour alone;
the hero and rail images gain a 480w candidate so a 2× phone no longer
downloads the 600w file.
2026-09-13 13:14:40 +02:00
Duarte Santos 975c9f440b Website: v1.3.7 screenshots, WebP delivery, social card, skip link, idle API lookups
- Screenshots retaken from the v1.3.7 demo build (the old set still showed the
  pre-1.3.3 workout screen with its button rows). The five phone images are now
  served through <picture> as WebP at 600/1170 px with the PNG as fallback; the
  hero image is preloaded. website/build-images.sh produces img/ from assets/.
- og:image on every page is a 1200×630 card (assets/social.jpg) with width,
  height and alt; robots meta with max-image-preview:large; preconnect to the
  analytics host; SoftwareApplication JSON-LD carries version, dates,
  screenshots and a feature list.
- Every page starts with a Skip-to-content link and the content sits in
  <main id="main">; scroll reveals are also disabled for print.
- The GitHub and Discord counters wait for requestIdleCallback instead of
  racing the hero image. Cache-bust ?v=18. llms.txt names GitHub as the home.
- robots.txt, sitemap.xml and llms.txt now live in website/ so the site is
  fully regenerable from the repo.
2026-09-13 13:13:02 +02:00
Duarte Santos d7f0f0dbdb v1.3.7: the Android build builds again (a double dash inside an XML comment in styles.xml broke v1.3.6's APK), plus the iPhone timer-sound fix (#183) 2026-09-12 23:31:21 +02:00
Duarte Santos 5a8873b919 Changelog: the iOS timer-sound fix (#183) as the first entry for v1.3.7 2026-09-12 23:29:04 +02:00
Duarte Santos 33f4758a1c Merge #183: iOS timer sounds — the context resumes before every tone, unlocks from the tap, and a setting plays sounds on silent; #152 (kurktchiev)
# Conflicts:
#	frontend/src/lib/pt-br-locale.test.js
#	frontend/src/locales/de.js
#	frontend/src/locales/es.js
#	frontend/src/locales/fr.js
#	frontend/src/locales/hi.js
#	frontend/src/locales/hu.js
#	frontend/src/locales/it.js
#	frontend/src/locales/ko.js
#	frontend/src/locales/pl.js
#	frontend/src/locales/pt-BR.js
#	frontend/src/locales/pt.js
#	frontend/src/locales/ru.js
#	frontend/src/locales/th.js
#	frontend/src/locales/tr.js
#	frontend/src/locales/zh.js
2026-09-12 23:29:04 +02:00
Duarte Santos 6a8d2288ae Website docs: sync between devices, offline mode, where push works and the reminder catch-up (v1.3.6) 2026-09-12 23:14:00 +02:00
Duarte Santos 32111dcad3 v1.3.6: sync you can trust (server revisions, sign-in adopts the profile, polling, offline mode), self-healing push, the phone fixes, the Astra findings, eleven community merges 2026-09-12 23:11:27 +02:00
Duarte Santos 631d01b1b2 After the merges: four combine-routines / custom-exercise strings in all 14 packs, the de-CH number test accepts either Swiss apostrophe (ICU versions differ), changelog for the merged PRs and MRs 2026-09-12 22:58:25 +02:00
Duarte Santos 020b7f4477 Merge !135: Coach job directory permissions without CAP_DAC_OVERRIDE (T13o)
# Conflicts:
#	api/coach/jobs.js
2026-09-12 22:55:26 +02:00
Duarte Santos 86f28acb17 Merge !133: per-side data preserved across progression and session flows (ErrorUsernameAlreadyTaken)
# Conflicts:
#	frontend/src/lib/history.js
2026-09-12 22:55:11 +02:00
Duarte Santos f472f37c3d Merge !120: the equipment filter survives a body-part change in the exercise picker, #150 (ErrorUsernameAlreadyTaken) 2026-09-12 22:54:14 +02:00
Duarte Santos f7e69ac6df Merge !118: plan sharing prints as PDF on the mobile app, #149 (HenryByte)
# Conflicts:
#	frontend/ios/App/App.xcodeproj/project.pbxproj
2026-09-12 22:54:14 +02:00
Duarte Santos 8266cca1ad Merge !110: nginx resolver configurable so /api works outside Docker, #148 (T13o)
# Conflicts:
#	web/nginx.conf.template
2026-09-12 22:53:45 +02:00
Duarte Santos 7b9c54bc7f Merge #162: custom exercise improvements — equipment, muscle names, cardio target (LuckaPow)
# Conflicts:
#	frontend/src/index.css
2026-09-12 22:53:22 +02:00
Duarte Santos 2240499793 Merge #174: a switch to skip the weigh-in when a workout starts, #137 (kurktchiev)
# Conflicts:
#	frontend/src/lib/pt-br-locale.test.js
2026-09-12 22:52:39 +02:00
Duarte Santos 6c8bc51d18 Merge #164: a per-exercise rest for warm-up ramp sets, warmupRestSec (kurktchiev) 2026-09-12 22:52:15 +02:00
Duarte Santos e36a1222a1 Merge !125: iOS deployment target 15.5 (thedandano) 2026-09-12 22:52:15 +02:00
Duarte Santos 1977a6427b Merge #117: iOS adopts the UIScene lifecycle for Xcode 26+ / iOS 26+ (shailantani) 2026-09-12 22:52:15 +02:00
Duarte Santos c385025385 Merge #171: de-CH as a derived locale (mkoester) 2026-09-12 22:52:15 +02:00
Duarte Santos 4f77c2b4bc Merge #182: README image reference back to GitHub (andi242) 2026-09-12 22:52:15 +02:00
Duarte Santos b1d79d54c7 Service worker: the shell and the built assets are precached at install and the copy for the cache is cloned before the page reads the response (it was cloned too late and never stored, so an offline reload of the home-screen app failed); the cache is named after the build; starting the app offline raises the offline line at once 2026-09-12 22:20:48 +02:00
Duarte Santos 14c454f5c1 The "back online" toast fires on the real reconnect path: the pull that runs first cleared the offline flag before the owed push looked at it 2026-09-12 21:56:15 +02:00
Duarte Santos 826432a3a2 Signed in, the server's profile is the truth: sign-in and pairing adopt it and ask once about workouts logged while signed out (Add them / Keep profile as is); the app polls the revision every 30 s and on every resume (GET /api/data/rev) and fetches only what moved; offline and unsynced states show a banner, retry on reconnect and confirm with a toast; pagehide flushes a pending change 2026-09-12 21:51:36 +02:00
Duarte Santos 28a068b8f0 Changelog: the #175/#172 bullets were listed twice 2026-09-12 21:32:02 +02:00
Duarte Santos b5e0388364 Progression adds its step the way a stepper tap does — 397 lb + 10 lb is 407, not the grid's 410 (#175); the service worker closes the previous notification with the same tag so rest-timer alerts do not pile up on iOS (#172) 2026-09-12 21:31:05 +02:00
Duarte Santos bff87930d8 Progression adds the step the way a stepper tap does — a weight off the increment grid keeps its offset (397 + 10 = 407, not 410; #175); the service worker closes the previous notification of the same kind before showing the next (#172) 2026-09-12 21:21:13 +02:00
Duarte Santos 06f1c007a7 Chip rows: the chips' enlarged tap area gave the 32px strip a 36px scroll height, so a diagonal swipe or a wheel tick shifted the whole row up 4px and left it there — the slop is clipped to the strip vertically 2026-09-12 21:08:40 +02:00
Duarte Santos 35c810a663 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 2026-09-12 13:41:13 +02:00
Duarte Santos 33be28b8e6 Workout QA: the per-side set number is a real button again, a unilateral set's volume is each side's weight × reps, timed and cardio sets from older data read as time again, finish summary tiles stay 2×2 in the dialog on desktop, exercise names in menu titles and toasts are capitalised (Kg no longer is) 2026-09-12 13:37:59 +02:00
Duarte Santos 88a1c317e5 Docs: where push works (iOS only from the Home Screen, the APK uses local notifications), the 15-minute catch-up and the self-healing subscription 2026-09-12 13:28:06 +02:00
Duarte Santos e7a63a593f Changelog: the 2026-09-12 bug round (sync revisions, push catch-up and self-healing subscriptions, chip rows, safe-area sheets, tab bar, Astra findings, locales) 2026-09-12 13:26:59 +02:00
Duarte Santos c2adb17511 Locales: the seven UI strings that landed with combine routines, the layout switch and the 1RM deload were in no pack (they showed in English in every language); pt-BR guard 635/639 2026-09-12 13:26:59 +02:00
Duarte Santos 477fc07f8b Push: reminders owed within 15 minutes still arrive, the subscription heals itself on every boot, rest-timer alerts belong to the device that started the rest
- reminder tick: a due reminder is sent for up to 15 minutes after its time (once per local
  date) instead of only on the exact minute — a restart across that minute used to lose the day;
  state files are stat'ed and re-read only when they changed
- sendPush prunes 403 (stale VAPID key) like 404/410; optional device targeting
- POST /api/push/subscribe is an upsert that keeps created and stores a deviceId;
  GET /api/push/status says whether the server holds an endpoint
- rest timers keyed per user+device; cancel without a device id keeps the old account-wide
  behaviour
- sw.js: payload parsed inside waitUntil (never a silent push), pushsubscriptionchange
  re-subscribes and registers the new endpoint
- lib/push.js: syncPushSubscription() (called once per signed-in boot from App.jsx and when
  Settings opens) re-registers a lost row, replaces a subscription made against another key,
  pushSupported() is false off https; deviceId() per browser
- Settings: the notifications switch shows what the server holds
- tests: server-reminder (window, dedupe, trained day), server-push-status (upsert, status,
  per-device timers), lib/push.test.js
2026-09-12 13:18:29 +02:00
Duarte Santos c92cfc372a sync: pushes are conditional on the revision this device last saw and a refused push merges both copies (lib/sync-merge.js — no workout, routine or weigh-in is dropped, the newer copy decides settings); the store pulls when the tab, window, app or network comes back, one push and one pull at a time, and nothing pushes before boot has pulled 2026-09-12 13:15:48 +02:00
Duarte Santos 5276f9714a api: /api/data carries a server revision — GET hands it out, a PUT with a stale baseRev answers 409 with the current document instead of overwriting another device's write; clients without baseRev keep overwriting as before 2026-09-12 13:15:48 +02:00
Duarte Santos d58a98e768 Phone layout: chip strips no longer scroll the page, sheets stop short of the Dynamic Island, tab bar stays at the bottom after the keyboard
- useRevealActiveChip sets the strip's own scrollLeft instead of scrollIntoView, which
  walked every scrollable ancestor and jumped the page when the strip sat above the fold;
  .chips contain overscroll on both axes.
- Every .sheet cap (and .center) carries env(safe-area-inset-top); the dead
  -webkit-overflow-scrolling is gone.
- viewport-guard: with the keyboard down and the page displaced, a text field that kept
  focus (WebKit does not blur on button taps) is blurred and the correction runs; while
  Modals has the body pinned it unpins for one scroll and pins back where it was.
  Modals blurs a page field when a sheet opens; ticking a set blurs the row's input.
- Android: shortEdges cutout mode so --sat is real, adjustResize for the keyboard.
2026-09-12 13:11:17 +02:00
Duarte Santos 413bce5bf8 Merge !119: drag a horizontal chip strip to scroll it on a pointer device (HenryByte, #147) 2026-09-12 13:05:21 +02:00
Duarte Santos 124eda6890 Merge !121: tighten mobile workout bottom scroll (mflova) 2026-09-12 13:05:21 +02:00
Duarte Santos 3b51f7acce Merge #166: the twelve Astra findings (#160) — api, built-in Coach, frontend, nginx (kurktchiev) 2026-09-12 13:04:24 +02:00
Duarte Santos 38a0b52e36 Mirror to GitLab from GitHub Actions; docs: GitHub is home, GitLab the mirror
A push to main or a v* tag on GitHub is forwarded to gitlab.com by a workflow, fast-forward
only, main before the tags so the tag pipeline finds its commit on main. Pull mirroring on
gitlab.com is paid, so the push runs from this side; it needs a project token with the single
scope write_repository (Maintainer role, for the protected main and v*) as the secret
GITLAB_MIRROR_TOKEN, handed to git through a credential helper rather than a URL.

README, CONTRIBUTING, MOBILE and the changelog now say what the site says: issues and pull
requests on GitHub, the GitLab mirror only for the CI that builds the release artefacts, the
merge requests still open there reviewed until they are through.
2026-09-11 11:58:39 +02:00
Duarte Santos 0c18a808ce Site: GitHub is home again, GitLab a mirror
Nav, footer, the Elsewhere pads and every deep link point at github.com; GitLab keeps a pad
and a footer link as the mirror whose CI signs the APK. Stars, forks, issues and the About
timeline come from api.github.com again (new cache keys so a warm GitLab-era entry is not
misread). The dead-pad rules from the suspension weeks are gone. Cache-bust 17.
2026-09-11 11:58:39 +02:00
Duarte Santos 265bbc83f5 GitHub Actions: install the api's dependencies before its tests; GHCR tags follow the GitLab registry
The api job ran npm test on a bare checkout. That was fine while the Coach tests needed
nothing, but api/coach/node-fetch.js imports undici now, so the first run after the return
to GitHub failed on ERR_MODULE_NOT_FOUND. Same install as test:api on GitLab.

docker-publish used to put latest on every main push, and — because a release run also
evaluated is_default_branch as true — on every release too; publishing thirteen releases at
once left latest on whichever build finished last. Now a release publishes X.Y.Z, X.Y and
latest, a main push publishes edge only, exactly like registry.gitlab.com.
2026-09-11 11:20:52 +02:00
Duarte Santos 53b46fde14 Docs: openGym is back on GitHub — both repos carry the same history, releases and images
The README, CONTRIBUTING, MOBILE and SELF_HOSTING pages said the GitHub repo was offline and
GitLab was the only home. The account is back: GitHub gets the tags, the releases v1.2.9 to
v1.3.5 with APK and checksum, the GHCR images and the Pages demo; GitLab keeps its CI, issues
and merge requests. Links now name both, the pages.yml comment no longer calls itself dormant.
2026-09-11 11:16:51 +02:00
Duarte Santos 365b4e0295 Merge the README sponsor commits made on GitHub on 2026-08-18 (content already on main) 2026-09-11 11:15:42 +02:00
Duarte Santos b4f8bdf2fc CI: build the signed APK on every main push, and a build:ios job that waits for a Mac runner
build:apk was a manual job on main since it cost ~8 shared-runner minutes; the project runner
on the VM pays for it now, so every main push produces the APK (same key as the release,
artifact at /-/jobs/artifacts/main/browse?job=build:apk) and a broken Android build is caught
before the tag. Merge requests keep the manual button.

build:ios: mobile bundle + xcodebuild archive without a signing identity → unsigned .ipa
(AltStore/Sideloadly), tag builds also into the generic package registry opengym-ios/<ver>/.
Only exists once IOS_RUNNER_TAG names a registered Mac runner; untested until then.
2026-09-10 14:48:57 +02:00
Duarte Santos acff80348f OpenAI model filter: fall back to the whole list when nothing in it looks like a chat model (the e2e stand-in serves model-a/model-b) 2026-09-07 21:02:36 +02:00
Duarte Santos bf9764e3a2 Settings: an Updates section as the last thing on the page (check and install on Android, APK link on the web); changelog for the merged MRs
The deload-demo.html page from !103 does not ship: frontend/public/ lands in every dist.
2026-09-07 19:45:19 +02:00
Duarte Santos 637e32a904 merge fix-ups: close the test blocks the !102/!103 seams left open 2026-09-07 19:41:50 +02:00
Duarte Santos b4feea6a2e Merge !102: Workout view: Allow multiple routines 2026-09-07 19:40:31 +02:00
Duarte Santos 6b2eb4a797 Merge !100: feat(workout): add a "compact" layout and a per-session ⋮ switcher 2026-09-07 19:39:06 +02:00
Duarte Santos 1680465ca2 Merge !105: improvements for qr code check-in feature 2026-09-07 19:38:15 +02:00
Duarte Santos 30e91cd06a Merge !107: feat(checkin): track one-sided exercises per side (L/R) 2026-09-07 19:38:14 +02:00
Duarte Santos 22d093d742 Merge !73: Swipe-to-delete: routine exercises and warm-up sets 2026-09-07 19:37:22 +02:00
Duarte Santos d41049defe Merge !106: feat/auto-end set when setting RIR/RPE 2026-09-07 19:37:22 +02:00
Duarte Santos 6d2b22da63 Merge !103: feat: use Epley-based targets for automatic deloads 2026-09-07 19:37:22 +02:00
Duarte Santos f940c378be Merge !101: Detecting progress instead of stall 2026-09-07 19:37:04 +02:00
Duarte Santos d0aaa7205d Coach: a failed run on the phone says why, a message with no plan asks for one, the chat has context
- Phone with own key: the provider's or validator's reason reaches the chat line and toast
  (BYOK_ERRORS + jobErrorText); no more "instance owner" wording where there is none (#58)
- CoachChat: a message with no routines refines/creates instead of reviewing an empty window;
  menu entry "Start a new plan" (Discord "Coach reset" thread)
- payload: refine without a previous plan becomes a create with userNote; the last six chat
  lines travel as `conversation` (documented in common.md, prompts.js regenerated)
- OpenAI model list cut to Chat-Completions models (isChatModel); Gemini placeholder names AQ. keys
- 3 new strings in 14 packs, pt-BR guard 626/616/3db560d7; tests for all of it
2026-09-07 17:05:07 +02:00
Duarte Santos 5c2005e81f iOS: the page no longer stays displaced after the keyboard goes away (tab bar mid-screen, first rows under the status bar)
Safari scrolls the page to show a focused field even with the body pinned under a sheet, and
does not always undo it when the keyboard closes — most often after "+" in the exercise picker,
where the sheet stays open and the sheet's own restore never runs. A window-level guard now
realigns the viewports once the keyboard has gone (and again after its dismiss animation), and
the sheet restore repeats itself after that animation too.
2026-09-06 17:36:45 +02:00
Duarte Santos 684b0054ad v1.3.5: own API key on the phone no longer hangs (secure-storage plugin handed to a promise as a thenable)
Every key-store call on Android stalled before it started: the Capacitor plugin proxy answers
`then` with a native method, so a promise resolving to the plugin itself never settled. Save
greyed out, key "not saved", Coach "thinking" forever (#42, #58). The plugin now travels inside
a plain object; a test drives the store through a Capacitor-style proxy. Verified on an emulator.
2026-09-06 14:31:46 +02:00
Duarte Santos 95654b4f55 website: download button says v1.3.4 2026-09-05 15:11:50 +02:00
Duarte Santos 9c7c351345 v1.3.4: effort picker restyled as a menu list, media falls back to the still or a tile instead of a broken image 2026-09-05 15:03:52 +02:00
Duarte Santos 4e015ec74d roadmap: v1.3.3 went to the workout redesign, so the planned milestones move up one patch 2026-09-05 14:38:14 +02:00
Duarte Santos 4e3377f4c3 website: download button says v1.3.3 2026-09-05 14:36:16 +02:00
Duarte Santos 80a8026a79 website: docs for the v1.3.3 workout screen, RIR picker, history, favourites, unit conversion and in-app update 2026-09-05 14:35:15 +02:00
Duarte Santos 3707a215f0 ROADMAP.md: v1.3.2 und v1.3.3 als veroeffentlicht markiert 2026-09-05 14:31:30 +02:00
Duarte Santos 078f091cfb Merge workout-clean: schlanker Workout-Screen, Farb-RIR (!91), Historie im Workout, Favoriten, In-App-Update (!40), Bugfix-Runde — v1.3.3 2026-09-05 14:28:12 +02:00
Duarte Santos 2c7009a9d7 v1.3.3 2026-09-05 14:28:12 +02:00
Duarte Santos 067302fd16 In-App-Update (!40) nachgeschaerft: Zeile nur mit APK-Asset, keine Installation ohne Pruefsumme, ein Release-Check pro App-Sitzung 2026-09-05 14:27:28 +02:00
Duarte Santos f7b664bcda Merge main (CI-Digest-Fix) into workout-clean 2026-09-05 14:26:47 +02:00
Duarte Santos 6422332b4d CI: Digest-Auslese ohne head -1 — pipefail + SIGPIPE (141) liess beide Image-Jobs des v1.3.2-Tags nach dem Push scheitern 2026-09-05 14:26:42 +02:00
Duarte Santos 370b651373 pt-BR-Guard nach den Feature-Merges (626/612) 2026-09-05 14:25:05 +02:00
Duarte Santos d021d9b5f3 Merge feat/favourites: Favoriten-Uebungen (#6)
# Conflicts:
#	frontend/src/lib/pt-br-locale.test.js
2026-09-05 14:24:24 +02:00
Duarte Santos 0797fda152 Merge feat/update-check: !40 In-App-Update auf dem Android-Build (#38, #9)
# Conflicts:
#	frontend/src/lib/pt-br-locale.test.js
2026-09-05 14:24:11 +02:00
Duarte Santos f162505549 Favoriten-Uebungen (#6): Stern im Detail-Sheet, Favoriten zuoberst im Picker, in der Bibliothek und im Muskel-Explorer
Wer eine Routine plant, scrollt sonst jedes Mal durch 1300 Uebungen zu denselben zehn.
Ein Stern im Kopf des Uebungs-Detail-Sheets (aria-label + Toast) merkt sich eine Uebung in
S.favEx — Katalog- oder eigene Ids. Das Feld reist mit dem Profil (Sync/Export), bleibt aber
bewusst aus dem geteilten Plan-Bundle draussen (lib/plan-share.js baut das Bundle nur aus
Routinen/Woche/customEx, dort war nichts zu aendern).

- lib/favourites.js: favIds/isFav/toggleFav/sortFavouritesFirst; alte Profile ohne Feld lesen
  als leer. Die Sortierung ist in beiden Haelften stabil, damit eine nach Name oder Nutzung
  sortierte Liste ihre Ordnung behaelt.
- Picker, Library, MuscleExplorer sortieren erst NACH Suche/Koerperteil/Equipment, also innerhalb
  der aktuellen Trefferliste; Favoriten tragen einen kleinen gelben Stern vor dem Namen. Der
  Akzent-Tag am Zeilenende ("Gewaehlt" = schon in Routine/Log) bleibt unveraendert und ist
  durch Position und Farbe davon unterscheidbar.
- Picker: zusaetzlicher Chip "Favoriten (n)" vor "Gewaehlt", nur sichtbar wenn es welche gibt,
  mit eigenem Leer-Hinweis; die Scope-Abfrage ist jetzt eine kleine inScope-Funktion.
- Eine geloeschte eigene Uebung faellt auch aus favEx.
- ko/ru nannten den alten "Chosen"-Filter bereits "Favoriten" — umbenannt (선택됨 / Выбранные),
  damit die zwei Chips nicht gleich heissen.
- 6 neue Strings in 14 Packs, pt-BR nur der Leer-Hinweis (toque/adicioná-lo); Fingerprint
  in pt-br-locale.test.js nachgezogen.
- Tests: lib/favourites.test.js, sheets.favourites.test.jsx (Stern + Picker-Reihenfolge +
  Chip mit echtem Store), views/Library.test.jsx (Reihenfolge + Koerperteil-Filter).
2026-09-05 14:23:30 +02:00
Duarte Santos 1f47d5015c Merge feat/history: Uebungsverlauf aus dem ⋯-Menue (#43)
# Conflicts:
#	frontend/src/sheets.jsx
2026-09-05 14:23:10 +02:00
Duarte Santos e2a34a2fee Merge !40: feat: add update check in settings
In-app update check for the Android build (closes #38, #9): Settings shows
"openGym vX available" when gitlab.com has a newer release, tapping it
downloads the APK, checks its SHA-256 and hands it to the package installer
through a small local Capacitor plugin.

Brought onto workout-clean by hand:
- Settings.jsx: the branch's switchUnit sheet and Workout-controls sheet stay,
  the MR's update state, DownloadProgress sheet and Data row come on top; the
  row keeps the branch's "Load starter plan" neighbour (starterPlanSheet).
- The row is additionally gated on MOBILE so the web bundle never asks
  gitlab.com; isAndroid() still decides between Android and iOS.
- build.gradle: the MR's `.debug` applicationIdSuffix is dropped — the branch
  already gives the debug build its own id (`.test`, with the label overlay in
  src/debug/res); git had auto-merged both blocks and Gradle silently took
  the last one.
- Locale packs: both sides kept; the progress sheet's '{0} %' / '{0} MB'
  templates now exist in every pack (fr: Mo, ru: МБ, tr: %{0}). pt-BR only
  carries the four strings whose Brazilian wording differs (baixar vs
  transferir); the identical ones inherit from pt.
- pt-br-locale.test.js: branch version, values recomputed (624/603).
- Settings.workoutview.test.jsx mocks isAndroid like the other Settings tests.
- New: update.test.js fixture with the real v1.3.1 release JSON (the checksum
  link is listed before the APK), Settings.update.test.jsx for the gating.
2026-09-05 14:22:48 +02:00
Duarte Santos 9d3178bac9 README: Funktionsliste fuer v1.3.2/v1.3.3 (Workout-Menues, Listenansicht, Farb-RIR, Historie im Workout, Favoriten, Starterplaene, Muskel-Explorer, Einheiten-Umrechnung, In-App-Update), Roadmap zeigt auf ROADMAP.md 2026-09-05 14:21:56 +02:00
Duarte Santos b0735f6cde Merge docs/roadmap into workout-clean 2026-09-05 14:21:55 +02:00
Duarte Santos fbe33600ff Workout: Uebungsverlauf mit Kurve und letzten Einheiten aus dem ⋯-Menue (#43)
Mitten im Training fehlte die Antwort auf "was habe ich hier letztes Mal und
davor gemacht" — die stand nur in Stats, drei Screens weiter weg. Das ⋯-Menue
jeder Uebung hat jetzt "Verlauf": ein Sheet mit der Kurve (bester Satz pro
Einheit, umschaltbar auf gesch. 1RM; Halten in Sekunden, Cardio in Minuten,
nie beladene Uebungen ihre Wdh.) und den letzten zehn Einheiten, neueste
zuerst, mit Saetzen, Volumen, 1RM und einem PR-Marker auf der Einheit, in
der die Bestleistung zuerst fiel. Aus dem Detail-Sheet (Bibliothek) ist es
ueber einen Button erreichbar, sobald es Verlauf gibt.

Die Ableitung liegt als reiner Helfer in lib/exercise-history.js (ein Lauf
ueber das Log, Aufwaermsaetze wie ueberall ausgeschlossen, Backfill nach
Datum sortiert) und wird im Sheet memoisiert, damit der Workout-Screen beim
Tick nicht das ganze Log neu liest und LineChart seinen Hover behaelt.
2026-09-05 14:21:21 +02:00
Duarte Santos 228f758e5e Merge main (v1.3.2) into workout-clean 2026-09-05 14:19:26 +02:00
Duarte Santos cf46301e06 v1.3.2 2026-09-05 14:18:56 +02:00
Duarte Santos 9eccb5a5c3 Merge mrbatch-0904: 17 Community-MRs plus Tester-Fixes fuer v1.3.2 2026-09-05 14:17:21 +02:00
Duarte Santos 039a280777 Warm-up-Ramp und Prescription snappen auf das Inkrement der Uebung (weightIncrement), nicht auf den Einheiten-Default — in session-start, Add-Exercise, Progression-Sheet und Swap 2026-09-05 14:16:36 +02:00
Duarte Santos 9cd4979219 ROADMAP.md: Versionsnummern nach der Release-Regel (1.3.2 … 1.3.5), Regel erklaert 2026-09-05 14:01:13 +02:00
Duarte Santos b5769b9c38 Bugfix-Runde vom Board: Coach-Speichern auf Android (#42), Baender wie Koerpergewicht (#39), Einheitenwechsel rechnet um (#22), Mitte-Tab im Workout (#29/#21), Kopie-Namen, Geister-Wochentag, Swap-Picker
- #42: "Save and use the Coach" blieb auf Android 16 grau. Der sichere Speicher wird jetzt mit
  4 s Timeout angesprochen (coach-secrets.js withTimeout), die Geraete-Einstellung wird VOR dem
  Schluessel geschrieben, und jeder Fehler landet als Toast statt in einem stummen Promise.
- #39: isBodyweightEq zaehlt 'band'/'resistance band' mit (54 Katalog-Uebungen) — ein Reps-Stepper,
  Progression in Wdh./Saetzen; der Bodyweight-Schalter je Uebung ueberstimmt weiterhin.
- #22: Settings → Gewichtseinheit fragt: Zahlen umrechnen (lib/units.js convertStateUnit ueber
  Saetze, Drops, topW, Ziele, inc, Warm-up-Configs, exWeights, barWeights, Koerpergewicht, Zielgewicht;
  lb auf 0.5, kg auf 0.25 gerundet, Hin- und Rueckweg stabil) oder nur die Beschriftung aendern.
  Fussnote entsprechend, alter Hinweis-String raus. 5 neue Strings in 14 Packs.
- #29/#21: der Mitte-Tab heisst auf dem Workout-Screen "Workout" und leuchtet; sonst "Resume",
  das zum gemerkten Eintrag (S.active.cur) fuehrt, der sich seit !92 nie von selbst bewegt.
- !85: Kopie einer Kopie wird "Name (Copy 2)", nicht "(Copy) (Copy)".
- !94: ein Wochentag, dessen Routine nicht mehr existiert, loest keine Bestaetigung aus.
- !72: das "+" im Swap-Picker uebernimmt sofort mit Standard-Config wie ueberall sonst.
2026-09-05 13:58:07 +02:00
Duarte Santos 3773f65355 Merge !91: feat(workout): colour-coded RIR/RPE quick picker
# Conflicts:
#	frontend/src/lib/pt-br-locale.test.js
#	frontend/src/locales/pt-BR.js
#	frontend/src/sheets.jsx
#	frontend/src/views/Workout.jsx
#	frontend/src/views/Workout.test.jsx
2026-09-05 13:44:02 +02:00
Duarte Santos 0f75e50d3d ROADMAP.md: Versionen ausfuehrlicher, mehr Punkte je Version, Ideen-Sektion erweitert 2026-09-05 13:43:40 +02:00