The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): namespace the project-row drop-hover attribute
Brooklyn Nicholson34e09bff7861
diff --git a/apps/desktop/src/app/chat/session-drag.test.ts b/apps/desktop/src/app/chat/session-drag.test.tsindex 5df8d92ef32..72241a440ce 100644--- a/apps/desktop/src/app/chat/session-drag.test.ts+++ b/apps/desktop/src/app/chat/session-drag.test.ts@@ -3,8 +3,8 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'import { group } from '@/components/pane-shell/tree/model'import { $layoutTree, closeTreePane } from '@/components/pane-shell/tree/store'-import { moveSessionToProject, projectIdForCwd } from '@/store/projects'import { requestFreshSession } from '@/store/profile'+import { moveSessionToProject, projectIdForCwd } from '@/store/projects'import { $selectedStoredSessionId, $sessions } from '@/store/session'import { $sessionTiles, nextSessionTileForWorkspace, openSessionTile } from '@/store/session-states'diff --git a/apps/desktop/src/app/chat/session-drag.ts b/apps/desktop/src/app/chat/session-drag.tsindex 7f62fd7b538..6ea673d5813 100644--- a/apps/desktop/src/app/chat/session-drag.ts+++ b/apps/desktop/src/app/chat/session-drag.ts@@ -49,8 +49,8 @@ import {import type { EngineZone, ZoneRect } from '@/components/pane-shell/tree/zones-engine'import { translateNow } from '@/i18n'import { notifyError } from '@/store/notifications'-import { moveSessionToProject, projectIdForCwd } from '@/store/projects'import { requestFreshSession } from '@/store/profile'+import { moveSessionToProject, projectIdForCwd } from '@/store/projects'import { $selectedStoredSessionId, $sessions, sessionMatchesStoredId } from '@/store/session'import { $sessionTiles, nextSessionTileForWorkspace, openSessionTile, type TileDock } from '@/store/session-states'diff --git a/apps/desktop/src/app/chat/sidebar/projects/overview-row.tsx b/apps/desktop/src/app/chat/sidebar/projects/overview-row.tsxindex 3afed314027..e718ee6321c 100644--- a/apps/desktop/src/app/chat/sidebar/projects/overview-row.tsx+++ b/apps/desktop/src/app/chat/sidebar/projects/overview-row.tsx@@ -284,7 +284,7 @@ export function ProjectOverviewRow({// Painted imperatively by session-drag.ts while a dragged session// hovers this row — a live "drop here to move" cue, not React state// (it must not repaint the sidebar on every pixel of pointer travel).- 'rounded-[6px] data-[drop-hover=true]:outline-2 data-[drop-hover=true]:-outline-offset-2 data-[drop-hover=true]:outline-sidebar-ring'+ 'rounded-[6px] data-[session-drop-hover=true]:outline-2 data-[session-drop-hover=true]:-outline-offset-2 data-[session-drop-hover=true]:outline-sidebar-ring')}data-sessions-project={project.id}ref={ref}