mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
1c5bc8de120f56fc4db72d4719d586427c165fc3
feat(checkout): implement hierarchical grouping on rewards order confirmation page Implements correct grouping by delivery option and target address on the rewards order confirmation page (Prämien-Abschlussseite). Changes: - Add hierarchical grouping: primary by delivery type, secondary by branch - Show branch name only when multiple branches exist within same delivery type - Remove duplicate "Abholfiliale" section from addresses component - Fix undefined shoppingCartItem error by providing fallback with DisplayOrderItem features - Fix partial order creation error handling in checkout orchestrator Implementation: - New helpers: groupDisplayOrdersByDeliveryType, groupDisplayOrdersByBranch - Updated reward-order-confirmation component with groupedOrders computed signal - Added comprehensive unit tests (15 new tests, all passing) - Graceful error handling for backend responses with partial order creation Bug Fixes: - Prevent undefined features error when shopping cart item not found - Extract orders from HTTP error responses when backend returns warnings - Add German documentation for error handling with TODO for user feedback Related to: #5397 Related work items: #5397
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%