From 907b3c359fdc3b1e56a555efc22e488a19690cd8 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Thu, 20 Jan 2022 23:26:01 -0800 Subject: [PATCH] fixing things and little adjustments --- components/demo/Announcements.tsx | 10 +++++----- components/demo/TeamVoiceLine.tsx | 4 ++-- components/demo/VoiceLineConceptDemo.tsx | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/demo/Announcements.tsx b/components/demo/Announcements.tsx index 930bea2..153221f 100644 --- a/components/demo/Announcements.tsx +++ b/components/demo/Announcements.tsx @@ -20,18 +20,18 @@ export default function Announcements(props: IVoiceDemoProps) { setShowAnnouncement(true); var audio = new Audio( - "https://firebasestorage.googleapis.com/v0/b/nirvana-for-business.appspot.com/o/messages%2Fbb649032-64cc-46f7-b0b1-bcb57704a0a7.mp3?alt=media&token=919c596b-c829-4c70-85ce-134d5c348730" + "https://firebasestorage.googleapis.com/v0/b/nirvana-for-business.appspot.com/o/messages%2Fb2858200-4a15-478a-b863-bdf88b26b2e4.mp3?alt=media&token=3ffc8955-50fa-4418-a146-1c73f56409d1" ); audio.play(); - toast.success("Live Announcement from Arjun"); + toast.success("Harold's saying his update!"); }, 2000); setTimeout(function () { props.handleChangeDemoStep(DemoStep.doneDemo); toast.success("done with the demo!"); - }, 9000); + }, 11000); } }, [props.demoStep]); @@ -89,7 +89,7 @@ export default function Announcements(props: IVoiceDemoProps) { profile - Arjun + Harold 2 seconds ago engineering diff --git a/components/demo/TeamVoiceLine.tsx b/components/demo/TeamVoiceLine.tsx index 9bc9425..d07b179 100644 --- a/components/demo/TeamVoiceLine.tsx +++ b/components/demo/TeamVoiceLine.tsx @@ -13,7 +13,7 @@ import { GlobalHotKeys, HotKeys, KeySequence, KeyMap } from "react-hotkeys"; let testFriends = [ { - name: "Liam", + name: "Harold", role: "engineer", systemAvatar: "29", status: UserStatus.online, @@ -224,7 +224,7 @@ function TeamVoiceLine(props: IVoiceDemoProps) { title={ "PRESS AND HOLD R (on your keyboard) to record a message and send" } - defaultVisible={true} + visible={!isRecording} >