-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add basic sugarwod import for lifts #81
Conversation
src/com/spicy/app.clj
Outdated
(def plugin | ||
{:static {"/about/" about-page} | ||
:routes ["/app" {:middleware [mid/wrap-signed-in]} | ||
:routes ["/app" {:middleware [mid/wrap-signed-in | ||
mid/wrap-session-user]} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clj-kondo] reported by reviewdog 🐶
Unresolved var: mid/wrap-session-user
src/com/spicy/sugarwod/transform.clj
Outdated
(def sugar-lift->spicy-lift | ||
{"Shoulder Press" "strict press" | ||
"Bench Press" "bench press" | ||
"Split Jerk" "split jerk" | ||
"Push Press" "push press" | ||
"Sotts Press" "sotts press" | ||
"Clean & Jerk" "clean and jerk" | ||
"Power Clean" "power clean" | ||
"Hang Power Snatch" "hang power snatch" | ||
"Pendlay Row" "pendlay row" | ||
"Good Morning" "good morning" | ||
"Clean Pull" "clean pull" | ||
"Deadlift" "deadlift" | ||
"Romanian Deadlift" "romainian deadlift" | ||
"Squat Clean Thruster" "squat clean thruster (cluster)" | ||
"Back Pause Squat" "back pause squat" | ||
"Hang Squat Clean" "hang squat clean" | ||
"Back Squat" "back squat" | ||
"Thruster" "thruster" | ||
"Sumo Deadlift" "sumo deadlift" | ||
"Squat Snatch" "squat snatch" | ||
"Box Squat" "box squat" | ||
"Power Snatch" "power snatch" | ||
"Front Squat" "front squat" | ||
"Muscle Snatch" "muscle snatch" | ||
"Power Clean & Jerk" "power clean and jerk" | ||
"Snatch" "snatch" | ||
"Hang Squat Snatch" "hang squat snatch" | ||
"Muscle Clean" "muscle clean" | ||
"Overhead Squat" "overhead squat" | ||
"Hang Clean" "hang clean" | ||
"Hang Power Clean" "hang power clean" | ||
"Squat Clean" "squat clean" | ||
"Push Jerk" "push jerk" | ||
"Front Pause Squat" "front pause squat" | ||
"Clean" "clean"}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zacjones93 if you have a movement that isnt in this conversion, we need to add it here... I manually had to go through all the movements that I've logged and created this map.
Screen.Recording.2023-10-19.at.9.46.20.PM.mov