aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2017-06-15 01:20:53 +0800
committerGitHub <noreply@github.com>2017-06-15 01:20:53 +0800
commit1a4f982739a09a4fd757b5f45fcaeef1a93dd4a3 (patch)
treee8ad564dba6c235510aa0156258372831b6c699e
parent141e66171b05b803a06e68208bed073906a4616d (diff)
parent74d15f5cb0bae86cfbc48019d40ac68943f72b18 (diff)
downloadtangerine-wallet-browser-1a4f982739a09a4fd757b5f45fcaeef1a93dd4a3.tar
tangerine-wallet-browser-1a4f982739a09a4fd757b5f45fcaeef1a93dd4a3.tar.gz
tangerine-wallet-browser-1a4f982739a09a4fd757b5f45fcaeef1a93dd4a3.tar.bz2
tangerine-wallet-browser-1a4f982739a09a4fd757b5f45fcaeef1a93dd4a3.tar.lz
tangerine-wallet-browser-1a4f982739a09a4fd757b5f45fcaeef1a93dd4a3.tar.xz
tangerine-wallet-browser-1a4f982739a09a4fd757b5f45fcaeef1a93dd4a3.tar.zst
tangerine-wallet-browser-1a4f982739a09a4fd757b5f45fcaeef1a93dd4a3.zip
Merge pull request #1606 from MetaMask/ubuntu-warning
Warn Users about potential JSON import problems
-rw-r--r--CHANGELOG.md2
-rw-r--r--ui/app/accounts/import/json.js3
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8afa1eec4..7f99e680e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
## Current Master
+- Add a warning to JSON file import.
+
## 3.7.8 2017-6-12
- Add a `ethereum:` prefix to the QR code address
diff --git a/ui/app/accounts/import/json.js b/ui/app/accounts/import/json.js
index 5ed31ab0a..158a3c923 100644
--- a/ui/app/accounts/import/json.js
+++ b/ui/app/accounts/import/json.js
@@ -5,6 +5,8 @@ const connect = require('react-redux').connect
const actions = require('../../actions')
const FileInput = require('react-simple-file-input').default
+const HELP_LINK = 'https://github.com/MetaMask/faq/blob/master/README.md#q-i-cant-use-the-import-feature-for-uploading-a-json-file-the-window-keeps-closing-when-i-try-to-select-a-file'
+
module.exports = connect(mapStateToProps)(JsonImportSubview)
function mapStateToProps (state) {
@@ -32,6 +34,7 @@ JsonImportSubview.prototype.render = function () {
}, [
h('p', 'Used by a variety of different clients'),
+ h('a.warning', { href: HELP_LINK, target: '_blank' }, 'File import not working? Click here!'),
h(FileInput, {
readAs: 'text',