Page MenuHomePhabricator

[web] Open RainbowKit `AccountModal` when `ConnectedWalletInfo` is clicked
ClosedPublic

Authored by atul on Feb 6 2023, 12:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 13, 1:07 AM
Unknown Object (File)
Apr 17 2024, 5:53 AM
Unknown Object (File)
Apr 17 2024, 5:53 AM
Unknown Object (File)
Apr 17 2024, 5:53 AM
Unknown Object (File)
Apr 17 2024, 5:53 AM
Unknown Object (File)
Apr 17 2024, 5:53 AM
Unknown Object (File)
Feb 23 2024, 12:05 AM
Unknown Object (File)
Feb 22 2024, 10:35 PM
Subscribers
None

Details

Summary

Mimic the behavior of ConnectButton and open the AccountModal when ConnectedWalletInfo is clicked.

The two things remaining for ConnectedWalletInfo are:

  1. Show ENS avatar via wagmi hook if set
  2. Shorten ETH address to fit width (some sort of super simple utility function)
Test Plan

Looks as expected:

Diff Detail

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