the app must restart the same state as it was when closed #97

Closed
opened 2026-07-20 21:00:54 +00:00 by hugo · 1 comment
Owner

when the app is closed, it has to persist its UI state in the database per project and on restart, it has to load the state back and rehydrate UI elements. this means the right activity is open, the sidebar is in the same open/close state, the tabs that were open on closing are opened again with the correct elements.

when the app is closed, it has to persist its UI state in the database per project and on restart, it has to load the state back and rehydrate UI elements. this means the right activity is open, the sidebar is in the same open/close state, the tabs that were open on closing are opened again with the correct elements.
hugo added the bug label 2026-07-20 21:00:54 +00:00
Author
Owner

Implemented in fdf47da. RuDS now persists project-scoped workspace state in SQLite and restores the selected activity, sidebar visibility and width, panel state, open tabs, active tab, and hydrated editor/tool data at startup and on every project switch (including create/open and blogmark deep-link switches). Stale, unknown, missing, and cross-project tab references are discarded safely; project deletion removes its session state. Added version-tolerant persistence, localized error reporting, README and Allium coverage, and fixed the invalid TUI spec collection literal discovered by full validation. Verified independently against issue #97, bDS2's UI session behavior, and the Allium rules. Tests/checks: cargo test --workspace (all green), cargo build --workspace, strict cargo clippy --workspace --all-targets -D warnings, cargo machete, cargo fmt --check, allium check specs/*.allium, targeted multi-project/restart/stale-reference tests, and a real bundled macOS close/relaunch check confirming the Media activity, hidden sidebar, and post tab restore correctly.

Implemented in fdf47da. RuDS now persists project-scoped workspace state in SQLite and restores the selected activity, sidebar visibility and width, panel state, open tabs, active tab, and hydrated editor/tool data at startup and on every project switch (including create/open and blogmark deep-link switches). Stale, unknown, missing, and cross-project tab references are discarded safely; project deletion removes its session state. Added version-tolerant persistence, localized error reporting, README and Allium coverage, and fixed the invalid TUI spec collection literal discovered by full validation. Verified independently against issue #97, bDS2's UI session behavior, and the Allium rules. Tests/checks: cargo test --workspace (all green), cargo build --workspace, strict cargo clippy --workspace --all-targets -D warnings, cargo machete, cargo fmt --check, allium check specs/*.allium, targeted multi-project/restart/stale-reference tests, and a real bundled macOS close/relaunch check confirming the Media activity, hidden sidebar, and post tab restore correctly.
hugo closed this issue 2026-07-22 17:57:50 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hugo/RuDS#97