mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #612 from MetaMask/first-time
Open Introduction Video tab on install
This commit is contained in:
commit
b1cd7ebc47
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
## Current Master
|
## Current Master
|
||||||
|
|
||||||
|
- On fresh install, open a new tab with the MetaMask Introduction video.
|
||||||
|
- Block negative values from transactions.
|
||||||
|
|
||||||
## 2.10.2 2016-09-02
|
## 2.10.2 2016-09-02
|
||||||
|
|
||||||
- Fix bug where notification popup would not display.
|
- Fix bug where notification popup would not display.
|
||||||
|
@ -35,6 +35,12 @@ function showUnconfirmedTx (txParams, txData, onTxDoneCb) {
|
|||||||
notification.show()
|
notification.show()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// On first install, open a window to MetaMask website to how-it-works.
|
||||||
|
|
||||||
|
extension.runtime.onInstalled.addListener(function (object) {
|
||||||
|
extension.tabs.create({url: 'https://metamask.io/#how-it-works'})
|
||||||
|
})
|
||||||
|
|
||||||
//
|
//
|
||||||
// connect to other contexts
|
// connect to other contexts
|
||||||
//
|
//
|
||||||
@ -160,4 +166,3 @@ function getOldStyleData () {
|
|||||||
function setData (data) {
|
function setData (data) {
|
||||||
window.localStorage[STORAGE_KEY] = JSON.stringify(data)
|
window.localStorage[STORAGE_KEY] = JSON.stringify(data)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ function AccountInfoLink () {
|
|||||||
|
|
||||||
AccountInfoLink.prototype.render = function () {
|
AccountInfoLink.prototype.render = function () {
|
||||||
const { selected, network } = this.props
|
const { selected, network } = this.props
|
||||||
const title = 'View account on etherscan'
|
const title = 'View account on Etherscan'
|
||||||
const url = genAccountLink(selected, network)
|
const url = genAccountLink(selected, network)
|
||||||
|
|
||||||
if (!url) {
|
if (!url) {
|
||||||
|
@ -106,7 +106,7 @@ BuyButtonSubview.prototype.formVersionSubview = function () {
|
|||||||
style: {
|
style: {
|
||||||
width: '225px',
|
width: '225px',
|
||||||
},
|
},
|
||||||
}, 'In order to access this feature please switch too the Main Network'),
|
}, 'In order to access this feature please switch to the Main Network'),
|
||||||
h('h3.text-transform-uppercase', 'or:'),
|
h('h3.text-transform-uppercase', 'or:'),
|
||||||
this.props.network === '2' ? h('button.text-transform-uppercase', {
|
this.props.network === '2' ? h('button.text-transform-uppercase', {
|
||||||
onClick: () => this.props.dispatch(actions.buyEth()),
|
onClick: () => this.props.dispatch(actions.buyEth()),
|
||||||
|
@ -35,10 +35,9 @@ EthStoreWarning.prototype.render = function () {
|
|||||||
margin: '10px 10px 10px 10px',
|
margin: '10px 10px 10px 10px',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
`The MetaMask team would like to
|
`MetaMask is currently in beta; use
|
||||||
remind you that MetaMask is currently in beta - so
|
caution in storing large
|
||||||
don't store large
|
amounts of ether.
|
||||||
amounts of ether in MetaMask.
|
|
||||||
`),
|
`),
|
||||||
|
|
||||||
h('i.fa.fa-exclamation-triangle.fa-4', {
|
h('i.fa.fa-exclamation-triangle.fa-4', {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user