-
Notifications
You must be signed in to change notification settings - Fork 2
[Critical] Workspace Persistence (Remember Last Workspace) #24
Copy link
Copy link
Open
Description
Priority: Critical (Ship Blocker)
The app loses the workspace every time it restarts. Users have to re-select their folder on every launch.
Scope
Use Tauri's tauri-plugin-store (a JSON key-value store) to persist the last workspace path and restore it on launch.
Backend / Config Changes
- [MODIFY]
Cargo.toml— Addtauri-plugin-storedependency. - [MODIFY]
lib.rs— Register the store plugin.
Frontend Changes
- [MODIFY]
useWorkspace.ts— After loading a workspace, persist the path to the store. On app init, read the stored path and auto-load the workspace. - [MODIFY]
App.tsx— On mount, attempt to restore the last workspace before showing the welcome screen.
Verification
- Open a workspace, quit the app, relaunch — verify it auto-loads the last workspace without prompting.
Source: changelogs/cinder-v0.2.md
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request