feat: React Flow migration for flow editor canvas #82

Merged
chihlasm merged 19 commits from feat/react-flow-canvas into main 2026-02-19 05:43:34 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit ed2c5a6c16 - Show all commits

View File

@@ -162,7 +162,7 @@ export function NodeEditorPanel({ nodeId, onClose, onSelectType }: NodeEditorPan
const isRoot = treeStructure?.id === nodeId const isRoot = treeStructure?.id === nodeId
return ( return (
<div ref={panelRef} className="flex h-full min-h-0 w-[400px] shrink-0 flex-col border-l border-border bg-card"> <div ref={panelRef} className="flex h-full min-h-0 w-[400px] shrink-0 flex-col border-l border-border bg-card overflow-hidden">
{/* Header */} {/* Header */}
<div className="flex items-center gap-2 border-b border-border px-4 py-3 shrink-0"> <div className="flex items-center gap-2 border-b border-border px-4 py-3 shrink-0">
<span className={cn('flex h-5 w-5 shrink-0 items-center justify-center rounded', config.badgeClass)}> <span className={cn('flex h-5 w-5 shrink-0 items-center justify-center rounded', config.badgeClass)}>

View File

@@ -407,7 +407,7 @@ export function TreeEditorPage() {
} }
return ( return (
<div className="flex h-full flex-col"> <div className="flex h-full flex-col overflow-hidden">
{/* Draft Restore Prompt */} {/* Draft Restore Prompt */}
{showDraftPrompt && ( {showDraftPrompt && (