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)
Mon, Nov 25, 9:21 PM
Unknown Object (File)
Mon, Nov 25, 2:18 PM
Unknown Object (File)
Mon, Nov 25, 2:05 PM
Unknown Object (File)
Nov 22 2024, 12:10 PM
Unknown Object (File)
Nov 22 2024, 11:33 AM
Unknown Object (File)
Nov 15 2024, 6:07 AM
Unknown Object (File)
Nov 10 2024, 12:51 AM
Unknown Object (File)
Nov 8 2024, 10:38 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