USER MANAGEMENT (CTO/Manager only): - Department overview chips with click-to-filter - Search by name or email - Filter by role dropdown - Table/Grid view toggle TABLE VIEW: - Inline role dropdown (color-coded per role) - Inline department dropdown - Task progress bars (done/total) - Active/Inactive status dots - Edit, Deactivate, Delete action buttons - Expandable rows with task stats (total/completed/in-progress/overdue) GRID VIEW: - Member cards with avatar, badges, and stats - Task completion progress bars - Deactivate/Reactivate buttons MODALS: - Add Member: name, email, role, dept, password with validation - Edit Member: update all fields (role changes CTO-only) - Confirmation dialog for deactivate/reactivate/delete ROLE-BASED ACCESS: - CTO can change anyone's role - Manager can edit users but not change roles - Employee has read-only access (no action buttons) - Users cannot deactivate/delete themselves TEAM TASKS ENHANCEMENT: - Added group-by-department option with toggle buttons
7.1 KiB
7.1 KiB