mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
2dbf7dda37c44adfa3aa9f43b1b9a801e77a78f3
feat(remission-data-access, remission-start-dialog): refactor remission workflow to use createRemission API Replace the startRemission method with separate createRemission and assignPackage operations. The new implementation improves error handling and provides better separation of concerns between return creation and package assignment steps. Key changes: - Add CreateRemission interface to models with support for validation error properties - Replace startRemission with createRemission method that handles return and receipt creation - Update service methods to return ResponseArgs objects with proper error handling - Enhance dialog components with reactive error handling using Angular effects - Add comprehensive server-side validation error display in form controls - Separate package assignment into dedicated step with individual loading states - Improve test coverage with proper mocking of new service methods The refactored workflow provides better user feedback for validation errors and maintains the existing two-step process while improving maintainability and error handling. Ref: #5251
feat: refactor return feature components; remove deprecated files and implement new search bar input
Hima
This project was generated with Angular CLI version 7.2.1.
Development server
Run ng serve --ssl for a dev server. Navigate to https://localhost:4200/. The app will automatically reload if you change any of the source files.
Code scaffolding
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Build
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Running unit tests
Run ng test to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e to execute the end-to-end tests via Protractor.
Further help
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
Description
Languages
TypeScript
86.9%
HTML
8.6%
SCSS
2.4%
JavaScript
1.3%
CSS
0.6%
Other
0.2%