From a581dc15b64d43dee8ae2d1c49b96f0cd4cee113 Mon Sep 17 00:00:00 2001 From: mbeaulne Date: Thu, 23 Apr 2026 09:14:20 -0400 Subject: [PATCH] remove details tab --- .../context/TaskDetails/TaskDetails.tsx | 49 ------------------- 1 file changed, 49 deletions(-) diff --git a/src/routes/v2/pages/Editor/nodes/TaskNode/context/TaskDetails/TaskDetails.tsx b/src/routes/v2/pages/Editor/nodes/TaskNode/context/TaskDetails/TaskDetails.tsx index 0ba784290..947739fac 100644 --- a/src/routes/v2/pages/Editor/nodes/TaskNode/context/TaskDetails/TaskDetails.tsx +++ b/src/routes/v2/pages/Editor/nodes/TaskNode/context/TaskDetails/TaskDetails.tsx @@ -1,7 +1,6 @@ import { observer } from "mobx-react-lite"; import { useEffect, useState } from "react"; -import { TextBlock } from "@/components/shared/ContextPanel/Blocks/TextBlock"; import { StackingControls } from "@/components/shared/ReactFlow/FlowControls/StackingControls"; import { ColorPicker } from "@/components/ui/color"; import { Icon } from "@/components/ui/icon"; @@ -24,12 +23,6 @@ import { TaskArgumentsEditor } from "./components/TaskArgumentsEditor"; import { useTaskConfigActions } from "./components/useTaskConfigActions"; import { useTask } from "./hooks/useTask"; -const EDITOR_ANNOTATION_KEYS = [ - "editor.position", - "tangleml.com/editor/task-color", - "tangleml.com/editor/edge-conduits", -]; - const TAB_CONTENT_CLASS = "overflow-y-auto w-full px-4 py-4 pr-5"; interface TaskDetailsProps { @@ -61,7 +54,6 @@ export const TaskDetails = observer(function TaskDetails({ const componentSpec = task.componentRef.spec; const yamlText = getTaskYamlText(task); const pythonCode = componentSpec?.metadata?.annotations?.python_original_code; - const author = componentSpec?.metadata?.annotations?.author; const isSubgraphTask = isSubgraph(task.componentRef.spec); const taskColor = task.annotations.get("tangleml.com/editor/task-color"); @@ -122,10 +114,6 @@ export const TaskDetails = observer(function TaskDetails({ Arguments - - - Details - Config @@ -147,43 +135,6 @@ export const TaskDetails = observer(function TaskDetails({ - {/* ── Details ── */} - - - - - {author && } - - - - {task.componentRef.digest && ( - - )} - - {task.annotations.filter( - (a) => !EDITOR_ANNOTATION_KEYS.includes(a.key), - ).length > 0 && ( - <> - - - - )} - - - {/* ── Configuration ── */}