WIP: Draft: feat: added editor warning system and more user feedback #45

Closed
j.gerla wants to merge 43 commits from feat/editor-user-feedback into dev
Showing only changes of commit 9d2f5127c1 - Show all commits

View File

@@ -187,7 +187,9 @@ export function editorWarningRegistry(get: ZustandGet, set: ZustandSet) : Editor
// remove from severity index
if (nodeWarnings) {
nodeWarnings.forEach((warning) => {
const warningKey = `${warning.type}:${warning.scope.handleId}`;
const warningKey = warning.scope.handleId
? `${warning.type}:${warning.scope.handleId}`
: warning.type;
sIndex.get(warning.severity)?.delete(`${id}|${warningKey}`);
});
}