From 3c9ffd30b1adf5fa9ebbf52d01f8b67b82a15dc7 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 22 Sep 2022 17:18:27 -0500 Subject: [PATCH] ChatPageSidebar: add new chat icon (non-functional) --- .../chat-page/components/chat-page-sidebar.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/soapbox/features/chats/components/chat-page/components/chat-page-sidebar.tsx b/app/soapbox/features/chats/components/chat-page/components/chat-page-sidebar.tsx index bdaeb38c28..fec90dc404 100644 --- a/app/soapbox/features/chats/components/chat-page/components/chat-page-sidebar.tsx +++ b/app/soapbox/features/chats/components/chat-page/components/chat-page-sidebar.tsx @@ -1,7 +1,7 @@ import React, { useState } from 'react'; import { defineMessages, useIntl } from 'react-intl'; -import { CardTitle, Stack } from 'soapbox/components/ui'; +import { CardTitle, HStack, IconButton, Stack } from 'soapbox/components/ui'; import { useChatContext } from 'soapbox/contexts/chat-context'; import { useDebounce, useFeatures } from 'soapbox/hooks'; import { IChat } from 'soapbox/queries/chats'; @@ -27,7 +27,14 @@ const ChatPageSidebar = () => { return ( - + + + + + {features.chatsSearch && (