Dashboard & Analytics Reports
The Dashboard & Reports modules (src/features/dashboard/ and src/features/reports/) provide personalized homepages and executive HR analytics.
Dashboard Page (DashboardPage.tsx)​
Adapts its widgets dynamically based on user role and permissions:
- Employee View: Time off balances, today's clock-in status, assigned onboarding tasks, upcoming team absences.
- Manager View: Pending time off requests, pending timesheets awaiting approval, team headcount widget.
- Admin View: Total active employees, turnover rate, Bradford Factor sickness risk indicators, company announcements.
HR Reports & Analytics (ReportsPage.tsx)​
Powered by Recharts:
- Headcount Growth: Monthly hiring trends and attrition rates.
- Absence & Sickness Analysis: Bradford Factor distribution by department.
- Leave Utilization: Annual vacation burn-down charts.
- CSV Data Export: One-click raw dataset exports for payroll and executive reporting.