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
F2125309: D3605.id.diff
Thu, Jun 27, 12:41 AM
Unknown Object (File)
Tue, Jun 25, 6:00 PM
Unknown Object (File)
Tue, Jun 25, 12:23 PM
Unknown Object (File)
Mon, Jun 24, 10:58 AM
Unknown Object (File)
Sun, Jun 23, 12:29 AM
Unknown Object (File)
Fri, Jun 21, 12:31 PM
Unknown Object (File)
Sun, Jun 16, 7:40 AM
Unknown Object (File)
Sun, Jun 16, 7:22 AM

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
Branch
wordmark-homepage (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

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