Page MenuHomePhabricator

[web] Added `LoadingIndicator` to `LoginForm` "Log in" button
ClosedPublic

Authored by abosh on Apr 1 2022, 5:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 15, 6:07 AM
Unknown Object (File)
Sun, Nov 10, 12:51 AM
Unknown Object (File)
Fri, Nov 8, 10:38 PM
Unknown Object (File)
Fri, Nov 8, 10:38 PM
Unknown Object (File)
Fri, Nov 8, 10:38 PM
Unknown Object (File)
Fri, Nov 8, 10:38 PM
Unknown Object (File)
Fri, Nov 8, 1:51 PM
Unknown Object (File)
Fri, Nov 8, 12:44 PM

Details

Summary

Added spinning LoadingIndicator to "Log in" button on login screen. More context on Linear.

Video:

Test Plan

Logged out and logged in multiple times on Chrome/Safari and ensured everything worked, covering cases where both login failed and login succeeded.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

abosh edited the test plan for this revision. (Show Details)
web/account/log-in-form.react.js
147 ↗(On Diff #10975)

Prefer not to use ternary conditions that return JSX elements like this

Details here

Removed ternary condition that returned JSX element and used function instead.

Removed function and used conditional rendering outside of JSX, per https://beta.reactjs.org/learn#conditional-rendering

This revision is now accepted and ready to land.Apr 4 2022, 2:49 PM
This revision now requires review to proceed.Apr 4 2022, 2:49 PM
This revision is now accepted and ready to land.Apr 5 2022, 1:04 AM