diff --git a/www/app/[domain]/browse/page.tsx b/www/app/[domain]/browse/page.tsx index 4a59c6dc..7cbb3d19 100644 --- a/www/app/[domain]/browse/page.tsx +++ b/www/app/[domain]/browse/page.tsx @@ -216,7 +216,7 @@ export default function TranscriptBrowser() { href={`/transcripts/${item.id}`} noOfLines={2} > - {item.title || item.name || "Unamed Transcript"} + {item.title || item.name || "Unnamed Transcript"} @@ -244,7 +244,7 @@ export default function TranscriptBrowser() { Delete{" "} - {item.title || item.name || "Unamed Transcript"} + {item.title || item.name || "Unnamed Transcript"} diff --git a/www/app/[domain]/transcripts/[transcriptId]/page.tsx b/www/app/[domain]/transcripts/[transcriptId]/page.tsx index f695786d..aa50fd5f 100644 --- a/www/app/[domain]/transcripts/[transcriptId]/page.tsx +++ b/www/app/[domain]/transcripts/[transcriptId]/page.tsx @@ -101,7 +101,7 @@ export default function TranscriptDetails(details: TranscriptDetails) { colSpan={{ base: 1, md: 2 }} > diff --git a/www/app/[domain]/transcripts/[transcriptId]/record/page.tsx b/www/app/[domain]/transcripts/[transcriptId]/record/page.tsx index fbe219a8..bde06e46 100644 --- a/www/app/[domain]/transcripts/[transcriptId]/record/page.tsx +++ b/www/app/[domain]/transcripts/[transcriptId]/record/page.tsx @@ -11,7 +11,7 @@ import { useRouter } from "next/navigation"; import Player from "../../player"; import useMp3 from "../../useMp3"; import WaveformLoading from "../../waveformLoading"; -import { Box, Text, Grid } from "@chakra-ui/react"; +import { Box, Text, Grid, Heading, VStack, Flex } from "@chakra-ui/react"; import LiveTrancription from "../../liveTranscription"; type TranscriptDetails = { @@ -78,46 +78,51 @@ const TranscriptRecord = (details: TranscriptDetails) => { // todo: only start recording animation when you get "recorded" status )} - - - - {!transcriptStarted ? ( - - - The conversation transcript will appear here shortly after you - start recording. - - - ) : ( - status === "recording" && ( - - ) - )} - - + + {status === "processing" ? "Processing meeting" : "Record meeting"} + + + + + + + + {!transcriptStarted ? ( + + + Live transcript will appear here shortly after you'll start + recording. + + + ) : ( + status === "recording" && ( + + ) + )} + + + ); }; diff --git a/www/app/[domain]/transcripts/new/page.tsx b/www/app/[domain]/transcripts/new/page.tsx index 4287578e..ef014e79 100644 --- a/www/app/[domain]/transcripts/new/page.tsx +++ b/www/app/[domain]/transcripts/new/page.tsx @@ -126,18 +126,19 @@ const TranscriptCreate = () => { the permission setting in your browser and refresh this page.

) : ( - + )} diff --git a/www/app/[domain]/transcripts/topicList.tsx b/www/app/[domain]/transcripts/topicList.tsx index f6480913..379b9059 100644 --- a/www/app/[domain]/transcripts/topicList.tsx +++ b/www/app/[domain]/transcripts/topicList.tsx @@ -108,10 +108,6 @@ export function TopicList({ setActiveTopic(topics[topics.length - 1]); }, [topics]); - useEffect(() => { - if (activeTopic && currentTranscriptText) setActiveTopic(null); - }, [activeTopic, currentTranscriptText]); - return ( - Discussion transcript will appear here after you start + Full discussion transcript will appear here after you start recording. diff --git a/www/app/[domain]/transcripts/useWebSockets.ts b/www/app/[domain]/transcripts/useWebSockets.ts index 4a7d1b38..3b5cca62 100644 --- a/www/app/[domain]/transcripts/useWebSockets.ts +++ b/www/app/[domain]/transcripts/useWebSockets.ts @@ -95,6 +95,7 @@ export const useWebSockets = (transcriptId: string | null): UseWebSockets => { ]; setTranscriptTextLive("Lorem Ipsum"); + setStatus({ value: "recording" }); setTopics([ { id: "1", @@ -198,7 +199,7 @@ export const useWebSockets = (transcriptId: string | null): UseWebSockets => { setAccumulatedText( "This text is in English, and it is a pretty long sentence to test the limits. This text is in English, and it is a pretty long sentence to test the limits", ); - setStatus({ value: "recording" }); + setStatus({ value: "processing" }); setTopics([ { id: "1", diff --git a/www/app/[domain]/transcripts/waveformLoading.tsx b/www/app/[domain]/transcripts/waveformLoading.tsx index 56540927..6b0eae0c 100644 --- a/www/app/[domain]/transcripts/waveformLoading.tsx +++ b/www/app/[domain]/transcripts/waveformLoading.tsx @@ -1,11 +1,7 @@ -import { faSpinner } from "@fortawesome/free-solid-svg-icons"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; +import { Center, Spinner } from "@chakra-ui/react"; export default () => ( -
- -
+
+ +
);