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
F2833336: D3605.diff
Sat, Sep 28, 8:02 AM
Unknown Object (File)
Mon, Sep 16, 9:10 PM
Unknown Object (File)
Mon, Sep 16, 9:10 PM
Unknown Object (File)
Fri, Sep 13, 6:26 PM
Unknown Object (File)
Thu, Sep 12, 3:09 AM
Unknown Object (File)
Mon, Sep 2, 3:02 PM
Unknown Object (File)
Aug 26 2024, 10:35 PM
Unknown Object (File)
Aug 26 2024, 5:22 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
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