From c34e59e7dad2770b9911c8bf9daa4b2e1147b15a Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Sun, 6 Feb 2022 20:10:47 -0800 Subject: [PATCH] other updates to clean stuff up --- .../Conversations/ConversationFullRow.tsx | 50 +++++++++++++------ packages/web/pages/s/index.tsx | 4 +- 2 files changed, 38 insertions(+), 16 deletions(-) diff --git a/packages/web/components/Conversations/ConversationFullRow.tsx b/packages/web/components/Conversations/ConversationFullRow.tsx index 6656eff..0f18873 100644 --- a/packages/web/components/Conversations/ConversationFullRow.tsx +++ b/packages/web/components/Conversations/ConversationFullRow.tsx @@ -9,6 +9,7 @@ import { FaCheck, FaAngleRight, FaStream, + FaDotCircle, } from "react-icons/fa"; import { useRecoilValue } from "recoil"; import { @@ -74,10 +75,12 @@ export default function ConversationFullRow(props: { audio.play(); }; - // todo: + const joinLive = () => { + toast("connecting"); + }; + /** * show actions based on which state it is currently in for this user - * */ const currUserAssoc = usersConvosMap.get(props.conversation.id); @@ -106,7 +109,7 @@ export default function ConversationFullRow(props: { }`} /> - + + + + { + e.stopPropagation(); + joinLive(); + }} + className="p-2 rounded-full hover:cursor-pointer hover:bg-slate-200" + > + + + + + + { + e.stopPropagation(); + playLastClip(); + }} + className="p-2 rounded-full hover:cursor-pointer hover:bg-slate-200" + > + + + + + {props.conversation.tldr} @@ -140,18 +172,6 @@ export default function ConversationFullRow(props: { className="ml-auto flex flex-row items-center group-hover:visible invisible absolute right-5 text-slate-400" > - - { - e.stopPropagation(); - playLastClip(); - }} - className="p-2 rounded-full hover:cursor-pointer hover:bg-slate-200" - > - - - - {currConvoMemberState != ConversationMemberState.default && ( - {fullCleanPageContent} +
+ {fullCleanPageContent} +