Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Merge #7882: Show recent conversation previews in the sidebar (#1000)

milind-sonib0354b0f018f
diff --cc src/components/Sidebar.tsx
index 9df9889d42,1e9942c620..aeb4e2c7fc
--- a/src/components/Sidebar.tsx
+++ b/src/components/Sidebar.tsx
@@@ -39,7 -39,8 +39,7 @@@ import { GroupThreadList } from "./Side
import { useOwnerOrAdmin } from "@/lib/use-owner-or-admin";
import { draggedFolder, FOLDER_DRAG_TYPE, moveFolder, placeFolder } from "@/lib/folder-order";
import { folderUnreadThreadIds, markFolderRead } from "@/lib/folder-read";
- import { HelperThreadGroup, isArchived, orderedThreadList, partitionHelperThreads, SidebarThreadRow, stampClock, threadRecency, threadRowActions, UngroupedThreadList, useRelativeNow, useRevealedThreadRow, useSnoozeExpiry, visibleSidebarThreads } from "./SidebarThreadRow";
-import { HelperThreadGroup, isArchived, orderedThreadList, partitionHelperThreads, stampClock, threadRecency, threadRowActions, useRelativeNow, useRevealedThreadRow, useSnoozeExpiry, visibleSidebarThreads } from "./SidebarThreadRow";
-import { SidebarConversationRow } from "./SidebarConversationRow";
++import { HelperThreadGroup, isArchived, orderedThreadList, partitionHelperThreads, SidebarThreadRow, stampClock, threadRecency, threadRowActions, UngroupedThreadList, useRelativeNow, useRevealedThreadRow, useSnoozeExpiry, visibleSidebarThreads } from "./SidebarThreadRow"; import { SidebarConversationRow } from "./SidebarConversationRow";
import { setSidebarDensity, useSidebarDensity, usePinnedCircles, useSidebarShowAllThreads, useUniversalPins, type SidebarDensity } from "@/lib/sidebar-preferences";
import {
ATTENTION_SECTION_ID,