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
F2082148: D3605.id10977.diff
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
Unknown Object (File)
Fri, Jun 14, 10:17 AM
Unknown Object (File)
Wed, Jun 12, 10:52 PM
Unknown Object (File)
Tue, Jun 11, 5:59 PM
Unknown Object (File)
Tue, Jun 11, 6:19 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
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