Skip to content

[Orientation] - Refactoring de orientation-form-view

Contexte

Plusieurs bugs trouvés :

  • in baseSkills, previous button skips the filters
    Screencast_from_14-08-2024_15_54_40

  • Structure orientator should be "valid" when coming from prev button
    image

  • When coming from carto, and booking an appointment for baseSkills, we shouldn't be able to select the structure within carto
    Screencast_from_14-08-2024_15_57_31

  • When coming from registry, the structure info aren't showed in orientation recap
    image

  • When in onlineMediation, after the creation of the appointment, we still need to confirm the exit modale
    image

  • When selecting a list of structures, in the carto, if we select some structures, then Precédent / Suivant, the structures aren't selected anymore, but we can go to the next page
    image

Objectif

L'orientation est un mess, en profiter pour faire un refacto

  • Reorganized orientation.enums (Common + Tunneling are splitted)
  • All orientation needs now have filterForms
  • Removed base-skills-choice
  • Update currentStep before checking if pages need to be skipped, more understandable
Edited by Pierre Ecarlat