constellation-analyzer/src/components
Jan-Henrik Bruhn c1a2d926cd feat: add document naming dialog before creation
Implements a user-friendly dialog that prompts for document names before
creating new documents, replacing the default "Untitled Analysis" behavior.

Features:
- InputDialog component for text input with validation
- useCreateDocument hook to centralize naming logic
- Pre-filled default value "Untitled Analysis"
- Validation to prevent empty document names
- Helpful placeholder text with examples
- Keyboard shortcuts (Enter/Escape)
- Auto-focus and select input field

Updated all document creation entry points:
- Menu Bar: "New Document" and "New from Template"
- Document Tabs: "+" button
- Document Manager: "New Document" button
- Empty State: "New Document" button
- Keyboard shortcut: Ctrl+N

This provides a consistent UX across the application and reduces code
duplication by using a single reusable hook.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 12:03:05 +02:00
..
Common feat: add document naming dialog before creation 2025-10-11 12:03:05 +02:00
Config feat: implement directional relationships for edges 2025-10-11 11:54:16 +02:00
Edges feat: implement directional relationships for edges 2025-10-11 11:54:16 +02:00
Editor feat: add document naming dialog before creation 2025-10-11 12:03:05 +02:00
Menu feat: add document naming dialog before creation 2025-10-11 12:03:05 +02:00
Nodes Initial commit 2025-10-10 11:15:51 +02:00
Panels feat: implement directional relationships for edges 2025-10-11 11:54:16 +02:00
Toolbar refactor: move undo/redo to toolbar, simplify left panel 2025-10-10 22:16:05 +02:00
Workspace feat: add document naming dialog before creation 2025-10-11 12:03:05 +02:00