17 lines
777 B
Markdown
17 lines
777 B
Markdown
|
|
# Story: Persist Project Selection
|
||
|
|
|
||
|
|
## User Story
|
||
|
|
**As a** User
|
||
|
|
**I want** the application to remember the last project I opened
|
||
|
|
**So that** I don't have to re-select the directory every time I restart the app.
|
||
|
|
|
||
|
|
## Acceptance Criteria
|
||
|
|
* [ ] Backend: Use `tauri-plugin-store` (or simple JSON file) to persist `last_project_path`.
|
||
|
|
* [ ] Backend: On app startup, check if a saved path exists.
|
||
|
|
* [ ] Backend: If saved path exists and is valid, automatically load it into `SessionState`.
|
||
|
|
* [ ] Frontend: On load, check if backend has a project ready. If so, skip selection screen.
|
||
|
|
* [ ] Frontend: Add a "Close Project" button to clear the state and return to selection screen.
|
||
|
|
|
||
|
|
## Out of Scope
|
||
|
|
* Managing a list of "Recent Projects" (just the last one is fine for now).
|