Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
We need a profile page that displays the following information:
Solution
This PR involves an interplay between these files:
src/.../profile/[profileID]/page.svelte
components/profile/Appointment.svelte
components/profile/Class.svelte
components/profile/InstructorClass.svelte
Each Appointment and Class displayed are individual components that get their data from the user's specific appointments and class lists.
The InstructorClass component is specifically for displaying individual classes in which a user who is of member_type instructor teaches.
All of the courses and appointments associated to the current user are populated into an array which is then looped and displayed to the page.
The commented out section at the bottom of the file includes non-dynamic views of a Student view, TA view, and Instructor view of the profile page.