5059eb008a9ad68943365040f94e9351effd7935
Completes persistence story and crash recovery hardening. Nav store persistence: - Wraps nav store with zustand persist middleware - Persists activeView to localStorage under "mc-nav-store" - Remembers which view you were on across sessions Bridge tmp file cleanup (src-tauri/src/data/bridge.rs): - New cleanup_tmp_files() method removes orphaned .json.tmp files - Called on startup to clean up from crashes during save_map() - Logs cleaned files for debugging - Returns count of files removed The atomic write pattern (write to .tmp, then rename) can leave orphan files if the app crashes between write and rename. This cleanup ensures we don't accumulate stale tmp files over time. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
66%
Rust
33.5%
JavaScript
0.3%
Shell
0.1%