Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a password discard confirmation #10994

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Jookia
Copy link
Contributor

@Jookia Jookia commented Jun 28, 2024

This PR adds a confirmation dialog on password generator close that confirms discarding the password. Fixes #10831 .

Screenshots

A dialog with a warning sign titled "Confirm Close Password Generator." It asks "Discard this password forever?" and lists two options: Discard and No

Testing strategy

Tests are currently broken: Something about MessageBox::setNextAnswer is blocking the closing of the database in the test. Once this is fixed (I need help with this please) I will write tests that check:

  • Closing can be aborted by clicking no
  • Clicking yes always closes the dialog

Type of change

  • ✅ New feature (change that adds functionality)

@droidmonkey droidmonkey added this to the v2.7.10 milestone Aug 19, 2024
@droidmonkey droidmonkey self-requested a review August 19, 2024 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Confirmation before closing password generator popup
2 participants