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

Show/hide instructions in USB passphrase dialog depending on bad_passphrase #564

Merged
merged 1 commit into from Oct 16, 2019

Conversation

sssoleileraaa
Copy link
Contributor

Description

Small PR to fix bug with showing two sets of instructions for after a bad passphrase.

Messaging before:

The passphrase provided did not work. Please try again.
Enter password for safe USB drive.
Passphrase

Messaging now:

The passphrase provided did not work. Please try again.
Passphrase

@eloquence eloquence added this to Ready for Review in SecureDrop Team Board Oct 11, 2019
@eloquence eloquence changed the title show/hide instructions based on bad_passphrase Show/hide instructions in USB passphrase dialog depending on bad_passphrase Oct 11, 2019
Copy link
Contributor

@redshiftzero redshiftzero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! approving based on visual review

@ninavizz
Copy link
Member

ninavizz commented Oct 15, 2019

Hey gang, that's a bit of a mouthful. What is the context for this, Allie?

On an aside, the general best-practice for messaging is to first tell the user what to do, then why; keeping it as simple as possible. "Provided passphrase" is a tongue-twister, and feels like an excess of characters to communicate a simple thing.

@sssoleileraaa sssoleileraaa merged commit c292723 into master Oct 16, 2019
SecureDrop Team Board automation moved this from Ready for Review to Done Oct 16, 2019
@sssoleileraaa sssoleileraaa deleted the fix-passphrase-message-hiding branch October 16, 2019 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants