Closed mfunkel closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
fit-future | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 17, 2024 6:28pm |
fit-future-ui | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 17, 2024 6:28pm |
What has been done?
This PR adds "favourites" functionality and includes frontend updates to the Home Page, Workout Browsing, and Routine Browsing UIs, as well as backend updates to the Profile services and routes to enable favourites updating.
Summary Backend
profile-service.js
- updated to accommodate changing profile's favourites objectprofileRoutes.js
- updated to accommodate changing profile's favourites objectprofile-service.test.js
- add test for updating favouritesprofileRoutes.test.js
- add test for updating favouritesSummary Frontend
WorkoutList.jsx
component to enable adding/removing from user's favourite workoutsRoutineList.jsx
component to enable adding/removing from user's favourite routinesUsage