Re: [Tails-dev] #5594: tails-greeter: better administration …

Poista viesti

Vastaa
Lähettäjä: intrigeri
Päiväys:  
Vastaanottaja: The Tails public development discussion list
Aihe: Re: [Tails-dev] #5594: tails-greeter: better administration password UI
hi,

intrigeri wrote (11 Dec 2014 17:19:37 GMT) :
> anonym wrote (08 Dec 2014 09:16:06 GMT) :
>> I guess what you want is that whenever one of the password fields
>> are modified we do something like:


>>     if len(auth_password) == 0 and len(test_password) == 0:
>>         self.warning_area_pw_mismatch.hide()
>>         self.warning_area_pw_match.hide()
>>     elif auth_password == test_password:
>>         self.warning_area_pw_mismatch.hide()
>>         self.warning_area_pw_match.show()
>>     elif auth_password != test_password:
>>         self.warning_area_pw_mismatch.show()
>>         self.warning_area_pw_match.hide()


>> Ok?


> ENOTIME to check this right now, but the example implementation I've
> been refering to lives in the update_passphrase_ui sub, in
> lib/Tails/Persistence/Step/Bootstrap.pm, in our
> persistence-setup repo.


I'm calling this a UX design issue, and flagged the ticket as such.
In the revamped Greeter mockups, I see a green "checked/valid" icon,
and a red "cancel/invalid" one, so I'll assume that the people working
on that front have this topic in mind, and have reparented this ticket
to be on their radar. Same for the caps lock thing (#5917).

Cheers!
--
intrigeri