-
Notifications
You must be signed in to change notification settings - Fork 952
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
Templates 2 #5022
Templates 2 #5022
Conversation
✅ Deploy Preview for remixproject ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
661b5ca
to
f65c0d7
Compare
pinned={this.pinnedProviders.includes(provider.name)} | ||
pinStateCallback={async (pinned: boolean) => { | ||
if (pinned) { | ||
this.emit('providerPinned', provider.name, provider) | ||
this.call('notification', 'toast', `"${provider.displayName}" has been added to the Network list of the Deploy & Run Transactions module.`) |
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.
It should be 'added to the Network Environment list of the Deploy & Run Transactions module plugin'
return true | ||
} | ||
const providerName = await this.call('blockchain', 'getProvider') | ||
if (providerName !== provider.name) { | ||
this.emit('providerUnpinned', provider.name, provider) | ||
this.call('notification', 'toast', `"${provider.displayName}" has been removed from the Network list of the Deploy & Run Transactions module.`) |
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.
here too
pinned={this.pinnedProviders.includes(provider.name)} | ||
pinStateCallback={async (pinned: boolean) => { | ||
if (pinned) { | ||
this.emit('providerPinned', provider.name, provider) | ||
this.call('notification', 'toast', `"${provider.displayName}" has been added to the Network list of the Deploy & Run Transactions module.`) |
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.
here
return true | ||
} | ||
const providerName = await this.call('blockchain', 'getProvider') | ||
if (providerName !== provider.name) { | ||
this.emit('providerUnpinned', provider.name, provider) | ||
this.call('notification', 'toast', `"${provider.displayName}" has been removed from the Network list of the Deploy & Run Transactions module.`) |
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.
here
classList='EECellStyle' | ||
pinned={this.pinnedProviders.includes(provider.name)} | ||
pinStateCallback={async (pinned: boolean) => { | ||
if (pinned) { | ||
this.emit('providerPinned', provider.name, provider) | ||
this.call('notification', 'toast', `"${provider.displayName}" has been added to the Network list of the Deploy & Run Transactions module.`) |
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.
here and everywhere similarly
@@ -129,13 +129,60 @@ export class RunTab extends ViewPlugin { | |||
async onInitDone() { | |||
const udapp = this // eslint-disable-line | |||
|
|||
const descriptions = { | |||
'vm-cancun': 'Deploy to an in-browser virtual machine which run the cancun fork.', |
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.
'which run runs'
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.
Names should be capitalized like Cancun
@@ -129,13 +129,60 @@ export class RunTab extends ViewPlugin { | |||
async onInitDone() { | |||
const udapp = this // eslint-disable-line | |||
|
|||
const descriptions = { | |||
'vm-cancun': 'Deploy to an in-browser virtual machine which run the cancun fork.', | |||
'vm-shanghai': 'Deploy to an in-browser virtual machine which run the cancun fork.', |
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.
here and similarly everywhere
'vm-paris': 'Deploy to an in-browser virtual machine which run the paris fork.', | ||
'vm-london': 'Deploy to an in-browser virtual machine which run the london fork.', | ||
'vm-berlin': 'Deploy to an in-browser virtual machine which run the berlin fork.', | ||
'vm-mainnet-fork': 'Deploy to an in-browser virtual machine which fork locally the ethereum mainnet.', |
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.
forks
Ethereum
'vm-custom-fork': 'Deploy to an in-browser virtual machine which fork locally a custom network.', | ||
'walletconnect': 'Deploy using wallet connect.', | ||
'basic-http-provider': 'Deploy to a custom local network.', | ||
'hardhat-provider': 'Deploy to a hardhat development nework.', |
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.
Hardhat
with capital H, and similarly
const addProvider = async (position, name, displayName, isInjected, isVM, fork = '', dataId = '', title = '') => { | ||
console.log(name) |
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.
remove log
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.
Can you make first letter of cancun, paris, berlin etc. capital?
This PR update the grid view and the env providers view: