Page MenuHomePhabricator

[web] Move bulk of `LoginModal` to `LoginForm`
ClosedPublic

Authored by atul on Mar 22 2022, 3:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 12:11 AM
Unknown Object (File)
Sun, Nov 10, 12:11 AM
Unknown Object (File)
Sun, Nov 10, 12:11 AM
Unknown Object (File)
Sun, Nov 10, 12:11 AM
Unknown Object (File)
Sun, Nov 10, 12:03 AM
Unknown Object (File)
Thu, Nov 7, 9:17 AM
Unknown Object (File)
Tue, Nov 5, 1:24 AM
Unknown Object (File)
Wed, Oct 16, 8:36 AM

Details

Summary

We want to pull a LoginForm component out of LoginModal so it can be re-used in Splash.

Next diffs:

  1. Naively add LoginForm to Splash
  2. Style LoginForm so it looks decent in both Splash and LoginModal. Currently the LoginModal/LoginForm is styled using user-settings-modal.css. Will create a separate stylesheet for LoginForm but will cut/paste the styles to start with something consistent.
Test Plan
  1. yarn dev in web and server (to avoid any hot reloading artifacts).
  2. Go to localhost/comm/.
  3. Click "Log in".
  4. Click the X in the top-right corner to make sure the modal disappears.
  5. Enter invalid credentials and make sure error message + input focus is correct.
  6. Enter valid credentials and make sure we are correctly "redirected" to the app.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage