diff --git a/scripts/check-task-chat-motion.mjs b/scripts/check-task-chat-motion.mjs index a885de07c10..4cc7898b211 100644 --- a/scripts/check-task-chat-motion.mjs +++ b/scripts/check-task-chat-motion.mjs @@ -27,6 +27,7 @@ const repoRoot = join(dirname(fileURLToPath(import.meta.url)), ".."); const SCAN_DIRS = ["ui/src/components/task-chat"]; const SCAN_FILES = [ "ui/src/components/TaskChatThread.tsx", + "ui/src/components/PropertiesPanel.tsx", "ui/src/components/TaskChatRedesignGate.tsx", "ui/src/pages/TaskChatLab.tsx", "ui/src/components/issue-properties/IssuePropertiesPlansTab.tsx", diff --git a/ui/src/components/PropertiesPanel.tsx b/ui/src/components/PropertiesPanel.tsx index 6cad68da0ef..bccfa40691a 100644 --- a/ui/src/components/PropertiesPanel.tsx +++ b/ui/src/components/PropertiesPanel.tsx @@ -47,19 +47,6 @@ export function PropertiesPanel() { * variant. Everything below renders only when the flag is ON. * ------------------------------------------------------------------------- */ -/** - * Portal target in the redesigned pane's header bar: hosted content (the - * Properties | Plan | Artifacts tab strip) renders here, left of the window - * controls. See IssueProperties' flag-ON shell. - */ -export const PROPERTIES_PANE_HEADER_SLOT_ID = "properties-pane-header-slot"; -/** - * Portal target pinned below the pane's scroll area: hosted content (the plan - * confirmation action bar) renders here so it stays visible while the pane - * body scrolls. - */ -export const PROPERTIES_PANE_FOOTER_SLOT_ID = "properties-pane-footer-slot"; - const WIDTH_STORAGE_KEY = "taskChatRedesign.propertiesPaneWidth"; const DEFAULT_PANE_WIDTH = 322; const MIN_PANE_WIDTH = 260; @@ -353,17 +340,9 @@ function ResizablePropertiesPanel({ className={cn("flex-1 flex flex-col min-h-0", isFixed && "w-full")} style={isFixed ? undefined : { width, minWidth: width }} > - {/* The slot hosts whatever IssueProperties portals in — the tab strip - when Plan/Artifacts have content, else a plain "Properties" title; - window controls sit right. Vertical padding lives on the controls - cluster, not the bar, so the tab strip can stretch to the border - and its active underline hugs the header's bottom line. */} -
-
-
+
+ Properties +