Page MenuHomePhabricator

[web] Introduce `LoginFormWrapper` component
ClosedPublic

Authored by atul on Jan 10 2023, 1:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 4:27 AM
Unknown Object (File)
Mon, Nov 4, 7:19 AM
Unknown Object (File)
Mon, Nov 4, 7:17 AM
Unknown Object (File)
Mon, Nov 4, 7:16 AM
Unknown Object (File)
Mon, Nov 4, 7:03 AM
Unknown Object (File)
Sun, Nov 3, 1:30 AM
Unknown Object (File)
Sun, Nov 3, 1:30 AM
Unknown Object (File)
Sun, Nov 3, 1:30 AM
Subscribers
None

Details

Summary

Basically wrap LoginForm with RainbowKitProvider and WagmiConfig.

Inspired heavily by (read: copied from) landing/siwe.react.js.

Test Plan

Tested implicitly by subsequent diffs.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Jan 10 2023, 1:33 PM
ashoat added inline comments.
web/account/log-in-form.react.js
3 ↗(On Diff #20759)

Note that this means we're including this CSS in literally every pageload of web. It's gonna bloat the bundle, which is pretty unavoidable... hopefully it doesn't have any global styles

205 ↗(On Diff #20759)

Where did we get this color again? It only seems to be used in the SIWE code, not sure if this is me or Derek or what but just wondering what the history is

This revision is now accepted and ready to land.Jan 10 2023, 7:13 PM
web/account/log-in-form.react.js
3 ↗(On Diff #20759)

Did a quick skim and looks like every CSS selector in dist/index.css starts with [data-rk] and something unique like .iekbcc1

205 ↗(On Diff #20759)

Was introduced by you in D6003, not sure on the exact origin.

This revision was landed with ongoing or failed builds.Jan 11 2023, 1:29 PM
This revision was automatically updated to reflect the committed changes.