diff --git a/frontend/src/components/Sidebar.tsx b/frontend/src/components/Sidebar.tsx
index d5022a0..85b76ef 100644
--- a/frontend/src/components/Sidebar.tsx
+++ b/frontend/src/components/Sidebar.tsx
@@ -64,7 +64,12 @@ function Section({
}`}
onClick={() => onSelect(item.key)}
>
- {displayTitle}
+
+
+ {item.pinned && }
+
+
{displayTitle}
+
e.stopPropagation()} className="h-6 w-6 flex items-center justify-center rounded hover:bg-zinc-200 text-zinc-400 opacity-0 group-hover:opacity-100 transition-opacity outline-none">
@@ -293,6 +298,9 @@ function SidebarBody() {
}
};
+ const activeSessions = sessions.filter((item) => !item.archived);
+ const archivedSessions = sessions.filter((item) => !!item.archived);
+
return (
{/* Header */}
@@ -333,8 +341,19 @@ function SidebarBody() {
+