Page MenuHomePhabricator

[landing] Factor out logic for monitoring WalletConnect modal
ClosedPublic

Authored by ashoat on Jun 19 2023, 4:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 11:44 PM
Unknown Object (File)
Sun, Nov 10, 1:59 PM
Unknown Object (File)
Oct 27 2024, 8:19 AM
Unknown Object (File)
Oct 22 2024, 2:57 PM
Unknown Object (File)
Sep 29 2024, 4:46 AM
Unknown Object (File)
Sep 29 2024, 4:46 AM
Unknown Object (File)
Sep 26 2024, 4:11 AM
Unknown Object (File)
Sep 24 2024, 7:55 PM
Subscribers

Details

Summary

As part of the WalletConnect 2 update, RainbowKit is now using WalletConnect's Web3Modal.

This modal changes sizes more frequently, and as a result later diffs will complicate the code for monitoring the WalletConnect modal. Ahead of that, I'd like to factor out that logic into a separate hook.

Depends on D8250

Test Plan

Tested with the rest of the stack. I tested all three SIWE endpoints:

  1. Web
  2. Native (old flow)
  3. Native (new flow)

For each, I tested both Rainbow and WalletConnect (both of which need WalletConnect), and navigated around the WalletConnect modal to various places.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable