File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1710,7 +1710,11 @@ export default function Sidebar({ routeReveal }: { routeReveal: SidebarRouteReve
17101710 } ;
17111711 } ;
17121712
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" ;
17141718 const dragTargetSection = isContextDrag ? null : ( dragState ?. targetSection ?? null ) ;
17151719 const finishThreadDrag = ( started : boolean ) => {
17161720 dragSensorRef . current = null ;
@@ -2075,6 +2079,7 @@ export default function Sidebar({ routeReveal }: { routeReveal: SidebarRouteReve
20752079 ) ;
20762080 } ) ( ) ;
20772081 const handleThreadDragEnd = ( event : DragEndEvent ) => {
2082+ if ( projectFolders !== null ) return ;
20782083 const activeKey = String ( event . active . id ) ;
20792084 const activeSection = sectionByThreadKey . get ( activeKey ) ;
20802085 const target =
@@ -3354,7 +3359,6 @@ export default function Sidebar({ routeReveal }: { routeReveal: SidebarRouteReve
33543359 sortableId = { threadKey }
33553360 contextDrag = { isContextDrag }
33563361 sortableDisabled = {
3357- projectFolders !== null ||
33583362 renamingThreadKey === threadKey ||
33593363 ! draggableThreadKeys . has ( threadKey ) ||
33603364 optimisticDrop !== null
Original file line number Diff line number Diff line change @@ -157,7 +157,8 @@ project's folder comes last and shows only while it has active threads. Click a
157157close it. A closed folder shows how many threads it holds, and a dot when one of them
158158needs you. Use the pen button on a folder, or right-click it, to start a thread in that project.
159159Pinned 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.
161162
162163## Settle finished work
163164
You can’t perform that action at this time.
0 commit comments