feat: added full definition of editor warning infrastructure

Everything is now defined architecturally, and can be implemented properly.

ref: N25B-450
This commit is contained in:
JGerla
2026-01-14 16:04:44 +01:00
parent 3f7e196bb7
commit 67558a7ac7
3 changed files with 104 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ import {
type XYPosition,
} from '@xyflow/react';
import '@xyflow/react/dist/style.css';
import { editorWarningRegistry } from "./EditorWarnings.tsx";
import type { FlowState } from './VisProgTypes';
import {
NodeDefaults,
@@ -306,7 +307,8 @@ const useFlowStore = create<FlowState>(UndoRedo((set, get) => ({
})
return { ruleRegistry: registry };
})
}
},
...editorWarningRegistry,
}))
);