Skip to content

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.

Import: map 12 more Hevy exercise titles to the catalogue (#784, #793)

Ato6164e9f1afdd
diff --git a/frontend/src/lib/import-csv.js b/frontend/src/lib/import-csv.js
index 4f52936a1..0f2dcd6ba 100644
--- a/frontend/src/lib/import-csv.js
+++ b/frontend/src/lib/import-csv.js
@@ -246,6 +246,15 @@ const ALIAS_EX = {
'behind the back bicep wrist curl (barbell)': '0104',
// A face pull is a rope rear-delt row; the dataset has no entry under that name.
'face pull': '0203',
+ // More Hevy titles from a real export (906 workouts). The first group arrived as custom
+ // exercises; the second the word-bag did resolve, but to a neighbour: an alternating floor
+ // press, a side-plank clamshell, a single-leg deadlift on a bench.
+ 'lu raises': '10858', 'dumbbell squeeze press': '3681', 'triceps kickback (dumbbell)': '0333',
+ 'single arm lat pulldown': '1204', 'lateral band walks': '6607', 'frog pumps (dumbbell)': '3182',
+ 'rear delt reverse fly (cable)': '0225',
+ 'single arm cross cable extension': '8614', 'bayesian curl': '2656',
+ 'floor press (dumbbell)': '3668', 'clamshell': '2461',
+ 'single leg romanian deadlift (dumbbell)': '1757',
// Cardio again: the only candidates in a 29-entry cardio vocabulary.
'jumping jack': '3220', 'jumping jacks': '3220', 'battle ropes': '0128',
'stair machine (steps)': '2311', 'stair machine': '2311',
diff --git a/frontend/src/lib/import-match.test.js b/frontend/src/lib/import-match.test.js
index 6dba89f8b..d1eb1cb34 100644
--- a/frontend/src/lib/import-match.test.js
+++ b/frontend/src/lib/import-match.test.js
@@ -26,6 +26,19 @@ const MAPS = {
'Hack Squat (Machine)': '0743',
'Seated Cable Row - Bar Grip': '0218',
'Single Arm Lateral Raise (Cable)': '0192',
+ // A second real Hevy export: custom exercises before the alias, or a neighbouring lift.
+ 'Lu Raises': '10858',
+ 'Dumbbell Squeeze Press': '3681',
+ 'Triceps Kickback (Dumbbell)': '0333',
+ 'Single Arm Lat Pulldown': '1204',
+ 'Lateral Band Walks': '6607',
+ 'Frog Pumps (Dumbbell)': '3182',
+ 'Rear Delt Reverse Fly (Cable)': '0225',
+ 'Single Arm Cross Cable Extension': '8614',
+ 'Bayesian Curl': '2656',
+ 'Floor Press (Dumbbell)': '3668',
+ Clamshell: '2461',
+ 'Single Leg Romanian Deadlift (Dumbbell)': '1757',
}
describe('foreign exercise names resolve to the catalogue', () => {