lortza / lortza/therapy_tracker
Assign exercises to body parts
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 9
- Forks
- 3
- Avg merge
- 24m
- Merged PRs (30d)
- 11
Description
I'd like to change the dropdowns on the new exercise log page to filter the exercise based on the body part.
- Set up new join table: body_part_exercises
- up the model relationships
- A body part can have many exercises and an exercise can belong to many exercises
- do the data entry
- add body part checklists to the exercise form (see meal_plan and recipes example)
- add the JS to make the dropdowns filter
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the new exercise log page and the meal_plan and recipes example in app/controllers/meal_plans_controller.rb, then inspect the existing exercise and body-part models. Done means the join table, model relationships, data entry, body-part checklists, and filtering dropdown JavaScript are all implemented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, ruby
- Domain
- backend, database, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100