Page MenuHomePhabricator

Improve UI for "wait" and "answered" MFA challenges
ClosedPublic

Authored by epriestley on Dec 18 2018, 10:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 12:33 AM
Unknown Object (File)
Sun, Dec 1, 7:08 AM
Unknown Object (File)
Nov 20 2024, 9:57 AM
Unknown Object (File)
Nov 16 2024, 5:58 AM
Unknown Object (File)
Nov 12 2024, 5:30 AM
Unknown Object (File)
Nov 8 2024, 8:41 AM
Unknown Object (File)
Oct 24 2024, 12:03 PM
Unknown Object (File)
Oct 23 2024, 4:12 AM
Subscribers
None

Details

Summary

Depends on D19906. Ref T13222. This isn't going to win any design awards, but make the "wait" and "answered" elements a little more clear.

Ideally, the icon parts could be animated Google Authenticator-style timers (but I think we'd need to draw them in a <canvas /> unless there's some clever trick that I don't know) or maybe we could just have the background be like a "water level" that empties out. Not sure I'm going to actually write the JS for either of those, but the UI at least looks a little more intentional.

Test Plan

Screen Shot 2018-12-18 at 2.13.03 PM.png (849×1 px, 139 KB)

Screen Shot 2018-12-18 at 2.12.51 PM.png (849×1 px, 116 KB)

Diff Detail

Repository
rP Phabricator
Branch
mfa25
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21377
Build 29105: Run Core Tests
Build 29104: arc lint + arc unit

Event Timeline

Ideally, the icon parts could be animated Google Authenticator-style timers...

Not to create more work for you since this looks fine, but how about something like this? https://codepen.io/carsy/pen/VvqJwm

This revision is now accepted and ready to land.Dec 18 2018, 11:24 PM

Ah, neat. I've been wary of SVG since rendering user-controlled SVG (T6445) is such a horrible minefield, but I expect charting to be SVG-based so we're going to have to cross that bridge eventually...

This revision was automatically updated to reflect the committed changes.