-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hotfix: remove coinbase from default screen #3310
Changes from all commits
9a128d5
71f4058
bc7b24e
2b9a3db
3bdbaec
b60643a
7db0f42
34d19b4
9ac3b69
e5d5f33
ecab080
2c7cd61
1065e16
9164df0
672b9e8
7715f95
3c67cb1
05646dd
7193992
7151a56
775803c
8df8a61
6f1fdac
2acbf3e
cf27756
76b7083
fb69fbf
2b5062b
92af621
e95bb77
3c04c97
b9d45d0
ee17cad
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
'@reown/appkit-adapter-ethers5': patch | ||
'@reown/appkit-adapter-ethers': patch | ||
'@reown/appkit-scaffold-ui': patch | ||
'@apps/demo': patch | ||
'@apps/gallery': patch | ||
'@reown/appkit-adapter-polkadot': patch | ||
'@reown/appkit-adapter-solana': patch | ||
'@reown/appkit-adapter-wagmi': patch | ||
'@reown/appkit': patch | ||
'@reown/appkit-utils': patch | ||
'@reown/appkit-cdn': patch | ||
'@reown/appkit-common': patch | ||
'@reown/appkit-core': patch | ||
'@reown/appkit-experimental': patch | ||
'@reown/appkit-polyfills': patch | ||
'@reown/appkit-siwe': patch | ||
'@reown/appkit-siwx': patch | ||
'@reown/appkit-ui': patch | ||
'@reown/appkit-wallet': patch | ||
--- | ||
|
||
Remove coinbase from default screen |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,16 +29,19 @@ export class W3mConnectExternalWidget extends LitElement { | |
// -- Render -------------------------------------------- // | ||
public override render() { | ||
const externalConnectors = this.connectors.filter(connector => connector.type === 'EXTERNAL') | ||
const filteredOutCoinbaseConnectors = externalConnectors.filter( | ||
connector => connector.id !== 'coinbaseWalletSDK' | ||
) | ||
Comment on lines
+32
to
+34
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. have you tried what would happen if it were to be one of the first results of the list / featured? In that case its valid to be on first screen I think it would have this same ID and get filtered but not completely sure There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +different E2E test variations of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It wouldn't be filtered out if it is added with the |
||
|
||
if (!externalConnectors?.length) { | ||
if (!filteredOutCoinbaseConnectors?.length) { | ||
this.style.cssText = `display: none` | ||
|
||
return null | ||
} | ||
|
||
return html` | ||
<wui-flex flexDirection="column" gap="xs"> | ||
${externalConnectors.map( | ||
${filteredOutCoinbaseConnectors.map( | ||
connector => html` | ||
<wui-list-wallet | ||
imageSrc=${ifDefined(AssetUtil.getConnectorImage(connector))} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very crucial 🙏🏽
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If no go for short time can we separate this to another PR and merge asap?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually I'm doing here #3324