VSN-1989 : Prepared passengers data exportation feature integrated.
Frontend Exportation Integration — Detailed Merge Request Description
Overview
This merge request introduces full UI integration for the prepared passenger exportation feature. It includes endpoint definition, consumption logic, functional implementation, UI exposure through actions, option propagation, and final cleanup. Together, these updates enable users to export prepared passenger data directly from the interface in a seamless and structured manner.
Included Changes
1. feat(exportation) : Path defined
- Added a dedicated endpoint path for triggering prepared passenger exportation.
- Centralizes routing and improves feature discoverability.
2. feat(exportation) : Consumption function
- Defined the function signature responsible for consuming exportation data.
- Establishes a typed and standardized contract for export interactions.
3. feat(exportation) : Implementation
- Implemented the previously defined consumption function.
- Handles API call execution, response management, and integration with export flows.
4. feat(exportation) : Integrating function
- Integrated the exportation function into the appropriate hook.
- Ensures business logic remains modular, reusable, and context-aware.
5. feat(exportation) : Defining export options
- Retrieved the export function from the table hook.
- Constructed export option definitions, enabling selection and execution from the UI layer.
6. feat(exportation) : Passing export options
- Passed the configured export options to the Table Control Bar component.
- Activates exportability from table-level user interactions.
7. feat(exportation) : Passing back export prop
- Re-enabled the export prop in
TableControlBarto trigger exports. - Restores functional behavior and connects UI intent to business execution.
8. refactor(exprotation) : Cleaning code
- Updated gateway context path to its remote environment.
- Removed remaining debugging logs to improve code clarity and maintainability.
Impact
- Users can now export prepared passengers directly through the UI.
- Export actions are consistent, structured, and easily accessible from the table interface.
- Improved code hygiene and environment readiness.
- Enhanced modularity thanks to hook-driven integration and function-based extensibility.
Validation and Testing
- Verified endpoint correctness and accessibility.
- Confirmed consumption function triggers export successfully.
- Tested export workflow end-to-end through UI interactions.
- Ensured no console logs or debugging traces remain.
Conclusion
This merge request completes the frontend exportation feature by connecting backend export capabilities to the UI, enabling configuration-driven export options, exposing actions to users, and finalizing integration with clean, production-ready code.
Closes VSN-1989