From 37b03b09a1788759f8ea18daf6545e6b54ec2934 Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Thu, 20 Jan 2022 22:56:15 +0100 Subject: [PATCH] [Account Switching] Design changes to settings menu (#1244) * Design changes to settings menu * Remove black border on settings headers * Pull in jslib * Only load account related settings when authed * Hide account related settings when not authed * Change settings titles * Changes discussed with Danielle --- package-lock.json | 12 +- src/app/accounts/settings.component.html | 589 +++++++++++++---------- src/app/accounts/settings.component.ts | 40 +- src/locales/en/messages.json | 18 +- src/scss/box.scss | 41 ++ 5 files changed, 419 insertions(+), 281 deletions(-) diff --git a/package-lock.json b/package-lock.json index bd5f529eff..5588e625da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3955,9 +3955,9 @@ } }, "node_modules/electron/node_modules/@types/node": { - "version": "14.18.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.0.tgz", - "integrity": "sha512-0GeIl2kmVMXEnx8tg1SlG6Gg8vkqirrW752KqolYo1PHevhhZN3bhJ67qHj+bQaINhX0Ra3TlWwRvMCd9iEfNQ==" + "version": "14.18.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.9.tgz", + "integrity": "sha512-j11XSuRuAlft6vLDEX4RvhqC0KxNxx6QIyMXNb0vHHSNPXTPeiy3algESWmOOIzEtiEL0qiowPU3ewW9hHVa7Q==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -12804,9 +12804,9 @@ }, "dependencies": { "@types/node": { - "version": "14.18.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.0.tgz", - "integrity": "sha512-0GeIl2kmVMXEnx8tg1SlG6Gg8vkqirrW752KqolYo1PHevhhZN3bhJ67qHj+bQaINhX0Ra3TlWwRvMCd9iEfNQ==" + "version": "14.18.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.9.tgz", + "integrity": "sha512-j11XSuRuAlft6vLDEX4RvhqC0KxNxx6QIyMXNb0vHHSNPXTPeiy3algESWmOOIzEtiEL0qiowPU3ewW9hHVa7Q==" } } }, diff --git a/src/app/accounts/settings.component.html b/src/app/accounts/settings.component.html index 92e20e6f54..4fce479219 100644 --- a/src/app/accounts/settings.component.html +++ b/src/app/accounts/settings.component.html @@ -2,278 +2,345 @@