Ray73H / Hands-on-Health

1 stars 0 forks source link

Edit workout plan #3

Closed SmoooothOperator closed 1 week ago

SmoooothOperator commented 2 weeks ago

Changes were only made inside client/src

Explanation for changes:

constants: folder to store any constants/dummy values

contexts/AppContext.tsx: File that handles any global variables that needs to be shared with multiple components. There is only one set of useState in there right now.

types/types.ts: added new types for storing user's Exercises (including weight, reps)

views: folder to store the different pages of the app

views/EditWorkOutPlan.tsx: the "main" file for the Edit Workout Plan portion of the app

views/css: folder to store any css codes for the views

stash: folder to store any codes for later use. The original App.tsx file is in here to be recovered. We changed the App.tsx file for testing purposes, which means anything in there can be deleted as needed.

Progress Visualization

image

Ray73H commented 1 week ago

Looks good