Files
alla-tms/docs/employee-directory-table-redesign.md
2026-07-16 09:53:14 +07:00

1.0 KiB

Employee Directory Table Redesign

Files Changed

  • src/features/employee-directory/components/employee-directory-columns.tsx
  • src/features/employee-directory/components/employee-directory-table.tsx

Columns Removed

  • approved_hours
  • pending_hours
  • rejected_hours
  • total_hours

Columns Added

  • No new data fields were introduced.
  • The visible table layout was reduced to:
    • employee_code
    • search (employee name + email)
    • position
    • department
    • actions

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