feat(recruitment): enhance recruitment dashboard with advanced analytics charts - #5084
feat(recruitment): enhance recruitment dashboard with advanced analytics charts#5084iamkhanraheel wants to merge 7 commits into
Conversation
Confidence Score: 4/5The PR is not safe to merge until progressed applicants remain represented in the Shortlisted funnel stage. The funnel still derives Shortlisted exclusively from the applicant’s current status, while later workflow transitions overwrite that status and leave the chart undercounting progressed candidates. Files Needing Attention: hrms/hr/dashboard_chart_source/recruitment_funnel/recruitment_funnel.py Reviews (2): Last reviewed commit: "fix: company filter scoping and rewrite ..." | Re-trigger Greptile |
|
|
||
| applicant_names = [a.name for a in all_applicants] | ||
| total = len(all_applicants) | ||
| shortlisted = sum(1 for a in all_applicants if a.status == "Shortlisted") |
There was a problem hiding this comment.
Shortlisted stage loses progressed applicants
When a shortlisted applicant advances, the Interview or Job Offer workflow overwrites their status with Accepted or Rejected, so this current-status check drops them while later stages still count their records, causing the funnel to underreport Shortlisted and potentially show it below later stages.
Knowledge Base Used: Recruitment Pipeline: Requisition to Job Offer
Summary
Adds four custom analytics charts to the Recruitment dashboard, replacing charts that were less actionable (Job Applicant Source, Job Offer Status, Interview Status).
New charts:
All charts support company-level filtering and use
Customchart type for cross-doctype aggregation.Also updates Job Applicant Pipeline to Pie chart with a cap of 8 groups.