Commit Graph

46 Commits

Author SHA1 Message Date
jason 9864de0f8a feat: replace department text input with preloaded select dropdown 2026-03-07 22:41:20 -06:00
jason 43e8b87da9 feat: replace department text input with preloaded select dropdown 2026-03-07 22:37:48 -06:00
jason 5049a63b0f feat: add shared departments constant 2026-03-07 22:18:20 -06:00
jason da602f69af docs: update ReadmeModal admin guide for acknowledgment signature and toast notifications
- Added acknowledgment signature workflow to "Logging a Violation" section (step 7)
- Added toast notification step to violation logging workflow (step 9)
- Updated Violation History section: amend now includes acknowledged-by/date fields
- Added PDF acknowledgment rendering note to Violation History
- Added "Toast Notifications" as standalone feature section
- Updated Amendable Fields to include acknowledged_by and acknowledged_date
- Updated Immutability Rules table with ack fields
- Moved acknowledgment signature and toast system to Shipped in roadmap
- Removed acknowledgment signature from Near-term (already shipped)
2026-03-07 21:46:30 -06:00
jason ecd3810050 feat: add toast notifications to EmployeeModal for all actions
- Toast success/error on PDF download, negate, restore, hard delete
- Toast success on employee edit and violation amendment via modal callbacks
- Error details from API responses included in error toasts
2026-03-07 21:40:36 -06:00
jason 725dfa2963 feat: add acknowledgment signature fields + toast notifications to ViolationForm
- New "Employee Acknowledgment" section with acknowledged_by name and date
- Replaces blank signature line on PDF with recorded acknowledgment
- Toast notifications for submit success/error, PDF download, and validation warnings
- Inline status messages retained as fallback
2026-03-07 21:30:29 -06:00
jason c4dd658aa7 feat: wrap App with ToastProvider for global notifications 2026-03-07 21:29:05 -06:00
jason 57358dfd21 feat: add Toast notification system
- ToastProvider context with useToast hook
- Supports success, error, info, and warning variants
- Auto-dismiss with configurable duration (default 4s)
- Slide-in animation with progress bar
- Stacks up to 5 toasts, oldest dismissed first
- Consistent with dark theme UI
2026-03-07 21:28:45 -06:00
jason 281825377f feat: ReadmeModal — admin usage guide, feature map, workflow reference, roadmap (no install content) 2026-03-07 18:39:01 -06:00
jason 84f5124850 docs: rewrite ReadmeModal as admin usage guide — feature map, workflow, tier system, roadmap 2026-03-07 18:33:54 -06:00
jason d4638783a4 feat: add Docs button to navbar — opens ReadmeModal slide-in panel 2026-03-07 09:52:16 -06:00
jason 9d4d465755 feat: ReadmeModal — full README rendered in a themed slide-in panel 2026-03-07 09:51:57 -06:00
jason 57d0ac9755 feat: wire ExpirationTimeline and EmployeeNotes into EmployeeModal 2026-03-07 09:44:54 -06:00
jason 328fc6f307 feat: EmployeeNotes component — inline free-text notes with quick-add HR flag tags 2026-03-07 09:43:54 -06:00
jason 37efd596dd feat: ExpirationTimeline component — per-violation roll-off countdown with tier drop projection 2026-03-07 09:43:31 -06:00
jason 970bc0efea feat: add Audit Log button to Dashboard toolbar 2026-03-07 09:26:33 -06:00
jason 7ee76468c4 feat: wire EditEmployeeModal and AmendViolationModal into EmployeeModal 2026-03-07 09:25:49 -06:00
jason 2525cce03e feat: AuditLog panel component — filterable, paginated audit trail 2026-03-07 09:24:49 -06:00
jason 15d3f02884 feat: AmendViolationModal — edit non-scoring fields with full diff history 2026-03-07 09:24:13 -06:00
jason ee91a16506 feat: EditEmployeeModal — edit name/dept/supervisor and merge duplicates 2026-03-07 09:23:39 -06:00
jason f4f191518c fix: dark mode colors in ViolationHistory component 2026-03-06 23:26:39 -06:00
jason 52a57f21b0 Merge pull request 'Upload files to "client/src/components"' (#18) from p4-hotfixes into master
Reviewed-on: #18
2026-03-06 17:43:31 -06:00
jason 3cc62c2746 Upload files to "client/src/components" 2026-03-06 17:43:14 -06:00
jason 47e14ae23b Merge pull request 'Upload files to "client/src/components"' (#17) from p4-hotfixes into master
Reviewed-on: #17
2026-03-06 17:20:42 -06:00
jason a6d4885a53 Upload files to "client/src/components" 2026-03-06 17:19:57 -06:00
jason f4869b42b4 Merge pull request 'p4-hotfixes' (#16) from p4-hotfixes into master
Reviewed-on: http://10.2.0.2:3000/jason/cpas/pulls/16
2026-03-06 15:44:34 -06:00
jason 98fe9d4a79 Upload files to "client/src/components" 2026-03-06 15:44:15 -06:00
jason f52af27114 Upload files to "client/src/components" 2026-03-06 15:38:20 -06:00
jason 7ff066011d Merge pull request 'Upload files to "client/src/components"' (#15) from p4-hotfixes into master
Reviewed-on: http://10.2.0.2:3000/jason/cpas/pulls/15
2026-03-06 15:26:06 -06:00
jason 35b4ded10c Upload files to "client/src/components" 2026-03-06 15:25:48 -06:00
jason 2ac330904d Merge pull request 'p4-hotfixes' (#13) from p4-hotfixes into master
Reviewed-on: http://10.2.0.2:3000/jason/cpas/pulls/13
2026-03-06 14:38:57 -06:00
jason 1a09efbfe5 Upload files to "client/src/components" 2026-03-06 14:38:29 -06:00
jason de07e77e07 Merge pull request 'Update client/src/components/ViolationForm.jsx' (#12) from p4-hotfixes into master
Reviewed-on: http://10.2.0.2:3000/jason/cpas/pulls/12
2026-03-06 14:23:44 -06:00
jason 722f404269 Update client/src/components/ViolationForm.jsx 2026-03-06 14:23:19 -06:00
jason 7db080bd2a Merge pull request 'Upload files to "client/src/components"' (#11) from p4-hotfixes into master
Reviewed-on: http://10.2.0.2:3000/jason/cpas/pulls/11
2026-03-06 14:21:26 -06:00
jason 571c8f2838 Upload files to "client/src/components" 2026-03-06 14:20:57 -06:00
jason eb07832cc7 Upload files to "client/public/static" 2026-03-06 14:15:05 -06:00
jason 6305cedb14 Delete client/public 2026-03-06 14:14:27 -06:00
jason f006c015b0 Add client/public 2026-03-06 14:14:11 -06:00
jason 2383e3cc94 Upload files to "client/src/components" 2026-03-06 14:11:46 -06:00
jason 8bbfd90f48 Upload files to "client/src" 2026-03-06 14:11:36 -06:00
jason 1991c105b7 Hotfixes 2026-03-06 13:46:12 -06:00
jason 333cad41d7 Phase 4 2026-03-06 12:53:40 -06:00
jason 62b142d4a3 Phase 3 2026-03-06 12:19:55 -06:00
jason 13f6c9d164 Phase 2 2026-03-06 12:02:52 -06:00
jason 45d785964d Initial commit of Docker project 2026-03-06 11:33:32 -06:00