This commit is contained in:
2026-07-16 09:53:14 +07:00
parent 0fc112a2e8
commit 29cec708a3
1236 changed files with 212848 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
# 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