Skip to content

IAV-1108: URL routing for tabs/sub-tabs across all agent dashboards and wizards

bouslim-saloua a demandé de fusionner feature/IAV-1108 vers develop

Summary

  • Wizard step routing (?step=): added URL sync to AFAY, ANIR and AREN wizards — step is resolved from URL on load, replaced in history on init, and pushed on each step change
  • Dashboard tab routing (?tab=): added URL sync to AREN (/aag), Document Analysis (/document-analysis) and RH/ANIA (/rh) dashboards via Suspense + useSearchParams pattern
  • Sub-tab routing (?tab=&subtab=): added full sub-tab URL sync for:
  • AREN configuration (general, features, agenda, emails, transcription)
  • ADAN/Public-Tender configurations (preferences, notifications)
  • RH/ANIA configuration (ia, notifications, rgpd)
  • Sub-tab reset on main tab switch: switching main tab clears currentSubTab to undefined, child components reset to their default sub-tab via useEffect
  • SEO sub-tab reset fix: sub-tab components now always call setActiveTab(initialSubTab ?? 'default') unconditionally so switching main tabs properly resets the active sub-tab
  • Wizard progress bar: labels now use whiteSpace: 'nowrap' to display fully instead of being clipped by maxWidth

Rapports de requête de fusion