diff --git a/www/app/[domain]/transcripts/[transcriptId]/page.tsx b/www/app/[domain]/transcripts/[transcriptId]/page.tsx index 55d157a3..93022ed4 100644 --- a/www/app/[domain]/transcripts/[transcriptId]/page.tsx +++ b/www/app/[domain]/transcripts/[transcriptId]/page.tsx @@ -93,6 +93,8 @@ export default function TranscriptDetails(details: TranscriptDetails) { useActiveTopic={useActiveTopic} autoscroll={false} transcriptId={transcriptId} + status={transcript.response?.status} + currentTranscriptText="" /> {transcript.response && topics.topics ? ( <> diff --git a/www/app/[domain]/transcripts/fileUploadButton.tsx b/www/app/[domain]/transcripts/fileUploadButton.tsx index b4225e09..2e25398d 100644 --- a/www/app/[domain]/transcripts/fileUploadButton.tsx +++ b/www/app/[domain]/transcripts/fileUploadButton.tsx @@ -37,7 +37,7 @@ export default function FileUploadButton(props: FileUploadButton) { onClick={triggerFileUpload} colorScheme="blue" mr={2} - disabled={props.disabled} + isDisabled={props.disabled} > Upload File diff --git a/www/app/[domain]/transcripts/topicList.tsx b/www/app/[domain]/transcripts/topicList.tsx index 64266721..2a3bbfc6 100644 --- a/www/app/[domain]/transcripts/topicList.tsx +++ b/www/app/[domain]/transcripts/topicList.tsx @@ -42,7 +42,7 @@ export function TopicList({ const scrollToTopic = () => { const topicDiv = document.getElementById( - `accordion-button-topic-${activeTopic?.id}`, + `accordion-button-topic-${activeTopic?.id}` ); setTimeout(() => { @@ -63,7 +63,7 @@ export function TopicList({ const toggleScroll = (element) => { const bottom = Math.abs( - element.scrollHeight - element.clientHeight - element.scrollTop, + element.scrollHeight - element.clientHeight - element.scrollTop ) < 2 || element.scrollHeight == element.clientHeight; if (!bottom && autoscrollEnabled) { setAutoscrollEnabled(false); @@ -97,7 +97,7 @@ export function TopicList({ if (!participants.response) return; return ( participants.response.find( - (participant) => participant.speaker == speakerNumber, + (participant) => participant.speaker == speakerNumber )?.name || `Speaker ${speakerNumber}` ); }; @@ -134,6 +134,8 @@ export function TopicList({ overflowY={"auto"} h={"100%"} onScroll={handleScroll} + width="full" + padding={2} > {topics.length > 0 && ( { setActiveTopic( - activeTopic?.id == topic.id ? null : topic, + activeTopic?.id == topic.id ? null : topic ); }} > @@ -199,7 +200,7 @@ export function TopicList({ fontSize={"sm"} color={generateHighContrastColor( `Speaker ${segment.speaker}`, - [96, 165, 250], + [96, 165, 250] )} > {" "} diff --git a/www/app/styles/icons/pause.tsx b/www/app/styles/icons/pause.tsx index 1a7adf47..23d055ed 100644 --- a/www/app/styles/icons/pause.tsx +++ b/www/app/styles/icons/pause.tsx @@ -5,8 +5,8 @@ export default function PauseIcon(props) {