Open georgeroth opened 1 year ago
CohortList
CohortListItem
the list will be conditionally rendered if the user is a teacher
fetch the list of students using a GET request to {{ _.base_url }}/cohorts
utils/client.js to send the GET request
utils/client.js
map through all the cohorts and render them with the CohortListItem component
all CohortListItems take the user to the actual cohort page on click
Duplicate of #113 We made it reusable. Any problems?
Requirements
UI Approach
Code structure
CohortList
component and aCohortListItem
which will live in the components of a sidebar folderWireframe
the list will be conditionally rendered if the user is a teacher
fetch the list of students using a GET request to {{ _.base_url }}/cohorts
utils/client.js
to send the GET requestmap through all the cohorts and render them with the
CohortListItem
componentall
CohortListItem
s take the user to the actual cohort page on click