[6.6] Save Character to Local Storage #28

Closed
opened 2026-03-13 11:27:04 +01:00 by shahondin1624 · 0 comments

User Story

As a player, I want my character auto-saved to local storage.

Acceptance Criteria

  • Uses KStore (already a dependency) for persistence
  • Auto-save on change (debounced ~500ms) and on app background
  • Auto-load on launch; falls back to EXAMPLE_CHARACTER if none saved
  • Wires DataLoader.serialize()/deserialize() into persistence
  • Works on all 4 platform targets (Android, Desktop, Web, iOS)

Notes

Depends on 6.1 (ViewModel). KStore and kotlinx.serialization already in the project. DataLoader already provides serialize/deserialize.

## User Story **As a** player, **I want** my character auto-saved to local storage. ## Acceptance Criteria - [ ] Uses KStore (already a dependency) for persistence - [ ] Auto-save on change (debounced ~500ms) and on app background - [ ] Auto-load on launch; falls back to `EXAMPLE_CHARACTER` if none saved - [ ] Wires `DataLoader.serialize()`/`deserialize()` into persistence - [ ] Works on all 4 platform targets (Android, Desktop, Web, iOS) ## Notes Depends on 6.1 (ViewModel). KStore and kotlinx.serialization already in the project. `DataLoader` already provides serialize/deserialize.
shahondin1624 added this to the Phase 6: Editing & Persistence milestone 2026-03-13 11:27:04 +01:00
shahondin1624 added the epic:character-managementpriority:must-have labels 2026-03-13 11:28:29 +01:00
Sign in to join this conversation.