Auto-save has no progress indicator and hard-coded 500ms debounce #107

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

Description

The auto-save system uses a hardcoded 500ms debounce with no visual indicator of save status. Users don't know if their data is saved, saving, or failed. On slow devices, the debounce might be too aggressive. If the user closes the app during a save, data loss is possible.

Files

  • sharedUI/src/commonMain/kotlin/org/shahondin1624/viewmodel/CharacterViewModel.kt (line 94)

Expected Behavior

  • Visual save status indicator (saved/saving/error)
  • Configurable or adaptive debounce timing
  • Ensure save completes before app exit when possible

Acceptance Criteria

  • Save status indicator visible to user (e.g., subtle icon in toolbar)
  • "Saving..." state shown during active save
  • "Saved" confirmation shown briefly after successful save
  • Error state shown if save fails
  • App attempts to complete pending saves on exit
## Description The auto-save system uses a hardcoded 500ms debounce with no visual indicator of save status. Users don't know if their data is saved, saving, or failed. On slow devices, the debounce might be too aggressive. If the user closes the app during a save, data loss is possible. ## Files - `sharedUI/src/commonMain/kotlin/org/shahondin1624/viewmodel/CharacterViewModel.kt` (line 94) ## Expected Behavior - Visual save status indicator (saved/saving/error) - Configurable or adaptive debounce timing - Ensure save completes before app exit when possible ## Acceptance Criteria - [ ] Save status indicator visible to user (e.g., subtle icon in toolbar) - [ ] "Saving..." state shown during active save - [ ] "Saved" confirmation shown briefly after successful save - [ ] Error state shown if save fails - [ ] App attempts to complete pending saves on exit
shahondin1624 added the priority:should-havetype:architecture labels 2026-04-04 18:42:40 +02:00
Sign in to join this conversation.