Skip to content

VSN-1970 : Introducing the integration logic of mass importation by excel sheet of prepared passengers.

yassine.elazami a demandé de fusionner VSN-1970 vers develop

Description

This Merge Request adds and refines the mass importation and exportation features for prepared passengers.
It introduces new API endpoints, response DTOs, store functions, and integration within the appropriate frontend views.


Summary of Changes

  • feat(docs): Defined backend endpoints for exporting prepared passengers template and mass importation.
  • feat(types): Created ImportPathResponse DTO to handle importation responses from the database.
  • feat(store): Implemented store-level consumption functions for both import and export actions.
  • feat(importation):
    • Introduced the customUpload function for handling mass file upload.
    • Integrated customUpload invocation in the MassUpload component.
  • refactor(importation): Updated the importation call to include the connected userEmail in the API request.
  • refactor(prepared-view): Moved the importation logic to the correct Prepared Passenger View instead of the final validated passengers view.
  • fix(usager-view): Reverted to a stable previous version to ensure proper view rendering.
  • config: Updated gateway context path to point to the remote environment.

Purpose

This MR establishes a complete workflow for importing and exporting prepared passengers, linking backend endpoints with frontend components and ensuring data consistency between modules.


Next Steps

  • Implement progress tracking and validation feedback during importation.
  • Add user notifications for successful imports and exports.
  • Consider optimizing large file uploads and error recovery handling. Closes VSN-1970
Modification effectuée par yassine.elazami

Rapports de requête de fusion