fix(people): include HIPAA training in people table task counts and s…#2464
fix(people): include HIPAA training in people table task counts and s…#2464
Conversation
…how per-category breakdown The people table was not accounting for HIPAA training in the task completion totals, so employees appeared fully complete even when HIPAA training was pending. Also adds individual category counts (Policies, Training, HIPAA) to the tasks column for easier at-a-glance tracking, and fixes the overview chart bar to include HIPAA in the completed segment. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryLow Risk Overview Updates the people table’s tasks column to show a per-category breakdown (Policies, Training, HIPAA) via a new Reviewed by Cursor Bugbot for commit b4e1d1e. Bugbot is set up for automated code reviews on this repo. Configure here. |
## [3.16.1](v3.16.0...v3.16.1) (2026-04-06) ### Bug Fixes * **people:** include HIPAA training in people table task counts and show per-category breakdown ([#2464](#2464)) ([8ac2416](8ac2416))
|
🎉 This PR is included in version 3.16.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b4e1d1e. Configure here.
| tc.completedAt !== null, | ||
| ) | ||
| ? 1 | ||
| : 0; |
There was a problem hiding this comment.
HIPAA completion undetectable when security training disabled
High Severity
When securityTrainingStepEnabled is false but the org has a HIPAA framework, trainingCompletions is set to an empty array (line 103–107). The hipaaCompleted check (line 126–135) searches this empty array, so it always returns 0. However, totalHipaaTraining is correctly set to 1 based on hasHipaaFramework alone. This means HIPAA tasks appear in the total but can never be marked completed — employees will always look incomplete. The dashboard's EmployeesOverview correctly fetches HIPAA completions in a separate query, but this component doesn't.
Reviewed by Cursor Bugbot for commit b4e1d1e. Configure here.


…how per-category breakdown
The people table was not accounting for HIPAA training in the task completion totals, so employees appeared fully complete even when HIPAA training was pending. Also adds individual category counts (Policies, Training, HIPAA) to the tasks column for easier at-a-glance tracking, and fixes the overview chart bar to include HIPAA in the completed segment.
What does this PR do?
Visual Demo (For contributors especially)
A visual demonstration is strongly recommended, for both the original and new change (video / image - any one).
Video Demo (if applicable):
Image Demo (if applicable):
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
Checklist