From 538748f90fee98bc44627d2865990e82692bd204 Mon Sep 17 00:00:00 2001 From: Rita Anene <92169163+Camillarhi@users.noreply.github.com> Date: Thu, 8 Aug 2024 12:13:58 +0100 Subject: [PATCH] [MM-59908] Migrate tooltips of 'components/threading/global_threads/thread_pane/thread_pane.tsx' to WithTooltip (#27850) --- .../thread_pane/__snapshots__/thread_pane.test.tsx.snap | 7 ++++--- .../threading/global_threads/thread_pane/thread_pane.tsx | 9 +++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/webapp/channels/src/components/threading/global_threads/thread_pane/__snapshots__/thread_pane.test.tsx.snap b/webapp/channels/src/components/threading/global_threads/thread_pane/__snapshots__/thread_pane.test.tsx.snap index 7c1f3899459..e0a0976e6db 100644 --- a/webapp/channels/src/components/threading/global_threads/thread_pane/__snapshots__/thread_pane.test.tsx.snap +++ b/webapp/channels/src/components/threading/global_threads/thread_pane/__snapshots__/thread_pane.test.tsx.snap @@ -46,9 +46,10 @@ exports[`components/threading/global_threads/thread_pane should match snapshot 1 threadId="1y8hpek81byspd4enyk9mp1ncw" unreadTimestamp={1611786714912} > - - + } diff --git a/webapp/channels/src/components/threading/global_threads/thread_pane/thread_pane.tsx b/webapp/channels/src/components/threading/global_threads/thread_pane/thread_pane.tsx index d73dd0ad639..6fa24a4b9c6 100644 --- a/webapp/channels/src/components/threading/global_threads/thread_pane/thread_pane.tsx +++ b/webapp/channels/src/components/threading/global_threads/thread_pane/thread_pane.tsx @@ -14,7 +14,7 @@ import {makeGetChannel} from 'mattermost-redux/selectors/entities/channels'; import {getPost, makeGetPostsForThread} from 'mattermost-redux/selectors/entities/posts'; import Header from 'components/widgets/header'; -import SimpleTooltip from 'components/widgets/simple_tooltip'; +import WithTooltip from 'components/with_tooltip'; import type {GlobalState} from 'types/store'; @@ -119,17 +119,18 @@ const ThreadPane = ({ hasUnreads={Boolean(thread.unread_replies || thread.unread_mentions)} unreadTimestamp={unreadTimestamp} > - - + )}