Skip to content
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

Add Applicant Status Summary to Admin Dashboard #306

Merged
merged 5 commits into from
Jan 21, 2024

Conversation

taesungh
Copy link
Member

To help the applications committee decide how many people to accept from the waitlist, we can provide a chart summarizing the number of applicants in each status.

Donut chart showing the breakdown of applicants by status

Resolves #278.

Changes

  • Add Admin endpoint for applicant status summary
    • Create new summary_handler file for various stats
  • Add applicant summary chart to Admin Dashboard
    • Show donut chart of applicants by status on Admin Dashboard
    • Display count and percentages for each status
  • Show Dashboard link in AdminSidebar
    • Remove divider for Applicants link and splice in when accessible

- Create new `summary_handler` file for various stats
@taesungh taesungh requested a review from a team January 21, 2024 03:18
Copy link
Contributor

github-actions bot commented Jan 21, 2024

Deploy preview for irvinehacks-site-2024 ready!

Name IrvineHacks 2024 Site
Preview Visit Preview
Commit d74ea59

- Show donut chart of applicants by status on Admin Dashboard
- Display count and percentages for each status
- Remove divider for Applicants link and splice in when accessible
Copy link
Contributor

@samderanova samderanova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work on the pie chart! A few suggestions/questions:

apps/api/src/admin/summary_handler.py Outdated Show resolved Hide resolved
apps/api/tests/test_summary_handler.py Show resolved Hide resolved
apps/site/src/app/admin/dashboard/AdminDashboard.tsx Outdated Show resolved Hide resolved
apps/api/src/admin/summary_handler.py Outdated Show resolved Hide resolved
- Add `ApplicantStatus` type alias for `Union[Status, Decision]`
- Show `ApplicantSummary` on Admin Dashboard only for application
  managers (director/reviewer)
@taesungh taesungh merged commit ca6bf0c into main Jan 21, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Admin Dashboard] Add hacker status summary chart
3 participants