AdGuard Home, Grafana, Docker image age, foldable server page cards
New integration kinds adguard (status, statistics, filter lists and a real DNS question over UDP; alerts for DNS down/not running, protection left off, stale lists) and grafana (alert rules firing or failing, data-source health). Optional warning for running Docker images built more than N days ago (off by default). A server's overview cards can be folded and arranged, kept per user. Migrations 0075-0077; docs, metrics and tests included. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3d9a2310bb
commit
551eb1597a
53 files changed
+27700
-33
No files matched your search
@@ -7,6 +7,7 @@ import { isCurrent, isGroup, visibleNav, type NavGroup } from "./nav";
|
||||
import SidebarNav, { type NavBadge } from "./SidebarNav";
|
||||
import { initFavorites } from "../utils/favorites";
|
||||
import { initDashboardLayout } from "../utils/dashboardLayout";
|
||||
import { initServerPageLayout } from "../utils/serverPageLayout";
|
||||
import { formatRemaining } from "../utils/duration";
|
||||
import { getTheme, setTheme, type Theme } from "../utils/theme";
|
||||
import { DENSITIES, getDensity, setDensity, type Density } from "../utils/density";
|
||||
@@ -55,6 +56,7 @@ export default function AppShell({ user, children }: { user: CurrentUser; childr
|
||||
useState(() => {
|
||||
initFavorites(user.favorites);
|
||||
initDashboardLayout(user.dashboard);
|
||||
initServerPageLayout(user.serverPage);
|
||||
return null;
|
||||
});
|
||||
// The narrow, icon-only sidebar: remembered per browser (a laptop wants it, a big monitor may not), and only on wide screens.
|
||||
|
||||
@@ -48,6 +48,8 @@ import {
|
||||
IconHeartbeat,
|
||||
IconGitCommit,
|
||||
IconShieldCheck,
|
||||
IconShieldLock,
|
||||
IconChartAreaLine,
|
||||
IconActivityHeartbeat,
|
||||
IconCopyCheck,
|
||||
IconTicket,
|
||||
@@ -133,6 +135,7 @@ export const NAV: NavEntry[] = [
|
||||
icon: <IconWorld size={20} />,
|
||||
items: [
|
||||
{ to: "/dns", label: "DNS", icon: <IconWorld size={20} /> },
|
||||
{ to: "/adguard", label: "AdGuard Home", icon: <IconShieldLock size={20} /> },
|
||||
{ to: "/network/devices", label: "Network devices", icon: <IconRouter size={20} /> },
|
||||
{ to: "/proxy-hosts", label: "Proxy hosts", icon: <IconArrowsSplit2 size={20} /> },
|
||||
{ to: "/ipam", label: "IP Addresses", icon: <IconNetwork size={20} /> },
|
||||
@@ -152,6 +155,7 @@ export const NAV: NavEntry[] = [
|
||||
{ to: "/uptime-kuma", label: "Uptime Kuma", icon: <IconActivityHeartbeat size={20} /> },
|
||||
{ to: "/ups", label: "UPS", icon: <IconBatteryCharging size={20} /> },
|
||||
{ to: "/prometheus", label: "Prometheus", icon: <IconFlame size={20} /> },
|
||||
{ to: "/grafana", label: "Grafana", icon: <IconChartAreaLine size={20} /> },
|
||||
{ to: "/speedtest", label: "Speedtest", icon: <IconGauge size={20} /> },
|
||||
{ to: "/service-levels", label: "Service levels", icon: <IconTargetArrow size={20} /> },
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user