js icon indicating copy to clipboard operation
js copied to clipboard

"Connect a wallet" first in ConnectEmbed

Open eth0izzle opened this issue 10 months ago • 2 comments

Is there a way to make the "Connect a wallet" button appear first in the ConnectEmbed? If not can it be added as an option? I'd rather not re-write the entire modal just to swap the order.

image

eth0izzle avatar Mar 25 '24 02:03 eth0izzle

@eth0izzle thank you for the feedback - we've considered this and will likely add it in the next few weeks, but curious how do you expect the UI to behave? list of wallets up top and a button below to switch to embedded wallet UI?

Also the code is open source, would love a contribution for this!

joaquim-verges avatar Mar 27 '24 21:03 joaquim-verges

Just as simple as the below.

image

We regularly get users completey missing the "Connect a wallet option" as it sits below a traditonal account login + the large Continue CTA. Being "Web3 first" with the wallet list first would be a nice option. You might not even need to add a separate option and just honor the order of the supportedWallets array, e.g.,

image

const isWeb3First = supportedWallets[supportedWallets.length - 1].id == EmbeddedWallet.id

eth0izzle avatar Mar 29 '24 01:03 eth0izzle

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 20 '24 01:04 stale[bot]