Open vault folders through the shared configuration #35
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Connect desktop vault opening and lifecycle to the configuration shared with the CLI and TUI.
Scope
Command-Oon macOS,Ctrl-Oelsewhere).crates/storagefor validation and opening; do not inspect the password-store structure in the GUI.config.tomlthrough storage-owned configuration APIs, including vault path, default key, editor setting, and authentication timeout.Acceptance criteria
crates/storageand changes vault only after success.Implemented and pushed in commit
491d7b1. Added native macOS/Windows and XDG portal Linux folder selection with Cmd/Ctrl-O; storage-owned vault/config validation and atomic config.toml updates for vault, default key, editor, and authentication timeout; session replacement only after full repository/key/tree validation; actionable cancellation/failure states; shared dirty-document coordination; explicit refresh/reload actions; and in-flight switch lifecycle guards. Verification: cargo fmt --all -- --check; RUSTFLAGS="-D warnings" cargo check --workspace --all-targets; cargo clippy --workspace --all-targets -- -D warnings; cargo test --workspace. All passed. Focused configuration contract and desktop tests also passed, including failed/cancelled switches retaining config/session and dirty drafts.