mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
fix(remission-list, remission-return-receipt-details, libs-dialog): improve error handling with dedicated error dialog - Add RemissionResponseArgsErrorMessage constants for standardized error messages - Create FeedbackErrorDialogComponent for consistent error display across the app - Implement enhanced error handling in RemissionListComponent.handleRemitItemsError() - Update RemissionReturnReceiptDetailsItemComponent to use new error dialog pattern - Add injectFeedbackErrorDialog convenience function for easy error dialog injection - Include comprehensive unit tests for new dialog component - Replace generic error handling with specific ResponseArgsError handling - Clear remission state when "AlreadyCompleted" error occurs The new error dialog provides a standardized way to display backend error messages to users with consistent styling and behavior. Error handling now properly differentiates between different error types and takes appropriate actions like clearing state for completed remissions. Ref: #5331