feat: move network topology into a first-party plugin

This commit is contained in:
LukeGus committed 2026-09-22 10:45:15 -05:00
1 parent e372b0eda7
commit 5fbd5fb7e2
16 files changed
+447 -24

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ import {
} from "@/main-axios";
import type { RecentActivityItem, ServiceLink } from "@/main-axios";
import { useTranslation } from "react-i18next";
import { NetworkGraphCard } from "@/dashboard/cards/NetworkGraphCard";
import { NetworkGraphCard } from "../../../plugins/network-topology/frontend/NetworkGraphCard";
import { HomepagePreviewCard } from "@/dashboard/cards/HomepagePreviewCard";
import { HomepageCanvas } from "@/features/homepage/HomepageCanvas";
File diff suppressed because it is too large. Load diff
+1
View File
@@ -43,6 +43,7 @@ const BUILT_IN_TABS_BY_PLUGIN: Record<string, string[]> = {
"remote-desktop": ["rdp", "vnc", "telnet"],
ai: ["ai"],
fleets: ["fleet-inventory"],
"network-topology": ["network_graph"],
};
let pluginEnabled = new Map<string, boolean>();
+5 -3
View File
@@ -134,9 +134,11 @@ const SftpTransferTab = lazy(() =>
})),
);
const NetworkGraphCard = lazy(() =>
import("@/dashboard/cards/NetworkGraphCard").then((m) => ({
default: m.NetworkGraphCard,
})),
import("../../../plugins/network-topology/frontend/NetworkGraphCard").then(
(m) => ({
default: m.NetworkGraphCard,
}),
),
);
const Serial = lazy(() =>
import("@/features/serial/Serial").then((m) => ({