From 3ad976570b0c3fa64d16d04fec5a85625b30176c Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 4 Oct 2016 12:38:58 -0700 Subject: Add announcer script I always keep writing up this same announcement message whenever I publish a new version. I've now written a script to automate my announcement formatting, it looks like this: ``` **MetaMask 2.13.2** now published to the Chrome Store! It should be available over the next hour! 2016-10-4 - Fix bug where chosen FIAT exchange rate does no persist when switching networks - Fix additional parameters that made MetaMask sometimes receive errors from Parity. - Fix bug where invalid transactions would still open the MetaMask popup. ``` --- development/announcer.js | 12 ++++++++++++ package.json | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 development/announcer.js diff --git a/development/announcer.js b/development/announcer.js new file mode 100644 index 000000000..8939244d3 --- /dev/null +++ b/development/announcer.js @@ -0,0 +1,12 @@ +var manifest = require('../app/manifest.json') +var version = manifest.version + +var fs = require('fs') +var path = require('path') +var changelog = fs.readFileSync(path.join(__dirname, '..', 'CHANGELOG.md')).toString() + +var log = changelog.split(version)[1].split('##')[0].trim() + +let msg = `**MetaMask ${version}** now published to the Chrome Store! It should be available over the next hour!\n${log}` + +console.log(msg) diff --git a/package.json b/package.json index b59a7ca44..72c682173 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "mock": "beefy mock-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./", "buildMock": "browserify ./mock-dev.js -o ./development/bundle.js", "testem": "npm run buildMock && testem", - "ci": "npm run buildMock && testem ci -P 2" + "ci": "npm run buildMock && testem ci -P 2", + "announce": "node development/announcer.js" }, "browserify": { "transform": [ -- cgit From c7d10affd553dbfd237346fae5de6862ec917e3a Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 4 Oct 2016 13:04:54 -0700 Subject: Make seed word confirmation button font smaller To avoid formatting glitches on some machines. --- CHANGELOG.md | 2 ++ ui/app/first-time/create-vault-complete.js | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ddc354e89..a62d272f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Current Master +- Decreased vault confirmation button font size to help some Linux users who could not see it. + ## 2.13.2 2016-10-4 - Fix bug where chosen FIAT exchange rate does no persist when switching networks diff --git a/ui/app/first-time/create-vault-complete.js b/ui/app/first-time/create-vault-complete.js index 0ca0a1b22..2b5413955 100644 --- a/ui/app/first-time/create-vault-complete.js +++ b/ui/app/first-time/create-vault-complete.js @@ -61,6 +61,7 @@ CreateVaultCompleteScreen.prototype.render = function () { onClick: () => this.confirmSeedWords(), style: { margin: '24px', + fontSize: '0.9em', }, }, 'I\'ve copied it somewhere safe'), ]) -- cgit From f9eba9d7e52d55180d4a86bbc0cd14682a190c5c Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 4 Oct 2016 13:10:28 -0700 Subject: Make popup a little taller For some reason the popup was often cutting off the bottom buttons of the UI. We should look at that more carefully later perhaps, but especially since we're considering moving off the popup, I'm just fixing it by making it taller for now. --- app/scripts/lib/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/lib/notifications.js b/app/scripts/lib/notifications.js index 422f46f6d..cd7535232 100644 --- a/app/scripts/lib/notifications.js +++ b/app/scripts/lib/notifications.js @@ -1,5 +1,5 @@ const extension = require('./extension') -const height = 500 +const height = 520 const width = 360 const notifications = { -- cgit From 55364b6ee31bdb91d19a5e69dcf3be9ccf49e94a Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 4 Oct 2016 13:13:58 -0700 Subject: Bump changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a62d272f3..5b384e342 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Current Master - Decreased vault confirmation button font size to help some Linux users who could not see it. +- Made popup a little taller because it would sometimes cut off buttons. ## 2.13.2 2016-10-4 -- cgit From 0b5984767ba5b1b94d95f7945c11cd294cad971b Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 4 Oct 2016 14:22:47 -0700 Subject: Add Opera compatibility - Fix incorrect OS key - Add additional icon image sizes. --- app/images/icon-32.png | Bin 0 -> 1730 bytes app/images/icon-64.png | Bin 0 -> 3573 bytes app/manifest.json | 5 +++-- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 app/images/icon-32.png create mode 100644 app/images/icon-64.png diff --git a/app/images/icon-32.png b/app/images/icon-32.png new file mode 100644 index 000000000..f801ebb6b Binary files /dev/null and b/app/images/icon-32.png differ diff --git a/app/images/icon-64.png b/app/images/icon-64.png new file mode 100644 index 000000000..b3019ad65 Binary files /dev/null and b/app/images/icon-64.png differ diff --git a/app/manifest.json b/app/manifest.json index d6738a5fa..6f0eacf77 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -10,7 +10,7 @@ "suggested_key": { "windows": "Alt+Shift+M", "mac": "Alt+Shift+M", - "chromeos": "Search+M", + "chromeos": "Alt+Shift+M", "linux": "Alt+Shift+M" } } @@ -55,9 +55,10 @@ } ], "permissions": [ - "notifications", "storage", "tabs", + "clipboardWrite", + "clipboardRead", "http://localhost:8545/" ], "web_accessible_resources": [ -- cgit