From 1b43fc0f3b80b70a9c4c47c69465ab73cc60cce0 Mon Sep 17 00:00:00 2001 From: Kerry Archibald Date: Fri, 13 Jan 2023 15:42:11 +1300 Subject: [PATCH 1/3] compound devices icon --- res/img/element-icons/settings/devices.svg | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 res/img/element-icons/settings/devices.svg diff --git a/res/img/element-icons/settings/devices.svg b/res/img/element-icons/settings/devices.svg new file mode 100644 index 00000000000..4d2f171993d --- /dev/null +++ b/res/img/element-icons/settings/devices.svg @@ -0,0 +1,5 @@ + + + + From 37ffc4e176e4a22a56a1581c9569bb91067305b9 Mon Sep 17 00:00:00 2001 From: Kerry Archibald Date: Fri, 13 Jan 2023 15:52:20 +1300 Subject: [PATCH 2/3] update icon for new session manager tab --- res/css/views/dialogs/_UserSettingsDialog.pcss | 4 ++++ src/components/views/dialogs/UserSettingsDialog.tsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/res/css/views/dialogs/_UserSettingsDialog.pcss b/res/css/views/dialogs/_UserSettingsDialog.pcss index 118c057b83b..41d39f8b791 100644 --- a/res/css/views/dialogs/_UserSettingsDialog.pcss +++ b/res/css/views/dialogs/_UserSettingsDialog.pcss @@ -49,6 +49,10 @@ limitations under the License. mask-image: url("$(res)/img/element-icons/security.svg"); } +.mx_UserSettingsDialog_sessionsIcon::before { + mask-image: url("$(res)/img/element-icons/settings/devices.svg"); +} + .mx_UserSettingsDialog_helpIcon::before { mask-image: url("$(res)/img/element-icons/settings/help.svg"); } diff --git a/src/components/views/dialogs/UserSettingsDialog.tsx b/src/components/views/dialogs/UserSettingsDialog.tsx index a7877072b36..7b33ca58da3 100644 --- a/src/components/views/dialogs/UserSettingsDialog.tsx +++ b/src/components/views/dialogs/UserSettingsDialog.tsx @@ -164,7 +164,7 @@ export default class UserSettingsDialog extends React.Component new Tab( UserTab.SessionManager, _td("Sessions"), - "mx_UserSettingsDialog_securityIcon", + "mx_UserSettingsDialog_sessionsIcon", , // don't track with posthog while under construction undefined, From f1ff68f6596646a542a17af9ea58fdd060d28257 Mon Sep 17 00:00:00 2001 From: Kerry Archibald Date: Fri, 13 Jan 2023 16:04:10 +1300 Subject: [PATCH 3/3] condense privacy > analytics / sessions sections slightly --- .../views/settings/tabs/user/SecurityUserSettingsTab.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/views/settings/tabs/user/SecurityUserSettingsTab.tsx b/src/components/views/settings/tabs/user/SecurityUserSettingsTab.tsx index 018ecf76ae5..550b395da5b 100644 --- a/src/components/views/settings/tabs/user/SecurityUserSettingsTab.tsx +++ b/src/components/views/settings/tabs/user/SecurityUserSettingsTab.tsx @@ -353,8 +353,6 @@ export default class SecurityUserSettingsTab extends React.Component )} - -
{_t("Sessions")}