diff --git a/src/Agent/AutopilotMonitor.Agent/buildcounter.txt b/src/Agent/AutopilotMonitor.Agent/buildcounter.txt index 629f34ce..615d0e05 100644 --- a/src/Agent/AutopilotMonitor.Agent/buildcounter.txt +++ b/src/Agent/AutopilotMonitor.Agent/buildcounter.txt @@ -1 +1 @@ -485 +486 diff --git a/src/Backend/AutopilotMonitor.Functions/Functions/Config/GetAgentConfigFunction.cs b/src/Backend/AutopilotMonitor.Functions/Functions/Config/GetAgentConfigFunction.cs index ff7a5acf..d8d30de4 100644 --- a/src/Backend/AutopilotMonitor.Functions/Functions/Config/GetAgentConfigFunction.cs +++ b/src/Backend/AutopilotMonitor.Functions/Functions/Config/GetAgentConfigFunction.cs @@ -137,7 +137,7 @@ namespace AutopilotMonitor.Functions.Functions.Config await response.WriteAsJsonAsync(new AgentConfigResponse { ConfigVersion = 18, // admin session override (mark-succeeded + agent cleanup signal via ingest response) - UploadIntervalSeconds = 30, + UploadIntervalSeconds = 10, SelfDestructOnComplete = tenantConfig.SelfDestructOnComplete ?? true, KeepLogFile = tenantConfig.KeepLogFile ?? false, EnableGeoLocation = tenantConfig.EnableGeoLocation ?? true, diff --git a/src/Web/autopilot-monitor-web/components/GlobalSidebar.tsx b/src/Web/autopilot-monitor-web/components/GlobalSidebar.tsx index 58513237..80244d0b 100644 --- a/src/Web/autopilot-monitor-web/components/GlobalSidebar.tsx +++ b/src/Web/autopilot-monitor-web/components/GlobalSidebar.tsx @@ -369,7 +369,7 @@ export function GlobalSidebar({ children }: { children: ReactNode }) { return ( <> {/* ===== Public pages: show branded navbar without section links ===== */} - {!isAuthenticated && isPublicPage && } + {!isAuthenticated && isPublicPage && } {/* ===== Mobile: overlay ===== */} {mobileDrawerOpen && ( diff --git a/src/Web/autopilot-monitor-web/components/PublicSiteNavbar.tsx b/src/Web/autopilot-monitor-web/components/PublicSiteNavbar.tsx index a02a3da4..141c81db 100644 --- a/src/Web/autopilot-monitor-web/components/PublicSiteNavbar.tsx +++ b/src/Web/autopilot-monitor-web/components/PublicSiteNavbar.tsx @@ -4,7 +4,7 @@ import Link from "next/link"; import { useAuth } from "../contexts/AuthContext"; import { useTheme } from "../contexts/ThemeContext"; -export function PublicSiteNavbar({ showSectionLinks }: { showSectionLinks: boolean }) { +export function PublicSiteNavbar({ showSectionLinks, fullWidth = false }: { showSectionLinks: boolean; fullWidth?: boolean }) { const { login, isAuthenticated } = useAuth(); const { theme, toggleTheme } = useTheme(); const isDark = theme === "dark"; @@ -20,7 +20,7 @@ export function PublicSiteNavbar({ showSectionLinks }: { showSectionLinks: boole isDark ? "bg-slate-900/85 border-slate-700/70" : "bg-white/80 border-gray-200/60" }`} > -