Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion echo/frontend/src/components/common/NavigationButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const NavigationButton = ({
)}
>
<Group className="w-full justify-between">
<Text size="lg" className="font-semibold max-w-full">
<Text size="lg" className="font-semibold max-w-full flex-1">
{children}
</Text>
{!!rightContent && rightContent}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import {
ScrollArea,
Center,
Badge,
Box,
} from "@mantine/core";
import {
useState,
Expand Down Expand Up @@ -387,13 +388,6 @@ export const ConversationStatusIndicators = ({
</Badge>
)}

{
// if from portal and not finished
!isUpload && conversation.is_finished === false && (
<div className="h-2 w-2 animate-pulse rounded-full bg-red-500" />
)
}

{!!project?.is_enhanced_audio_processing_enabled &&
// if processing still
// don't show this if both is_finished and is_audio_processing_finished are true
Expand Down Expand Up @@ -429,7 +423,7 @@ export const ConversationStatusIndicators = ({
{t`Empty`}
</Badge>
)}
{/*
{/*
{conversation.error != null && (
<Tooltip
label={t`Processing failed for this conversation. This conversation will not be available for analysis and chat.`}
Expand Down Expand Up @@ -470,6 +464,8 @@ const ConversationAccordionItem = ({
);

const isAutoSelectEnabled = chatContextQuery.data?.auto_select_bool ?? false;
const isUpload =
conversation.source?.toLowerCase().includes("upload") ?? false;

// Check if conversation has any content

Expand Down Expand Up @@ -504,13 +500,24 @@ const ConversationAccordionItem = ({
showDuration={showDuration}
/>
</Stack>
<div>
<div className="flex items-center justify-between gap-4">
<Text size="xs" c="gray.6" className="pl-[4px]">
{formatRelative(
new Date(conversation.created_at ?? new Date()),
new Date(),
)}
</Text>
{
// if from portal and not finished
!isUpload && conversation.is_finished === false && (
<Box className="flex items-center gap-1 pr-[4px]">
<div className="h-2 w-2 animate-pulse rounded-full bg-red-500" />
<Text size="xs" fs="italic" fw={500}>
<Trans>Live</Trans>
</Text>
</Box>
)
}
</div>
<Group gap="4" pr="sm" wrap="wrap">
{conversation.tags &&
Expand Down
Loading