From 2e9cde38e485ba24d3de99780b90d1fd37169613 Mon Sep 17 00:00:00 2001 From: Arkadiy Paronyan Date: Mon, 7 Nov 2016 17:41:55 +0100 Subject: [PATCH] UI fixes backporting (#3234) * Fix /parity-utils/{web3,parity}.js webpack errors (#3221) * Don't override library builds * Don't override libraries on build * Enhance working blockNumber display * Don't push empty tags to input (#3222) Former-commit-id: d3e51d21c8fc1b7cf9105e28c4719bf3ecba14e0 --- js/package.json | 6 +++--- js/src/dev.parity.html | 25 ++++++++++++++++++++++++- js/src/dev.web3.html | 27 ++++++++++++++++++++++++++- js/src/modals/EditMeta/editMeta.js | 3 +-- js/webpack.config.js | 4 ---- 5 files changed, 54 insertions(+), 11 deletions(-) diff --git a/js/package.json b/js/package.json index 2b575efe7..7f8e0f9cf 100644 --- a/js/package.json +++ b/js/package.json @@ -23,16 +23,16 @@ "Promise" ], "scripts": { - "build": "npm run build:dll && npm run build:app && npm run build:lib", + "build": "npm run build:lib && npm run build:dll && npm run build:app", "build:app": "webpack --progress", "build:lib": "webpack --config webpack.libraries --progress", "build:dll": "webpack --config webpack.vendor --progress", - "ci:build": "npm run ci:build:dll && npm run ci:build:app && npm run ci:build:lib", + "ci:build": "npm run ci:build:lib && npm run ci:build:dll && npm run ci:build:app", "ci:build:app": "NODE_ENV=production webpack", "ci:build:lib": "NODE_ENV=production webpack --config webpack.libraries", "ci:build:dll": "NODE_ENV=production webpack --config webpack.vendor", "ci:build:npm": "NODE_ENV=production webpack --config webpack.npm", - "start": "npm install && npm run build:dll && npm run start:app", + "start": "npm install && npm run build:lib && npm run build:dll && npm run start:app", "start:app": "webpack-dev-server -d --history-api-fallback --open --hot --inline --progress --colors --port 3000", "clean": "rm -rf ./build ./coverage", "coveralls": "npm run testCoverage && coveralls < coverage/lcov.info", diff --git a/js/src/dev.parity.html b/js/src/dev.parity.html index 9cfe5ac18..504dfbb70 100644 --- a/js/src/dev.parity.html +++ b/js/src/dev.parity.html @@ -6,8 +6,31 @@ dev::Parity.js + + - +
+ best block #unknown +
+ diff --git a/js/src/dev.web3.html b/js/src/dev.web3.html index 93faba8e5..f4006160a 100644 --- a/js/src/dev.web3.html +++ b/js/src/dev.web3.html @@ -6,8 +6,33 @@ dev::Web3 + + - +
+ best block #unknown +
+ diff --git a/js/src/modals/EditMeta/editMeta.js b/js/src/modals/EditMeta/editMeta.js index ad893aa17..7f0a061e2 100644 --- a/js/src/modals/EditMeta/editMeta.js +++ b/js/src/modals/EditMeta/editMeta.js @@ -99,11 +99,10 @@ export default class EditMeta extends Component { renderTags () { const { meta } = this.state; - const { tags } = meta || []; return (