On 2014-12-12 6:34 PM, Andrew Sutherland wrote:
On 12/12/2014 06:24 PM, Ehsan Akhgari wrote:
On 2014-12-12 6:19 PM, Tanvi Vyas wrote:
A touch event or mouseclick-and-hold on the eye icon could show the
password, and as soon as the user releases the password can go back to
being obfuscated.  That would prevent accidental leakage through screen
sharing.  The tricky part is adding such an icon next to the password
field (same issue with adding the show passwords checkbox).

I'm not sure what's tricky about that, it's very simple implementation
wise at least.

One small wrinkle for Firefox OS is that we already put an "x" icon on
the right side of input and password fields to let the user clear the
contents of the text-box in an entire go
(http://buildingfirefoxos.com/building-blocks/input-areas.html). Since
there needs to be minimum hit size targets, if both were present at the
same time, I don't think you could smoosh them together.

Having said that, we now have that text-selection UI stuff on trunk/v2.2
that includes both:
- long pressing logic that selects words nicely
- some type of "select all" affordance as the first icon on the pop-up
toolbar from when you long press
so perhaps that dedicated 'x' can go away entirely.

I'd be more than happy to leave these details to the UX team. I'm sure we can find a good solution. :-)

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to