issues
search
sanderprii
/
TA
0
stars
0
forks
source link
As a user, I want to insert my training sessions to view them later
#3
Closed
sanderprii
closed
3 days ago
sanderprii
commented
4 days ago
[ ]
1. Add Training Button and Modal Setup
[ ]
Task 1:
Create an Add Training button on the homepage.
[ ]
Task 2:
Clicking the Add Training button opens a modal.
[ ]
Task 3:
The modal contains training type options (WOD, Weightlifting, Cardio).
[ ]
2. Displaying Input Fields Based on Training Type
[ ] T
ask 4
: When WOD is selected:
[ ] Show input field for Exercise Name.
[ ] Show radio button options time and count.
[ ] If time is selected, show input fields for minutes and seconds.
[ ] If count is selected, show an input field for count.
[ ]
Task 5
: When Weightlifting is selected:
[ ] Show input fields for Exercise Name, Count, and Rounds.
[ ]
Task 6:
When Cardio is selected:
[ ] Show input fields for Exercise Name and Time (minutes and seconds).
[ ]
3. Adding and Saving Rows
[ ]
Task 7:
Clicking the Add Line button adds a new row with Exercise Name and Type fields, matching the selected training type.
[ ]
Task 8:
Clicking the Save Training button saves the training data to the database.
[ ]
4. Displaying Saved Data
[ ]
Task 9
: Display the saved training session at the bottom of the page.
sanderprii
commented
4 days ago
sanderprii
commented
4 days ago