1.0 KiB
1.0 KiB
Employee Directory Table Redesign
Files Changed
src/features/employee-directory/components/employee-directory-columns.tsxsrc/features/employee-directory/components/employee-directory-table.tsx
Columns Removed
approved_hourspending_hoursrejected_hourstotal_hours
Columns Added
- No new data fields were introduced.
- The visible table layout was reduced to:
employee_codesearch(employee name + email)positiondepartmentactions
Responsive Result
- Desktop: table width is tightened to match the smaller column set and reduce empty space.
- Tablet: the visible columns remain readable without the training-summary group.
- Mobile: horizontal overflow remains inside the table shell with the reduced minimum width.
Regression Check
- API contract unchanged
- Query and pagination unchanged
- Search behavior preserved
- Filter behavior preserved
- Action dropdown preserved
- Sorting remains available for employee code, name, position, and department