raaahhhhhflkhdj

This commit is contained in:
legop3
2026-05-19 18:28:48 -04:00
parent fb65926760
commit 084dee4df9
5 changed files with 14 additions and 9 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -11,8 +11,8 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Roomba Rover" /> <meta name="apple-mobile-web-app-title" content="Roomba Rover" />
<title>Roomba Rover</title> <title>Roomba Rover</title>
<script type="module" crossorigin src="/assets/index-BsG3bRcY.js"></script> <script type="module" crossorigin src="/assets/index-DHAX2YQZ.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DSJcZoco.css"> <link rel="stylesheet" crossorigin href="/assets/index-CVBRlegx.css">
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
+10 -5
View File
@@ -78,7 +78,7 @@ function ProfileAvatar({ imageUrl, label }) {
); );
} }
export function ChatIdentity({ message, toolsToggle = null, inlineText = '' }) { export function ChatIdentity({ message, toolsToggle = null }) {
const discordLabel = message.fromDiscord const discordLabel = message.fromDiscord
? `${message.discordGuildName || 'Discord'} · ${displayName(message)}` ? `${message.discordGuildName || 'Discord'} · ${displayName(message)}`
: null; : null;
@@ -114,7 +114,6 @@ export function ChatIdentity({ message, toolsToggle = null, inlineText = '' }) {
</span> </span>
)} )}
{toolsToggle} {toolsToggle}
{inlineText ? <span className="min-w-0 break-words leading-tight whitespace-pre-wrap">{inlineText}</span> : null}
</span> </span>
); );
} }
@@ -141,11 +140,10 @@ export default function ChatMessageRow({ message }) {
const hasText = Boolean(String(message?.text || '').trim()); const hasText = Boolean(String(message?.text || '').trim());
return ( return (
<div className={chatRowClass(message)}> <div className={chatRowClass(message)}>
<div className="flex w-full items-center gap-0.5"> <div className="grid w-full grid-cols-[auto,1fr,auto] items-center gap-0.5">
<span className={`min-w-0 flex-1 ${isBot ? 'text-emerald-100' : 'text-slate-100'}`}> <span className={`min-w-0 ${isBot ? 'text-emerald-100' : 'text-slate-100'}`}>
<ChatIdentity <ChatIdentity
message={message} message={message}
inlineText={!open && hasText ? message.text : ''}
toolsToggle={ toolsToggle={
toolCalls.length > 0 ? ( toolCalls.length > 0 ? (
<button <button
@@ -159,6 +157,13 @@ export default function ChatMessageRow({ message }) {
} }
/> />
</span> </span>
{!open && hasText ? (
<span className={`min-w-0 break-words leading-tight whitespace-pre-wrap ${isBot ? 'text-emerald-100' : 'text-slate-100'}`}>
{message.text}
</span>
) : (
<span />
)}
<span className="shrink-0 text-[0.65rem] text-slate-400/60"> <span className="shrink-0 text-[0.65rem] text-slate-400/60">
{formatTime(message.ts)} {formatTime(message.ts)}
</span> </span>