feat: layer-tree selection sync + group folders in tree + ribbonbar readability

This commit is contained in:
A0 Orchestrator
2026-07-02 00:47:28 +02:00
parent 2eead4c1aa
commit 9f749e8ebd
8 changed files with 247 additions and 12 deletions
+7
View File
@@ -132,6 +132,7 @@ export interface CanvasAreaProps {
blocks?: BlockDefinition[];
onBlockDrop?: (blockId: string, x: number, y: number) => void;
onSelectionChange?: (selectedIds: string[]) => void;
externalSelectionIds?: string[];
selectedTemplate?: string | null;
bgConfig?: BackgroundConfig | null;
remoteCursors?: UserCursor[];
@@ -174,6 +175,9 @@ export interface RightSidebarProps {
onKISuggestionClick?: (suggestion: KISuggestion) => void;
kiLoading?: boolean;
onUpdateElement?: (el: CADElement) => void;
selectedElementIds?: string[];
groups?: Array<{ id: string; name: string; elementIds: string[]; parentGroupId: string | null }>;
onSelectElement?: (id: string) => void;
token?: string;
className?: string;
onCollapse?: () => void;
@@ -192,7 +196,10 @@ export interface LayerPanelProps {
layers: CADLayer[];
elements?: CADElement[];
activeLayerId?: string;
selectedElementIds?: string[];
groups?: Array<{ id: string; name: string; elementIds: string[]; parentGroupId: string | null }>;
onSelectLayer: (id: string) => void;
onSelectElement?: (id: string) => void;
onAddLayer: () => void;
onToggleLayer: (id: string) => void;
onDeleteLayer?: (id: string) => void;