mirror of
https://github.com/OFFIS-ESC/constellation-analyzer
synced 2026-01-27 07:43:41 +00:00
Removes duplicate confirmation dialogs when deleting documents. Previously, users were asked twice: once by the UI component's custom dialog and again by window.confirm in the store. Changes: - Remove window.confirm from workspaceStore deleteDocument function - Add useConfirm hook to DocumentTabs component for delete action - Consistent confirmation UX across DocumentManager and DocumentTabs Both components now show the same styled confirmation dialog with proper handling of unsaved changes warnings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| stores | ||
| styles | ||
| types | ||
| utils | ||
| App.tsx | ||
| main.tsx | ||
| vite-env.d.ts | ||