Class Scheduling
- Trainer
- Adding/Updating class session now subject to whether trainer is free at the dateTime selected
- Displays a error message if selected dateTime classes with another class session or assessment booking
- Added batch set weekly class session
- Can now view enrolled members in a class session
- Classes can be reassigned to another trainer through the update class form
- Adding/Updating class session now subject to whether trainer is free at the dateTime selected
- Member
- Past class session are now listed as unavailable
- Enrollment/Un-enrollment only on future class sessions only
Assessment Booking
- Member & Trainer
- Booking is now only added if trainer is free with no class or another booking at the date time selected
- However, no message is displayed on whether booking is added or not
- Booking is now only added if trainer is free with no class or another booking at the date time selected
Fitness Programme
- Trainer
- Can now build a programme with less than 5 exercise sessions
- A message will be displayed if attempting to build a programme again for a member, warning the trainer that any previous custom changes will be lost
- More fields to routine forms to allow adding cardio exercises
Misc
- Trainer & Member
- Relayout profile picture options
- Checks if cloudinary file is present, if not, options are disabled
- Navigation bar is now stackable
- More form validation to add/update forms
- Signup/Update email in settings is checked whether the email is already being used
- Signup/Login displays success/error messages
- Relayout profile picture options
- Trainer
- Dashboard now lists the next session of each class the trainer manages
- Full options button now bring up dropdown options instead of just the dropdown button
- Delete member - removes all member related info
- Overall project
- Most forEach loops are rewritten to use lodash functions instead
- Comments in controllers, model and utils
- Project can now be run without cloudinary file, logs a warning instead if not found