Skip to content
Draft
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
21 changes: 20 additions & 1 deletion packages/web/src/app/[domain]/chat/components/chatSidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export const ChatSidePanel = ({

</ResizablePanel >
{isCollapsed && (
<div className="flex flex-col items-center h-full p-2">
<div className="flex flex-col items-center h-full p-2 gap-1">
<Tooltip
delayDuration={100}
>
Expand All @@ -253,6 +253,25 @@ export const ChatSidePanel = ({
<span>Open side panel</span>
</TooltipContent>
</Tooltip>
<Tooltip
delayDuration={100}
>
<TooltipTrigger asChild>
<Button
variant="ghost"
size="icon"
className="h-8 w-8"
onClick={() => {
router.push(`/${SINGLE_TENANT_ORG_DOMAIN}/chat`);
}}
>
<CirclePlusIcon className="w-4 h-4" />
</Button>
</TooltipTrigger>
<TooltipContent side="bottom">
<span>New Chat</span>
</TooltipContent>
</Tooltip>
</div>
)}
<RenameChatDialog
Expand Down