Skip to content

#64 #65 #66: the tab knows the database it holds - #70

Merged
bishopb merged 3 commits into
mainfrom
issue-64-65-66-tab-session-guards
Sep 7, 2026
Merged

#64 #65 #66: the tab knows the database it holds#70
bishopb merged 3 commits into
mainfrom
issue-64-65-66-tab-session-guards

Conversation

@bishopb

@bishopb bishopb commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Getting a database open can take real work: signing in to Google, or finding the USB stick it lives on. Today a tab gives none of that back — several tabs all read "KeePass Web", so the only way to find the right one is to open each; a stray back button or a mistimed click on the file navigator throws the session away without a word, since nothing is asked unless there are unsaved edits; and an open database stays decrypted for as long as the tab sits there, however long its owner has been away.

In this PR the tab carries the file's name and a lock icon, so the right one is obvious from the tab bar. Leaving a database, by the back button or the file navigator, asks first whether or not anything is unsaved, and the question stays cheap when nothing would actually be lost. A tab left hidden locks itself after a delay the settings dialog now offers; that costs no edits, because locking keeps them.

@bishopb
bishopb marked this pull request as ready for review September 7, 2026 20:21
@bishopb
bishopb merged commit 186dda2 into main Sep 7, 2026
5 checks passed
@bishopb
bishopb deleted the issue-64-65-66-tab-session-guards branch September 7, 2026 20:21
@keepass-web keepass-web locked as resolved and limited conversation to collaborators Sep 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant