From b72c053d1ab02f8061fcb61dcc9ed0c683f68267 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Tue, 3 Dec 2024 15:25:06 +0100 Subject: [PATCH 1/6] Add `Close` tooltip to dialog (#28617) * Add `Close` tooltip to dialog * Update snapshots --- src/components/views/dialogs/BaseDialog.tsx | 1 + .../right_panel/__snapshots__/UserInfo-test.tsx.snap | 4 ++-- .../views/rooms/__snapshots__/RoomHeader-test.tsx.snap | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/views/dialogs/BaseDialog.tsx b/src/components/views/dialogs/BaseDialog.tsx index 00da8b4f526..ccb162e1cba 100644 --- a/src/components/views/dialogs/BaseDialog.tsx +++ b/src/components/views/dialogs/BaseDialog.tsx @@ -119,6 +119,7 @@ export default class BaseDialog extends React.Component { diff --git a/test/unit-tests/components/views/right_panel/__snapshots__/UserInfo-test.tsx.snap b/test/unit-tests/components/views/right_panel/__snapshots__/UserInfo-test.tsx.snap index 06a3c3a12b4..17440813897 100644 --- a/test/unit-tests/components/views/right_panel/__snapshots__/UserInfo-test.tsx.snap +++ b/test/unit-tests/components/views/right_panel/__snapshots__/UserInfo-test.tsx.snap @@ -88,7 +88,7 @@ exports[` with crypto enabled renders 1`] = `
{_t("slash_command|verify_success_description", { userId, deviceId })}
{text}
{device.deviceId}
- {key} -
{_t("encryption|verification|manual_device_verification_footer")}
{askToVerifyText}
- Confirm by comparing the following with the User Settings in your other session: -
- XYZ -
- - ABCD EFGH - -
- If they don't match, the security of your communication may be compromised. -
- Confirm this user's session by comparing the following with their User Settings: -
+ Alice (@alice:example.org) signed in to a new session without verifying it: +
+ (device_id) +
+ Ask this user to verify their session, or manually verify it below. +
+ You signed in to a new session without verifying it: +
+ Verify your other session using one of the options below. +