codersforcauses / codersforcauses/teach-learn-grow
As an administrator I want to be able to export a list of pending applications
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
As an administrator, I should have access to an administrators page where I can export a sheet of applicant's emails for all or specific programs. This function should be found in the recruitment tab of the administrators page, there should be a drop down of all the programs and an export button.
**Tasks**
Frontend
- [ ] Admin page
- Create a new recruitment page and add a link to this page in the base admin page (#3)
- Add a new section in the page and add a title (e.g. export pending applications)
- In this section, add a dropdown that will populate with programs fetched using the endpoint created in #5
- add an export button, this button will make a request to the backend, retrieve the list of pending applications for the program selected and prompt the user to download it as a CSV file
- the backend will give the list of applications in JSON format, the page should convert it to CSV before prompting download as a CSV text file.
Backend
- [ ] List pending applications endpoint
- GET request, given a program id, return a list of all pending applications
- designate permission to this endpoint and restrict it to recruitment team (e.g. recruitment role)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.