Import replaces entire character with no confirmation warning #84

Closed
opened 2026-04-04 18:40:26 +02:00 by shahondin1624 · 0 comments
Owner

Description

Importing a character from JSON completely replaces the current character data with no confirmation dialog. If a user accidentally pastes wrong JSON and clicks Import, their current character is lost.

Files

  • sharedUI/src/commonMain/kotlin/org/shahondin1624/lib/components/settings/ImportCharacterDialog.kt (lines 18-87)

Expected Behavior

  • Show a confirmation dialog: "This will replace your current character. Are you sure?"
  • Only proceed with import after explicit user confirmation

Acceptance Criteria

  • Confirmation dialog appears before import replaces current character
  • User can cancel the import and keep their current character
  • Successful import still works as before after confirmation
## Description Importing a character from JSON completely replaces the current character data with no confirmation dialog. If a user accidentally pastes wrong JSON and clicks Import, their current character is lost. ## Files - `sharedUI/src/commonMain/kotlin/org/shahondin1624/lib/components/settings/ImportCharacterDialog.kt` (lines 18-87) ## Expected Behavior - Show a confirmation dialog: "This will replace your current character. Are you sure?" - Only proceed with import after explicit user confirmation ## Acceptance Criteria - [ ] Confirmation dialog appears before import replaces current character - [ ] User can cancel the import and keep their current character - [ ] Successful import still works as before after confirmation
shahondin1624 added the epic:character-managementtype:usabilitypriority:must-have labels 2026-04-04 18:40:27 +02:00
Sign in to join this conversation.