Deimplement OSINT+ search

This commit is contained in:
2026-03-12 22:28:33 +00:00
parent 6ceff63b71
commit 12e02ac7ec
13 changed files with 97 additions and 1082 deletions

View File

@@ -507,6 +507,37 @@
};
});
}
if (widgetNodes.length === 3) {
const dominantNode = widgetNodes.find(function (node) {
return node.id === workspaceState.activeWidgetId;
}) || widgetNodes[widgetNodes.length - 1];
const secondaryNodes = widgetNodes.filter(function (node) {
return node !== dominantNode;
});
return [
{
node: dominantNode,
x: 0,
y: 0,
w: GRID_COLUMNS / 2,
h: GRID_ROWS,
},
{
node: secondaryNodes[0],
x: GRID_COLUMNS / 2,
y: 0,
w: GRID_COLUMNS / 2,
h: GRID_ROWS / 2,
},
{
node: secondaryNodes[1],
x: GRID_COLUMNS / 2,
y: GRID_ROWS / 2,
w: GRID_COLUMNS / 2,
h: GRID_ROWS / 2,
},
];
}
return widgetNodes.slice(0, 4).map(function (node, index) {
return {
node: node,