You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Replace update script alerts with custom confirmation modal
- Replace browser alert() with custom ErrorModal for validation errors
- Replace browser confirm() with custom ConfirmationModal for update confirmation
- Add type-to-confirm safety feature requiring container ID input
- Include data loss warning and backup recommendation in confirmation message
- Consistent UI/UX with other confirmation dialogs
- Better error messaging with detailed information
// Show confirmation modal with type-to-confirm for update
494
+
setConfirmationModal({
495
+
isOpen: true,
496
+
title: 'Confirm Script Update',
497
+
message: `Are you sure you want to update "${script.script_name}"?\n\n⚠️ WARNING: This will re-run the script installation process and may overwrite existing data. Consider backing up your data beforehand.`,
0 commit comments