Closed AaronFmyHub closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.41%. Comparing base (
e9c71bf
) to head (588a518
). Report is 5 commits behind head on main.:exclamation: Current head 588a518 differs from pull request most recent head 651a495. Consider uploading reports for the commit 651a495 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Isn't this supposed to filter based on the body part selected on the diagram?
Updated to include functionality and minor styling changes
Ready to be linked to workout view page. Go to apps/expo/src/app/filteredExercises/index.tsx
and change the pathname on line 33
What type of PR is this? (Check all that apply)
Description
Created the page where user select exercise based on prior muscle selection. This handles the issue @elliotwesoff created before about backend query, and it closes another issue #239 This page displays exercises that match user selected muscle group from the list we provided and further lower informational searching cost for user by having user friendly UI/UX design. The page contains select/unselect feature, and the number next to Add activates when user has a valid selection, it indicates the total exercises user selected. It also includes a reset feature, which is useful when users are dealing with large lists.
Tests
How was this tested?
[Optional] Screenshots
exerciseFilter.webm
Documentation
Link to external documentation:
[Optional] Are there any post-deployment tasks we need to perform?
We need to nav from muscleGroup to this page and pass in the passNext.
AI Usage
ChatGPT explained Truthy/Falsy to me and helped me to find a solution display filtered content. It also wrote the code to reset array, which contains user selections. https://chat.openai.com/share/32926458-88e0-430c-a875-85edf02efb96