From 4870e09b39e72812b1cb9534e767f4ecda8ee47d Mon Sep 17 00:00:00 2001 From: Oliver Kieselbach Date: Fri, 8 May 2026 14:12:50 +0200 Subject: [PATCH] chore(web): drop Inspector deep-link from FailureSnapshotBlock + regen artifacts Removes the "View at lifecycle anchors" link (and its sessionId prop) from FailureSnapshotBlock; SessionInfoCard updated to match the new prop shape. Bumps page-lastmod.generated.ts and the V2 agent buildcounter. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../buildcounter.txt | 2 +- .../components/FailureSnapshotBlock.tsx | 18 -------------- .../components/SessionInfoCard.tsx | 2 +- .../utils/page-lastmod.generated.ts | 24 +++++++++---------- 4 files changed, 14 insertions(+), 32 deletions(-) diff --git a/src/Agent/AutopilotMonitor.Agent.V2/buildcounter.txt b/src/Agent/AutopilotMonitor.Agent.V2/buildcounter.txt index 3006dac0..fb8477e5 100644 --- a/src/Agent/AutopilotMonitor.Agent.V2/buildcounter.txt +++ b/src/Agent/AutopilotMonitor.Agent.V2/buildcounter.txt @@ -1 +1 @@ -642 +643 diff --git a/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/components/FailureSnapshotBlock.tsx b/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/components/FailureSnapshotBlock.tsx index ebbf7d55..24f17acb 100644 --- a/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/components/FailureSnapshotBlock.tsx +++ b/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/components/FailureSnapshotBlock.tsx @@ -1,7 +1,6 @@ "use client"; import { useState } from "react"; -import Link from "next/link"; /** * Renders the maintenance-built failure snapshot when present (Hybrid User-Driven @@ -33,11 +32,8 @@ interface FailureSnapshot { export default function FailureSnapshotBlock({ failureSnapshotJson, - sessionId, }: { failureSnapshotJson?: string; - /** Optional — when provided, renders a "View at lifecycle anchors" link into the Inspector. */ - sessionId?: string; }) { const [expanded, setExpanded] = useState(false); @@ -111,20 +107,6 @@ export default function FailureSnapshotBlock({ {snapshot.schemaVersion !== undefined && <> · schema v{snapshot.schemaVersion}} )} - {sessionId && ( -
- - View at lifecycle anchors → - - - (Inspector · Global Admin only) - -
- )} )} diff --git a/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/components/SessionInfoCard.tsx b/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/components/SessionInfoCard.tsx index a11b8a1b..23a22ecd 100644 --- a/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/components/SessionInfoCard.tsx +++ b/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/components/SessionInfoCard.tsx @@ -82,7 +82,7 @@ export default function SessionInfoCard({ session, enrollmentDuration, displaySt )} - + ); } diff --git a/src/Web/autopilot-monitor-web/utils/page-lastmod.generated.ts b/src/Web/autopilot-monitor-web/utils/page-lastmod.generated.ts index 06ca4bf6..ec96eff3 100644 --- a/src/Web/autopilot-monitor-web/utils/page-lastmod.generated.ts +++ b/src/Web/autopilot-monitor-web/utils/page-lastmod.generated.ts @@ -3,21 +3,21 @@ * Run: node scripts/generate-lastmod.js */ export const PAGE_LASTMOD: Record = { - "/": "2026-03-19T18:27:37+01:00", + "/": "2026-03-12T10:26:31+00:00", "/about": "2026-03-20T21:47:19+01:00", "/roadmap": "2026-03-20T21:47:19+01:00", - "/changelog": "2026-03-20T21:47:19+01:00", - "/privacy": "2026-03-20T21:47:19+01:00", + "/changelog": "2026-04-16T23:04:27+02:00", + "/privacy": "2026-03-23T06:28:59+01:00", "/terms": "2026-03-20T21:47:19+01:00", - "/docs": "2026-03-20T08:51:20+01:00", - "/docs/private-preview": "2026-03-19T18:27:37+01:00", + "/docs": "2026-04-06T12:08:22+02:00", + "/docs/private-preview": "2026-03-11T10:48:23+01:00", "/docs/overview": "2026-03-19T19:18:49+01:00", "/docs/general": "2026-03-19T18:45:11+01:00", - "/docs/setup": "2026-03-19T18:27:37+01:00", - "/docs/agent": "2026-03-19T18:27:37+01:00", - "/docs/agent-setup": "2026-03-19T18:27:37+01:00", - "/docs/settings": "2026-03-19T18:27:37+01:00", - "/docs/gather-rules": "2026-03-19T18:27:37+01:00", - "/docs/analyze-rules": "2026-03-19T18:27:37+01:00", - "/docs/ime-log-patterns": "2026-03-19T18:27:37+01:00", + "/docs/setup": "2026-04-07T00:45:43+02:00", + "/docs/agent": "2026-04-09T19:50:13+02:00", + "/docs/agent-setup": "2026-03-31T23:54:46+02:00", + "/docs/settings": "2026-04-06T23:09:01+02:00", + "/docs/gather-rules": "2026-04-14T11:29:55+02:00", + "/docs/analyze-rules": "2026-04-03T19:52:58+02:00", + "/docs/ime-log-patterns": "2026-03-18T09:00:57+01:00", };