Page MenuHomePhabricator

[landing] Disable RainbowKit slide-in animation
ClosedPublic

Authored by ashoat on Dec 22 2022, 4:48 PM.
Tags
None
Referenced Files
F2168675: D6010.id20046.diff
Tue, Jul 2, 9:31 AM
Unknown Object (File)
Sun, Jun 30, 10:19 PM
Unknown Object (File)
Thu, Jun 27, 4:15 AM
Unknown Object (File)
Thu, Jun 27, 4:15 AM
Unknown Object (File)
Thu, Jun 27, 4:14 AM
Unknown Object (File)
Mon, Jun 17, 5:23 AM
Unknown Object (File)
Mon, Jun 17, 5:23 AM
Unknown Object (File)
Sun, Jun 16, 4:10 AM
Subscribers

Details

Summary

Our BottomSheet is already sliding in; we don't need to do it twice.

Test Plan

Load http://localhost:3000/commlanding/siwe in desktop browser, Mobile Safari on Simulator, and within WebView in Comm app to verify slide-in effect is gone

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat retitled this revision from [landing] Disable SIWE slide-in animation to [landing] Disable RainbowKit slide-in animation.Dec 22 2022, 7:16 PM
atul added inline comments.
landing/siwe.css
30 ↗(On Diff #20046)

Are we confident that this value is going to be static + remain the same going forward?

This revision is now accepted and ready to land.Dec 22 2022, 10:37 PM
landing/siwe.css
30 ↗(On Diff #20046)

Absolutely not – I suspect if we updated RainbowKit we would have to rejigger this. It's sort of like a patch-package.

I did test a prod build to make sure these hacks work there too, though.

I'd like to move away from RainbowKit eventually, but not sure how easy that will be.

landing/siwe.css
30 ↗(On Diff #20046)

I think it might be worth leaving a brief comment explaining where _9pm4ki5 came from for future readers.

I guess they'd be able to figure it out by looking at this diff via git blame, but searching the codebase for "_9pm4ki5" doesn't yield any results (I have node_modules excluded from search by default).

landing/siwe.css
30 ↗(On Diff #20046)

Even just including the path (node_modules/@rainbow-me/rainbowkit/dist/components/index.css:2021) would be helpful