Skip to content

Commit 2aa04ef

Browse files
[dev] [Marfuen] mariano/more-2 (#1581)
* chore: standardize size of panels * chore: make sure latest processing message is auto expanded not only the first one * chore: make view mode switch smaller * chore: use gpt-5-mini and improve test ui * chore: add confetti animation to TestDialog on success * chore(automation): enhance layout and improve chat message styling * chore(layout): add padding to layout components for improved spacing * chore: add logo --------- Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
1 parent c483c12 commit 2aa04ef

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

apps/app/public/compailogo.jpg

10.6 KB
Loading

apps/app/src/app/(app)/[orgId]/tasks/[taskId]/automation/components/chat/message.tsx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { BotIcon, UserIcon } from 'lucide-react';
1+
import { UserIcon } from 'lucide-react';
2+
import Image from 'next/image';
23
import { createContext, memo, useContext, useEffect, useState } from 'react';
34
import { MessagePart } from './message-part';
45
import type { ChatUIMessage } from './types';
@@ -62,8 +63,15 @@ export const Message = memo(function Message({
6263
</div>
6364
) : (
6465
<div className="relative">
65-
<div className="w-8 h-8 rounded-full bg-gradient-to-br from-primary/20 to-primary/10 border border-primary/25 flex items-center justify-center">
66-
<BotIcon className="w-4 h-4 text-primary" />
66+
<div className="w-8 h-8 rounded-full bg-white border border-primary/25 overflow-hidden flex items-center justify-center">
67+
<Image
68+
src="/compailogo.jpg"
69+
alt="Comp AI"
70+
width={32}
71+
height={32}
72+
className="w-full h-full object-cover object-center"
73+
unoptimized
74+
/>
6775
</div>
6876
<div className="absolute -bottom-0.5 -right-0.5 w-3 h-3 rounded-full bg-green-500 border-2 border-background" />
6977
</div>
@@ -75,7 +83,7 @@ export const Message = memo(function Message({
7583
{/* Header - Clean and simple */}
7684
<div className="flex items-baseline gap-2 mb-1">
7785
<span className="text-sm font-semibold text-foreground">
78-
{message.role === 'user' ? 'You' : 'AI Agent'}
86+
{message.role === 'user' ? 'You' : 'Comp AI'}
7987
</span>
8088
<span className="text-xs text-muted-foreground">
8189
{new Date().toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}

0 commit comments

Comments
 (0)