@devries-cameron20 / t3code-1 / commits / 3fa57b92a2
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): boring sidebar threads drag onto the composer again (#26724)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Yash Singh <saiansh2525@gmail.com>

Julius Marminge committed Nov 8, 2026 at 14:44 UTC 3fa57b92a238cdd8e079af925b673b2f99618b98
2 files changed +8 -3
apps/web/src/components/Sidebar.tsx
+6 -2
@@ -1710,7 +1710,11 @@ export default function Sidebar({ routeReveal }: { routeReveal: SidebarRouteReve
1710 };
1711 };
1712
1713 - const isContextDrag = dragState?.contextDrag === true || dragState?.activeSection === "working";
1713 + // Folder rows only drag out to the composer; folders own their order, so nothing drops in the list.
1714 + const isContextDrag =
1715 + projectFolders !== null ||
1716 + dragState?.contextDrag === true ||
1717 + dragState?.activeSection === "working";
1718 const dragTargetSection = isContextDrag ? null : (dragState?.targetSection ?? null);
1719 const finishThreadDrag = (started: boolean) => {
1720 dragSensorRef.current = null;
@@ -2075,6 +2079,7 @@ export default function Sidebar({ routeReveal }: { routeReveal: SidebarRouteReve
2079 );
2080 })();
2081 const handleThreadDragEnd = (event: DragEndEvent) => {
2082 + if (projectFolders !== null) return;
2083 const activeKey = String(event.active.id);
2084 const activeSection = sectionByThreadKey.get(activeKey);
2085 const target =
@@ -3354,7 +3359,6 @@ export default function Sidebar({ routeReveal }: { routeReveal: SidebarRouteReve
3359 sortableId={threadKey}
3360 contextDrag={isContextDrag}
3361 sortableDisabled={
3357 - projectFolders !== null ||
3362 renamingThreadKey === threadKey ||
3363 !draggableThreadKeys.has(threadKey) ||
3364 optimisticDrop !== null
docs/user/thread-sidebar.md
+2 -1
@@ -157,7 +157,8 @@ project's folder comes last and shows only while it has active threads. Click a
157 close it. A closed folder shows how many threads it holds, and a dot when one of them
158 needs you. Use the pen button on a folder, or right-click it, to start a thread in that project.
159 Pinned threads stay above the folders, and Snoozed and Settled stay below them. In this mode you
160 -cannot drag threads, and the Working section is off. Each device keeps its own choice.
160 +can drag a thread onto the composer to mention it, but not within the sidebar, and the Working
161 +section is off. Each device keeps its own choice.
162
163 ## Settle finished work
164