Page MenuHomePhabricator

[web] Add a temporary login via QR code button on the log-in form
ClosedPublic

Authored by rohan on Aug 14 2023, 11:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 6, 4:53 PM
Unknown Object (File)
Sat, May 4, 4:52 PM
Unknown Object (File)
Wed, May 1, 10:30 PM
Unknown Object (File)
Fri, Apr 26, 5:09 PM
Unknown Object (File)
Wed, Apr 24, 6:43 PM
Unknown Object (File)
Wed, Apr 24, 6:43 PM
Unknown Object (File)
Wed, Apr 24, 6:43 PM
Unknown Object (File)
Wed, Apr 24, 6:43 PM
Subscribers

Details

Summary

While the QR code work is still in progress, we want to display a login via QR code button hidden by an if (isDev) check to ensure it's not shown in production (also because ultimately the screen's location will be moved to the main login method, but while it's impossible to login via QR at the moment, this is the next best way to access the flow).

Addresses ENG-4584

Confirmed with Ted regarding the designs of this button in the design channel on Comm

Depends on D8806

Test Plan

Confirmed that the button shows in development

Screenshot 2023-08-14 at 2.49.30 PM.png (1×900 px, 74 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rohan edited the test plan for this revision. (Show Details)
rohan edited the test plan for this revision. (Show Details)
rohan edited the summary of this revision. (Show Details)

Change 'login' to 'sign in'

Nit

web/account/log-in-form.react.js
106 ↗(On Diff #29871)

Should start with lowercase

Lowercase qRCodeLoginButton

Can we go with qrCodeLoginButton like in my suggestion?

Rename to qrCodeLoginButton (I should've caught this)

This revision is now accepted and ready to land.Aug 16 2023, 3:02 AM