-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restructure front end for new course/assignment/signup flow. #127
base: restructure
Are you sure you want to change the base?
Restructure front end for new course/assignment/signup flow. #127
Conversation
1. Added signup option in the navbar dropdown. 2. Seperated courseCards for courseAdmin/(Student/CourseMember) 3. Seperated courseView pages for the same. 4. Added requestCourse option in courses page. 5. courseMember can add assignments within a courseCard. 6. Added professor list reducer (For retrieving list of teaching members in courseAdminCard) Course component hierarchy: - CoursesContainer (Conditional renders either of the following two views) - CoursesAdminView (contains handleApproveCourse, handleRejectCourse methods) - CourseCardAdmin (Card for course request) - CourseView (contains handleActivateCourse, handleRequestCourse methods) - CourseCard (Card for teaching members/student, contains handleCreateAssignment method) profReducer: - Action: FETCHED_PROFS - adds list of teacher objects (containing ID and name) to store. - Action: CLEARED_PROFS - Clears teachers from store.
1. Added comment, removed tags from user object in response. 2. Updated route used to fetch teacher details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The courses page isn't loading, please look into that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need minor UI flow changes
-> Updated to allow adding of different classes with respective teaching members and sections.
-> Added student/prof selector with role in courseAdminCard -> Improved signup form appearance -> Added collegeMember reducer for students and professors, replacing previous prof reducer. -> Added validation on frontend in courseAdmin flow. (For grad year, addition of classes, selecting of teaching members) -> Minor UI changes -> TODO: Replace toasts with alerts
-> Added graduatingYear to course schema -> Moved graduatingYear picker for each class from course as a whole -> Course Admin card shows selected teaching members outside the selector
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Course component hierarchy:
collegeMembersReducer:
- adds list of student objects (containing ID and name) to store.