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
F3298623: D8811.id29871.diff
Sun, Nov 17, 7:35 AM
F3298622: D8811.id29922.diff
Sun, Nov 17, 7:35 AM
Unknown Object (File)
Mon, Nov 11, 2:07 PM
Unknown Object (File)
Mon, Nov 11, 4:58 AM
Unknown Object (File)
Thu, Nov 7, 5:07 AM
Unknown Object (File)
Mon, Nov 4, 2:26 PM
Unknown Object (File)
Mon, Oct 28, 6:16 PM
Unknown Object (File)
Sun, Oct 27, 9:00 AM
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