assistant updates

This commit is contained in:
Logan
2026-06-21 15:11:30 -04:00
parent 3fb3bca034
commit fce189d8c9
2 changed files with 21 additions and 6 deletions
+20 -5
View File
@@ -657,14 +657,29 @@ function AssistantPanel({
);
}
function clearChat() {
setMessages([]);
try { localStorage.removeItem(storageKey); } catch { /* ignore */ }
}
return (
<div className="flex flex-col h-full">
{/* Header */}
<div className="px-4 py-3 border-b border-gray-800 shrink-0">
<p className="text-white text-sm font-semibold">Trip Assistant</p>
<p className="text-gray-500 text-xs mt-0.5">
Tell me what you want to do I can search places and suggest events.
</p>
<div className="px-4 py-3 border-b border-gray-800 shrink-0 flex items-start justify-between gap-2">
<div>
<p className="text-white text-sm font-semibold">Trip Assistant</p>
<p className="text-gray-500 text-xs mt-0.5">
Tell me what you want to do I can search places and suggest events.
</p>
</div>
{messages.length > 0 && (
<button
onClick={clearChat}
className="text-xs text-gray-600 hover:text-gray-400 transition-colors shrink-0 mt-0.5"
>
Clear
</button>
)}
</div>
{/* Messages */}