From 78bb94abc8ab23a7fd10361285879a66c05cee4c Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Fri, 11 Feb 2022 17:55:55 -0800 Subject: [PATCH] modifications to the convo view --- .../components/MainTabsOrPages/ViewConvo.tsx | 411 +++++++++--------- 1 file changed, 206 insertions(+), 205 deletions(-) diff --git a/packages/web/components/MainTabsOrPages/ViewConvo.tsx b/packages/web/components/MainTabsOrPages/ViewConvo.tsx index 2ed1946..09613d0 100644 --- a/packages/web/components/MainTabsOrPages/ViewConvo.tsx +++ b/packages/web/components/MainTabsOrPages/ViewConvo.tsx @@ -290,256 +290,257 @@ export default function ViewConvo(props: { conversationId: string }) { />
- {/* convo name and action buttons on top */} -
- {/* header */} - - - - + + + - {convo?.name} - - - - - + > + {convo?.name} - - {convo?.activeMembers && ( - - )} - - - {convo?.activeMembers.length} members - + + - - {userConvoAssoc?.state && ( - + {convo?.activeMembers && ( + )} - {userConvoAssoc?.state != ConversationMemberState.default && ( - - )} - - {userConvoAssoc?.state != ConversationMemberState.later && ( - - )} - - {userConvoAssoc?.state != ConversationMemberState.priority && ( - - )} - - {userConvoAssoc?.state != ConversationMemberState.done && ( - - )} + + {convo?.activeMembers.length} members + - {!editTldrMode ? ( - <> - setEditTldrMode(true)} - className="flex flex-row group items-center" - > - - tldr; - - - - - - - - - {convo?.tldr} - - - ) : ( - -