From bb4bffe1e85ea16f2fe1e0e48e5f78cc879e8fd3 Mon Sep 17 00:00:00 2001 From: Kerry Archibald Date: Wed, 26 Oct 2022 11:03:19 +0200 Subject: [PATCH] learn more for session renaming --- .../settings/devices/DeviceDetailHeading.tsx | 18 +++++++++++++++++- src/i18n/strings/en_EN.json | 5 ++++- .../DeviceDetailHeading-test.tsx.snap | 9 ++++++++- 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/src/components/views/settings/devices/DeviceDetailHeading.tsx b/src/components/views/settings/devices/DeviceDetailHeading.tsx index 2673ef4e89..16c0eb8bad 100644 --- a/src/components/views/settings/devices/DeviceDetailHeading.tsx +++ b/src/components/views/settings/devices/DeviceDetailHeading.tsx @@ -19,6 +19,7 @@ import React, { FormEvent, useEffect, useState } from 'react'; import { _t } from '../../../../languageHandler'; import AccessibleButton from '../../elements/AccessibleButton'; import Field from '../../elements/Field'; +import LearnMore from '../../elements/LearnMore'; import Spinner from '../../elements/Spinner'; import { Caption } from '../../typography/Caption'; import Heading from '../../typography/Heading'; @@ -88,7 +89,22 @@ const DeviceNameEditor: React.FC void }> = ({ - { _t('Please be aware that session names are also visible to people you communicate with') } + { _t('Please be aware that session names are also visible to people you communicate with.') } + +

+ { _t(`Other users in direct messages and rooms that you join ` + + `are able to view a full list of your sessions.`, + ) } +

+

+ { _t(`This provides them with confidence that they are really speaking to you, ` + + `but it also means they can see the session name you enter here.`, + ) } +

+ } + /> { !!error && - Please be aware that session names are also visible to people you communicate with + Please be aware that session names are also visible to people you communicate with. +