VSN-1965: Individual prepared passenger validation action Integrated.
Validation Workflow Integration on Frontend
This set of changes introduces the full integration of the prepared passenger validation process into the frontend, covering store updates, endpoint invocation, UI action binding, and reactive feedback handling.
1. Store-Level Validation Support
Feature: Store Validation Signature
- Added the method signature responsible for consuming the validation action within the preparation store.
- This prepares the store layer to execute validation logic and coordinate subsequent UI updates.
2. Endpoint and Method Implementation
Feature: Validation Endpoint and Implementation
- Added a new REST endpoint dedicated to validating a prepared passenger.
- Implemented the validation method, enabling the frontend to trigger the validation workflow directly through the backend.
3. UI Action Column Wiring
Feature: Validation Action Parameter
- Introduced the validation method as a parameter within the table action column.
- This ensures action cells can dynamically access and execute the validation functionality.
Feature: Validation Action Definition & Invocation
- Defined the validation action based on the store’s new validation method.
- Ensured the passed function is correctly invoked from the UI when a validation action is performed.
4. User Feedback and Data Consistency
Feature: Validation Reactivity & Data Reload
- Added snackbar notifications to enhance reactivity and provide immediate feedback to users when a validation action is executed.
- Triggered an automatic reload of prepared passenger data after a user is successfully validated, ensuring the table view reflects up-to-date backend state.
Closes VSN-1965