From 2a5ad65dd73b1dc50e3a0e5425a79c0891c2ea0b Mon Sep 17 00:00:00 2001 From: Oliver Kieselbach Date: Sun, 2 Aug 2026 17:31:04 +0200 Subject: [PATCH] fix(web): explicit JSX spaces where Turbopack eats them - "onlyto" class of typos Turbopack drops the ambient space between an inline element and adjacent prose in certain multi-line JSX text layouts (Babel/SWC preserve it), so the live portal rendered "onlyto reach you", "IsEnabledflag", "...ps1script", "5 minutesfor GitHub's", "Unavailableand the cascade". User-reported on the Contact section; the other five sites were found by scanning the compiled bundle for space-less text nodes after elements. Fix: explicit {" "} at each affected boundary - it compiles to its own text-node and cannot be trimmed. Verified in a fresh build: all six sites now emit ..."})," ","to reach... Sites whose gap comes from ml-*/mx-* margins or flex gap were left alone. Co-Authored-By: Claude Fable 5 --- .../app/admin/backups/components/RestoreRowDiffModal.tsx | 2 +- .../app/admin/components/AdminConfigSettingsSection.tsx | 2 +- .../app/admin/components/ConfigReseedSection.tsx | 2 +- .../app/admin/components/MaintenanceSection.tsx | 2 +- .../app/settings/tenant/sections/SectionContact.tsx | 4 +++- .../tenant/sections/SectionOptionalGraphCapabilities.tsx | 2 +- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/Web/autopilot-monitor-web/app/admin/backups/components/RestoreRowDiffModal.tsx b/src/Web/autopilot-monitor-web/app/admin/backups/components/RestoreRowDiffModal.tsx index 11722896..a7bcd734 100644 --- a/src/Web/autopilot-monitor-web/app/admin/backups/components/RestoreRowDiffModal.tsx +++ b/src/Web/autopilot-monitor-web/app/admin/backups/components/RestoreRowDiffModal.tsx @@ -90,7 +90,7 @@ export function RestoreRowDiffModal({ This is an authentication / authorization table (GlobalAdmins, TenantAdmins,{" "} McpUsers). Restoring this row will overwrite the live{" "} - IsEnabled flag — confirm that the backup row's enable/disable + IsEnabled{" "}flag — confirm that the backup row's enable/disable state is what you intend. diff --git a/src/Web/autopilot-monitor-web/app/admin/components/AdminConfigSettingsSection.tsx b/src/Web/autopilot-monitor-web/app/admin/components/AdminConfigSettingsSection.tsx index b2863330..503dc3d2 100644 --- a/src/Web/autopilot-monitor-web/app/admin/components/AdminConfigSettingsSection.tsx +++ b/src/Web/autopilot-monitor-web/app/admin/components/AdminConfigSettingsSection.tsx @@ -387,7 +387,7 @@ export function AdminConfigSettingsSection({ Cascade-Delete Kill-Switch (emergency)

Global emergency stop for the cascade-deletion subsystem. When on: the cascade producer - returns 503 Service Unavailable + returns 503 Service Unavailable{" "} and the cascade worker pauses on entry. Flip on if a runaway cascade or storage incident requires halting all session-delete activity across all tenants. Default off.

diff --git a/src/Web/autopilot-monitor-web/app/admin/components/ConfigReseedSection.tsx b/src/Web/autopilot-monitor-web/app/admin/components/ConfigReseedSection.tsx index f662fcba..b727f7fb 100644 --- a/src/Web/autopilot-monitor-web/app/admin/components/ConfigReseedSection.tsx +++ b/src/Web/autopilot-monitor-web/app/admin/components/ConfigReseedSection.tsx @@ -183,7 +183,7 @@ export function ConfigReseedSection({

- Rules are loaded from raw.githubusercontent.com. After a merge to the repository, it may take up to 5 minutes for GitHub's CDN cache to update. If you see stale rules after reseeding, wait a few minutes and try again. + Rules are loaded from raw.githubusercontent.com. After a merge to the repository, it may take up to 5 minutes{" "}for GitHub's CDN cache to update. If you see stale rules after reseeding, wait a few minutes and try again.

diff --git a/src/Web/autopilot-monitor-web/app/admin/components/MaintenanceSection.tsx b/src/Web/autopilot-monitor-web/app/admin/components/MaintenanceSection.tsx index 5bb8b9f2..ff8d98bd 100644 --- a/src/Web/autopilot-monitor-web/app/admin/components/MaintenanceSection.tsx +++ b/src/Web/autopilot-monitor-web/app/admin/components/MaintenanceSection.tsx @@ -328,7 +328,7 @@ export function MaintenanceSection({

- Rules are loaded from raw.githubusercontent.com. After a merge to the repository, it may take up to 5 minutes for GitHub's CDN cache to update. If you see stale rules after reseeding, wait a few minutes and try again. + Rules are loaded from raw.githubusercontent.com. After a merge to the repository, it may take up to 5 minutes{" "}for GitHub's CDN cache to update. If you see stale rules after reseeding, wait a few minutes and try again.

diff --git a/src/Web/autopilot-monitor-web/app/settings/tenant/sections/SectionContact.tsx b/src/Web/autopilot-monitor-web/app/settings/tenant/sections/SectionContact.tsx index 9006b3d3..389fbbc0 100644 --- a/src/Web/autopilot-monitor-web/app/settings/tenant/sections/SectionContact.tsx +++ b/src/Web/autopilot-monitor-web/app/settings/tenant/sections/SectionContact.tsx @@ -51,7 +51,9 @@ export function SectionContact() {

- Used only to reach you about this service — a technical problem affecting your tenant, a + {/* {" "} is deliberate: Turbopack eats the ambient space after an inline element + when the following text runs over multiple lines — rendered "onlyto". */} + Used only{" "}to reach you about this service — a technical problem affecting your tenant, a security matter, or a change that needs an administrator's attention. Never for marketing, and never shared with anyone else.

diff --git a/src/Web/autopilot-monitor-web/app/settings/tenant/sections/SectionOptionalGraphCapabilities.tsx b/src/Web/autopilot-monitor-web/app/settings/tenant/sections/SectionOptionalGraphCapabilities.tsx index 4d12ad2b..e83935b4 100644 --- a/src/Web/autopilot-monitor-web/app/settings/tenant/sections/SectionOptionalGraphCapabilities.tsx +++ b/src/Web/autopilot-monitor-web/app/settings/tenant/sections/SectionOptionalGraphCapabilities.tsx @@ -124,7 +124,7 @@ export function SectionOptionalGraphCapabilities() { Autopilot Monitor's default Microsoft Graph permissions are intentionally minimal. Optional features (like resolving Intune Platform Script and Remediation display names in session timelines) require additional permissions on the Autopilot Monitor service principal in your tenant. Grant them at any - time by running the small Grant-AutopilotMonitorAddOn.ps1 script + time by running the small Grant-AutopilotMonitorAddOn.ps1{" "}script with a Global Administrator (or Privileged Role Administrator) sign-in — the script does not change the published app manifest, only your tenant's local grant.