-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Prevent accidental destructive operations with confirmation dialogs.
Use Cases
- Saving selections (overwrite existing priority-packages.json)
- Clearing all selections
- Changing base directory
Design
┌────────────────────────────────────────────┐
│ Confirm Action │
├────────────────────────────────────────────┤
│ │
│ Save 42 selected packages? │
│ │
│ This will overwrite: │
│ priority-packages.json │
│ │
│ [Y] Yes, save [N] Cancel │
│ │
└────────────────────────────────────────────┘
Tasks
- Create
ConfirmDialog.swiftcomponent - Add dialog rendering overlay
- Handle Y/N input for confirmation
- Add confirmation before overwrite operations
- Test dialog rendering and input handling
Files
Sources/TUI/Components/ConfirmDialog.swift(new)Sources/TUI/PackageCurator.swiftSources/TUI/Models/AppState.swift
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request