Skip to content

Commit 4e4d4ba

Browse files
t3dotggclaude
andauthored
feat(web): boring sidebar groups threads into project folders (#21039)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent f6d3700 commit 4e4d4ba

24 files changed

Lines changed: 549 additions & 3899 deletions

‎apps/desktop/src/settings/DesktopClientSettings.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const clientSettings: ClientSettings = {
6363
},
6464
sidebarProjectSortOrder: "manual",
6565
sidebarThreadSortOrder: "created_at",
66-
sidebarThreadPreviewCount: 6,
66+
boringSidebarEnabled: false,
6767
legacySidebarEnabled: false,
6868
sidebarWorkingShelfEnabled: false,
6969
loadBalancingEnabled: false,

‎apps/web/package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"@dnd-kit/utilities": "^3.2.2",
2828
"@effect/atom-react": "catalog:",
2929
"@fontsource-variable/inter": "^5.3.0",
30-
"@formkit/auto-animate": "^0.9.0",
3130
"@legendapp/list": "catalog:",
3231
"@noble/hashes": "catalog:",
3332
"@pierre/diffs": "catalog:",

‎apps/web/src/components/AppSidebarLayout.tsx‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,13 @@ import { selectActiveRightPanel, useRightPanelStore } from "../rightPanelStore";
3131
import { selectThreadTerminalUiState, useTerminalUiStateStore } from "../terminalUiStateStore";
3232
import { cn, isMacPlatform } from "../lib/utils";
3333
import { primaryServerKeybindingsAtom } from "../state/server";
34-
import { useEnvironmentIdentificationMode, useLegacySidebarEnabled } from "../hooks/useSettings";
34+
import { useEnvironmentIdentificationMode } from "../hooks/useSettings";
3535
import {
3636
PanelAnimationSuppressionProvider,
3737
usePanelAnimationSettings,
3838
usePanelNavigationSuppression,
3939
} from "../panelAnimations";
4040
import { BackgroundThreadAnnouncer } from "./BackgroundThreadAnnouncer";
41-
import LegacyThreadSidebar from "./LegacySidebar";
4241
import ThreadSidebar from "./Sidebar";
4342
import { SidebarBrandWidthProbe } from "./sidebar/SidebarChrome";
4443
import { isAppModalPage } from "./sidebar/mainAppLocation";
@@ -403,7 +402,6 @@ function SidebarControl() {
403402

404403
export function AppSidebarLayout({ children }: { children: ReactNode }) {
405404
const sidebarArea = workspaceAreaProps("sidebar", 0, "Threads");
406-
const legacySidebarEnabled = useLegacySidebarEnabled();
407405
const [sidebarRouteReveal] = useState<SidebarRouteReveal>(() => ({
408406
observedKey: null,
409407
pendingKey: null,
@@ -470,11 +468,7 @@ export function AppSidebarLayout({ children }: { children: ReactNode }) {
470468
}}
471469
style={windowControlsInsetStyle}
472470
>
473-
{legacySidebarEnabled ? (
474-
<LegacyThreadSidebar routeReveal={sidebarRouteReveal} />
475-
) : (
476-
<ThreadSidebar routeReveal={sidebarRouteReveal} />
477-
)}
471+
<ThreadSidebar routeReveal={sidebarRouteReveal} />
478472
<SidebarRail onDoubleClick={resetSidebarWidth} />
479473
</Sidebar>
480474
{children}

0 commit comments

Comments
 (0)