From bd657cb3fac4fcde67186e27217b3f0dcd257d58 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 25 Mar 2020 11:36:07 +0000 Subject: [PATCH 01/48] fix(deps): update dependency fs-extra to v9 (#1853) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 37 +++++++++++++++++++++++++++++-------- 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 075dfc8826..0fa8c51bcf 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "electron-updater": "^4.1.2", "electron-window-state": "^5.0.3", "emittery": "^0.6.0", - "fs-extra": "^8.1.0", + "fs-extra": "^9.0.0", "getdomain": "^1.3.1", "got": "^9.6.0", "jsonschema": "^1.2.4", diff --git a/yarn.lock b/yarn.lock index 96300a0e10..9a26f76f90 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2276,6 +2276,11 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= +at-least-node@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" + integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== + atob@^2.1.1: version "2.1.2" resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" @@ -6255,6 +6260,16 @@ fs-extra@^8.1.0: jsonfile "^4.0.0" universalify "^0.1.0" +fs-extra@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.0.tgz#b6afc31036e247b2466dc99c29ae797d5d4580a3" + integrity sha512-pmEYSk3vYsG/bF651KPUXZ+hvjpgWYw/Gc7W9NFUe3ZVLczKKWIij3IKpOrQcdw4TILtibFslZ0UmR8Vvzig4g== + dependencies: + at-least-node "^1.0.0" + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^1.0.0" + fs-minipass@^1.2.5: version "1.2.7" resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" @@ -8424,6 +8439,15 @@ jsonfile@^4.0.0: optionalDependencies: graceful-fs "^4.1.6" +jsonfile@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.0.1.tgz#98966cba214378c8c84b82e085907b40bf614179" + integrity sha512-jR2b5v7d2vIOust+w3wtFKZIfpC2pnRmFAhAC/BuweZFQR8qZzxH1OyrQ10HmdVYiXWkYUqPVsz91cG7EL2FBg== + dependencies: + universalify "^1.0.0" + optionalDependencies: + graceful-fs "^4.1.6" + jsonschema@^1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/jsonschema/-/jsonschema-1.2.4.tgz#a46bac5d3506a254465bc548876e267c6d0d6464" @@ -11905,14 +11929,6 @@ schema-utils@^2.6.5: ajv "^6.12.0" ajv-keywords "^3.4.1" -schema-utils@^2.6.5: - version "2.6.5" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.6.5.tgz#c758f0a7e624263073d396e29cd40aa101152d8a" - integrity sha512-5KXuwKziQrTVHh8j/Uxz+QUbxkaLW9X/86NBlx/gnKgtsZA2GIVMUn17qWhRFwF8jdYb3Dig5hRO/W5mZqy6SQ== - dependencies: - ajv "^6.12.0" - ajv-keywords "^3.4.1" - scrypt-js@2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-2.0.3.tgz#bb0040be03043da9a012a2cea9fc9f852cfc87d4" @@ -13570,6 +13586,11 @@ universalify@^0.1.0: resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== +universalify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-1.0.0.tgz#b61a1da173e8435b2fe3c67d29b9adf8594bd16d" + integrity sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug== + unpipe@1.0.0, unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" From b1d06ee2662a681641b469f43be6b288f0f67174 Mon Sep 17 00:00:00 2001 From: Breno Polanski Date: Tue, 31 Mar 2020 00:11:42 -0300 Subject: [PATCH 02/48] chore: remove vue-i18n-extract and some readme tweaks (#1874) --- README.md | 11 +---------- package.json | 2 -- yarn.lock | 47 +---------------------------------------------- 3 files changed, 2 insertions(+), 58 deletions(-) diff --git a/README.md b/README.md index cd5455a73c..0f20ea8e1c 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ brew cask install ark-desktop-wallet ## Translations -Translations are no longer accepted for the Desktop Wallet. Our plan is to use plugins to provide languages in the near future. +Translations are no longer accepted for the Desktop Wallet. We are using plugins to provide languages. ## Development @@ -114,15 +114,6 @@ yarn test:e2e # Build the application and run end-to-end tests yarn test:e2e:full - -# List what translations are missing or unused on a specific language. It could capture suggestions that are not accurate -yarn i18n 'src/renderer/i18n/locales/LANGUAGE.js' - -# List what English messages are missing or unused (English is the default language) -yarn i18n:en-US - -# List what translations are missing or unused on every language -yarn i18n:all ``` diff --git a/package.json b/package.json index 0fa8c51bcf..70a5377059 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,6 @@ "build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js", "build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js", "dev": "cross-env ENABLE_SCREENSHOT_PROTECTION=false node .electron-vue/dev-runner.js", - "i18n": "vue-i18n-extract report -v 'src/**/*.?(js|vue)' -l 'src/renderer/i18n/locales/en-US.js'", "lint": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter src __tests__", "lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix src __tests__", "pack": "npm run pack:main && npm run pack:renderer", @@ -191,7 +190,6 @@ "typescript": "^3.5.3", "url-loader": "^4.0.0", "vue-html-loader": "^1.2.4", - "vue-i18n-extract": "^1.0.2", "vue-jest": "^3.0.4", "vue-loader": "^15.7.1", "vue-style-loader": "^4.1.2", diff --git a/yarn.lock b/yarn.lock index 9a26f76f90..3507cfd207 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3578,16 +3578,6 @@ cli-cursor@^2.0.0, cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" -cli-table3@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.5.1.tgz#0252372d94dfc40dbd8df06005f48f31f656f202" - integrity sha512-7Qg2Jrep1S/+Q3EceiZtQcDPWxhAvBw+ERf1162v4sikJrvojMHFqXt8QIVha8UlH9rgU0BeWPytZ9/TzYqlUw== - dependencies: - object-assign "^4.1.0" - string-width "^2.1.1" - optionalDependencies: - colors "^1.1.2" - cli-truncate@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" @@ -3737,11 +3727,6 @@ color@^3.1.0: color-convert "^1.9.1" color-string "^1.5.2" -colors@^1.1.2: - version "1.4.0" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" - integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== - combined-stream@^1.0.6, combined-stream@~1.0.6: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" @@ -4827,14 +4812,6 @@ dot-case@^2.1.0: dependencies: no-case "^2.2.0" -dot-object@^1.7.1: - version "1.9.0" - resolved "https://registry.yarnpkg.com/dot-object/-/dot-object-1.9.0.tgz#6e3d6d8379f794c5174599ddf05528f5990f076e" - integrity sha512-7MPN6y7XhAO4vM4eguj5+5HNKLjJYfkVG1ZR1Aput4Q4TR6SYeSjhpVQ77IzJHoSHffKbDxBC+48aCiiRurDPw== - dependencies: - commander "^2.20.0" - glob "^7.1.4" - dot-prop@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.2.0.tgz#c34ecc29556dc45f1f4c22697b6f4904e0cc4fcb" @@ -5470,11 +5447,6 @@ eslint@^6.1.0: text-table "^0.2.0" v8-compile-cache "^2.0.3" -esm@^3.2.13: - version "3.2.25" - resolved "https://registry.yarnpkg.com/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10" - integrity sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA== - espree@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/espree/-/espree-5.0.1.tgz#5d6526fa4fc7f0788a5cf75b15f30323e2f81f7a" @@ -7695,11 +7667,6 @@ is-utf8@^0.2.0: resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" integrity sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI= -is-valid-glob@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-valid-glob/-/is-valid-glob-1.0.0.tgz#29bf3eff701be2d4d315dbacc39bc39fe8f601aa" - integrity sha1-Kb8+/3Ab4tTTFdusw5vDn+j2Aao= - is-whitespace@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/is-whitespace/-/is-whitespace-0.3.0.tgz#1639ecb1be036aec69a54cbb401cfbed7114ab7f" @@ -13939,18 +13906,6 @@ vue-html-loader@^1.2.4: loader-utils "^1.0.2" object-assign "^4.1.0" -vue-i18n-extract@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/vue-i18n-extract/-/vue-i18n-extract-1.0.2.tgz#0a136e12d1634d6799e187aad81a7003d02f67a5" - integrity sha512-+zwDKvle4KcfloXZnj5hF01ViKDiFr5RMx5507D7oyDXpSleRpekF5YHgZa/+Ra6Go68//z0Nya58J9tKFsCjw== - dependencies: - cli-table3 "^0.5.1" - dot-object "^1.7.1" - esm "^3.2.13" - glob "^7.1.3" - is-valid-glob "^1.0.0" - yargs "^13.2.2" - vue-i18n@^8.12.0: version "8.14.1" resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-8.14.1.tgz#0ca0a2742c14e0144481655157fffcc7cc313e50" @@ -14941,7 +14896,7 @@ yargs@13.2.4: y18n "^4.0.0" yargs-parser "^13.1.0" -yargs@^13.2.2, yargs@^13.3.0: +yargs@^13.3.0: version "13.3.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.0.tgz#4c657a55e07e5f2cf947f8a366567c04a0dedc83" integrity sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA== From 8d727c715654df415922c845fc15a4b9ec1aadd8 Mon Sep 17 00:00:00 2001 From: Edgar Goetzendorff Date: Wed, 1 Apr 2020 13:43:44 +0200 Subject: [PATCH 03/48] fix: use margin instead of border as separator (#1866) Co-authored-by: Alex Barnsley <8069294+alexbarnsley@users.noreply.github.com> --- src/renderer/components/Button/ButtonDropdown.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/Button/ButtonDropdown.vue b/src/renderer/components/Button/ButtonDropdown.vue index 315f93b00c..c091609399 100644 --- a/src/renderer/components/Button/ButtonDropdown.vue +++ b/src/renderer/components/Button/ButtonDropdown.vue @@ -189,8 +189,8 @@ export default { diff --git a/src/renderer/pages/Profile/ProfileNew.vue b/src/renderer/pages/Profile/ProfileNew.vue index 6ff90a55b6..e244c67a92 100644 --- a/src/renderer/pages/Profile/ProfileNew.vue +++ b/src/renderer/pages/Profile/ProfileNew.vue @@ -79,7 +79,7 @@ /> -
+
{{ $t('COMMON.AVATAR') }} @@ -169,7 +169,7 @@ />
-
+
{{ $t('COMMON.BACKGROUND') }} @@ -447,3 +447,15 @@ export default { } } + + From 4834c554da854ed3d1c9bdf2c65192ecf07e76c1 Mon Sep 17 00:00:00 2001 From: Breno Polanski Date: Thu, 9 Apr 2020 00:06:09 -0300 Subject: [PATCH 10/48] feat: add icon indicator for multisig wallets (#1877) --- src/renderer/assets/svg/multi-signature.svg | 11 +++ src/renderer/components/Wallet/WalletGrid.vue | 72 +++++++++++-------- .../WalletHeadingPrimaryActions.vue | 12 +++- .../components/Wallet/WalletTable.vue | 22 ++++++ src/renderer/i18n/locales/en-US.js | 1 + 5 files changed, 86 insertions(+), 32 deletions(-) create mode 100644 src/renderer/assets/svg/multi-signature.svg diff --git a/src/renderer/assets/svg/multi-signature.svg b/src/renderer/assets/svg/multi-signature.svg new file mode 100644 index 0000000000..c2de64287e --- /dev/null +++ b/src/renderer/assets/svg/multi-signature.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/src/renderer/components/Wallet/WalletGrid.vue b/src/renderer/components/Wallet/WalletGrid.vue index 097d595d96..852516d921 100644 --- a/src/renderer/components/Wallet/WalletGrid.vue +++ b/src/renderer/components/Wallet/WalletGrid.vue @@ -69,41 +69,51 @@
- - - - +
+ - - + + + + +
diff --git a/src/renderer/components/Wallet/WalletHeading/WalletHeadingPrimaryActions.vue b/src/renderer/components/Wallet/WalletHeading/WalletHeadingPrimaryActions.vue index 61eb1fe440..629d7c117c 100644 --- a/src/renderer/components/Wallet/WalletHeading/WalletHeadingPrimaryActions.vue +++ b/src/renderer/components/Wallet/WalletHeading/WalletHeadingPrimaryActions.vue @@ -3,6 +3,14 @@ key="PrimaryActions" class="WalletHeading__PrimaryActions flex items-center" > + +