Conversation
…on, program, employee, and bulk upload management systems.
…uding bulk upload, editing, and calendar visualization utilities.
… session workflow
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (78)
📝 WalkthroughWalkthroughThis PR introduces a full training calendar feature (admin CRUD lifecycle, employee self-nomination, CSV bulk scheduling), refactors the TNI Dashboard into per-section sub-routes with a ribbon navigation, expands session management (edit, delete, unlock, bulk upload), closes the training-history loop at enrollment and feedback time, adds an untrained-pending report with charts, and globally renames "Department" to "Section". ChangesTraining Calendar, TNI Dashboard Restructure, and Session Management
Sequence Diagram(s)sequenceDiagram
participant Admin
participant createCalendarEvent
participant confirmCalendarEvent
participant TrainingCalendarManager
participant GanttCalendar
participant Employee
participant selfNominateCalendar
Admin->>createCalendarEvent: programId, dates, capacity
createCalendarEvent->>createCalendarEvent: create NominationBatch (Forming, publishToCalendar=true)
createCalendarEvent-->>Admin: success
Admin->>confirmCalendarEvent: batchId, scheduling details
confirmCalendarEvent->>confirmCalendarEvent: create TrainingSession
confirmCalendarEvent->>confirmCalendarEvent: update batch to Scheduled, publishToCalendar=false
confirmCalendarEvent-->>Admin: success
Employee->>GanttCalendar: view upcoming forming events (readOnly)
Employee->>selfNominateCalendar: batchId, empId, justification
selfNominateCalendar->>selfNominateCalendar: verify Forming, check duplicate, enforce capacity
selfNominateCalendar->>selfNominateCalendar: create nomination record
selfNominateCalendar-->>Employee: success / error
note over Admin,TrainingCalendarManager: Cron at 01:00 UTC auto-completes Scheduled batches with past endDate
Estimated code review effort🎯 5 (Critical) | ⏱️ ~120 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
|




Summary by CodeRabbit
New Features
Bug Fixes
UI/UX Updates