You need to sign in or sign up before continuing.
VSN-1970 : Introducing the integration logic of mass importation by excel sheet of prepared passengers.
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
ImportPathResponseDTO to handle importation responses from the database. - feat(store): Implemented store-level consumption functions for both import and export actions.
-
feat(importation):
- Introduced the
customUploadfunction for handling mass file upload. - Integrated
customUploadinvocation in theMassUploadcomponent.
- Introduced the
-
refactor(importation): Updated the importation call to include the connected
userEmailin 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