feat: close modal on successful apply, update design spec
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m24s
CI / docker (push) Successful in 1m10s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 39s

Modal auto-closes after Apply succeeds. Design spec updated to reflect
implemented behavior: local-edit-then-apply pattern, target select
dropdowns, amber pill for add-to-group, close-on-success.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-14 17:12:39 +02:00
parent 9959e30e1e
commit 58e802e2d4
2 changed files with 167 additions and 1 deletions

View File

@@ -229,8 +229,8 @@ export default function ClaimMappingRulesModal({ open, onClose }: Props) {
}
}
setDirty(false);
toast({ title: 'Rules saved', variant: 'success' });
handleClose();
} catch (e: any) {
toast({ title: 'Failed to save rules', description: e.message, variant: 'error', duration: 86_400_000 });
} finally {