Skip to content

VSN-1923/ Integration with backEnd : Adding store for personalize or duplicate

ilyas makhloul a demandé de fusionner feature/vsn-1923 vers develop

Integration with backend: Add store method for personalize or duplicate trip actions

This merge introduces the integration between the frontend and backend for handling trip personalization and duplication actions.

  • Added a new store method personalizeOrDuplicate(planningTripAction: PlanningTripAction) to communicate with the backend.

  • Updated the handleSave function to build the planningTripAction object and call the store method asynchronously.

  • Added success and error handling with visual feedback using enqueueSnackbar.

  • Ensured proper validation for required fields (tripObservation, selected dates for duplication, etc.).

  • The UI now closes automatically upon a successful operation.

Rapports de requête de fusion