mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
feat(remission-list): improve item update handling and UI feedback Enhance the remission list item management by introducing a more robust update mechanism that tracks both item removal and impediment updates. Previously, the component only tracked deletion progress, but now it handles both deletion and update scenarios, allowing for better state management and user feedback. Key changes: - Replace simple inProgress boolean with UpdateItem interface containing inProgress state, itemId, and optional impediment - Update local items signal directly when items are removed or updated, eliminating unnecessary API calls and improving performance - Add visual highlight to "Remi Menge ändern" button when dialog is open using a border style for better accessibility - Improve error handling by tracking specific item operations - Ensure selected items are properly removed from store when deleted or updated The new approach optimizes list reloads by only fetching data when necessary and provides clearer visual feedback during item operations. Unit Tests updated also Ref: #5361