VSN-2251:feat(suivi-courses): Fix pagination, dense mode and datetime filter for departure/arrival
Summary
Fixes several non-functional UI features on the Suivi des Courses page.
Changes
Pagination
- Fixed rows-per-page selector not slicing data in
table-manager.tsx - Fixed page navigation buttons resetting to page 0 after every click by removing
config.initialDatafrom theuseEffectdependency array inuse-table-manager.ts - Fixed pagination controls overlap issue in
table-pagination-custom.tsxby replacing absolute positioning with a flexbox layout - Added page reset when filters (usager, chauffeur, véhicule, date) change in
suivi-courses-view.tsx
Dense mode
- Wired
table.denseandtable.onChangeDensethroughtable-manager.tsxtoTablePaginationCustomso the dense toggle now affects the table row size
Datetime filter
- Changed the filter input for "Heure de départ" and "Arrivée estimée" from
type="date"totype="datetime-local"intable-filter.tsx - This allows minute-precision filtering using the existing
hasExplicitTimeandmatchesDateConditionlogic already present inuse-table-manager.ts
Icons
- Replaced
LocationOnIconwithBadgeIconfor the Chauffeur filter to visually distinguish it from the Usager (PersonIcon) filter