Skip to content

Display history details in tabs with correct field mapping

yassine sabir a demandé de fusionner feature/geolocDataTab vers develop

Updates:

  • Replace popup dialog with tab-based detail view for better UX consistency
  • Update table row to use handleView for both double-click and eye icon actions
  • Fix API response field mapping to correctly display department, sector, and agency
  • Use ConditionalComponent for conditional rendering per company standards

Changes:

  • geoloc-history-detail-view.tsx: New component to display details in tab format
  • geoloc-history-table-row.tsx: Unify double-click and eye icon to open tabs
  • geoloc-history-view.tsx: Render detail view in tabs instead of dialog
  • geolocHistory.ts: Map API response fields (department→departement, sector→secteur, Agency→agence)

This ensures all geolocation history data (date, driver, vehicle, department, sector) is properly displayed when viewing details, matching the roadmap validation pattern.

Rapports de requête de fusion