Skip to content

VSN 1968 : Introducing logic of refetching prepared passengers after the deletion of a prepared passenger.

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

Description

This Merge Request focuses on enhancements and fixes for Prepared Passenger management, including deletion, DTO handling, reactive listing, and API mapping improvements.


Summary of Changes

  • feat(hook): Created a custom hook with a reloader variable to control refetching of prepared passenger data.
  • feat(dtos): Added UUID retrieval from HTTP responses to support deletion functionality.
  • feat(prepared item): Transmitted the reloader function to relevant components.
  • feat(deletion): Implemented deletion of prepared passengers via store method invocation.
  • feat(issues): Fixed build issue by adding the missing UUID attribute in IPreparationUsagerDto.
  • feat(preparation): Introduced changeable DTOs to allow dynamic specifications and adapted API search calls.
  • fix(mapping): Corrected mapping logic to ensure safer handling during passenger search API calls.
  • feat(passengers): Fixed address display issues caused by DTO incompatibilities and nullable values.
  • fix(passengers): Made post-deletion listing reactive to remove delay between deletion and UI update.

Purpose

This MR improves the reliability and reactivity of the prepared passenger management feature, ensuring smooth deletion, accurate mapping, and correct data display across frontend and backend.


Next Steps

  • Continue improving DTO flexibility for additional search specifications.
  • Add comprehensive error handling for deletion and search operations.
  • Consider performance optimizations for large passenger lists.

Closes VSN-1968

Modification effectuée par yassine.elazami

Rapports de requête de fusion