The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): boot overlays stay opaque under window glass
emozillaf33b260afa13
diff --git a/apps/desktop/src/components/boot-failure-overlay.tsx b/apps/desktop/src/components/boot-failure-overlay.tsxindex f07366f2898..e479ce5bb91 100644--- a/apps/desktop/src/components/boot-failure-overlay.tsx+++ b/apps/desktop/src/components/boot-failure-overlay.tsx@@ -284,7 +284,12 @@ export function BootFailureOverlay() {if (view === 'connect') {return (- <div className="fixed inset-0 z-(--z-setup) flex items-center justify-center bg-(--ui-chat-surface-background) p-6">+ <div+ className="fixed inset-0 z-(--z-setup) flex items-center justify-center bg-(--ui-chat-surface-background) p-6"+ // Masks the whole app on boot failure — must stay filled under window+ // glass. Contract: `[data-glass-opaque]` in styles.css.+ data-glass-opaque=""+ ><div className="flex max-h-[86vh] w-full max-w-[46rem] flex-col overflow-hidden rounded-xl border border-(--stroke-nous) bg-(--ui-chat-bubble-background) shadow-nous">{/* Subtle back affordance (projects/overlay idiom): muted → foregroundon hover, no divider. */}@@ -307,7 +312,12 @@ export function BootFailureOverlay() {}return (- <div className="fixed inset-0 z-(--z-setup) flex items-center justify-center bg-(--ui-chat-surface-background) p-6">+ <div+ className="fixed inset-0 z-(--z-setup) flex items-center justify-center bg-(--ui-chat-surface-background) p-6"+ // Masks the whole app on boot failure — must stay filled under window+ // glass. Contract: `[data-glass-opaque]` in styles.css.+ data-glass-opaque=""+ ><div className="w-full max-w-[40rem] overflow-hidden rounded-xl border border-(--stroke-nous) bg-(--ui-chat-bubble-background) shadow-nous"><div className="flex items-start gap-3 px-5 py-4"><ErrorIcon className="mt-0.5" size="1.25rem" />diff --git a/apps/desktop/src/components/error-boundary.tsx b/apps/desktop/src/components/error-boundary.tsxindex 6ec1e4ca20d..2d6593b629a 100644--- a/apps/desktop/src/components/error-boundary.tsx+++ b/apps/desktop/src/components/error-boundary.tsx@@ -143,7 +143,12 @@ function RootErrorFallback({ error, reset }: ErrorBoundaryFallbackProps) {const { t } = useI18n()return (- <div className="fixed inset-0 z-(--z-crash) grid place-items-center bg-(--ui-chat-surface-background) p-6">+ <div+ className="fixed inset-0 z-(--z-crash) grid place-items-center bg-(--ui-chat-surface-background) p-6"+ // Masks a crashed app — must stay filled under window glass. Contract:+ // `[data-glass-opaque]` in styles.css.+ data-glass-opaque=""+ ><ErrorStateclassName="w-full max-w-[28rem]"description={error.message || t.errors.boundaryDesc}diff --git a/apps/desktop/src/components/gateway-connecting-overlay.tsx b/apps/desktop/src/components/gateway-connecting-overlay.tsxindex dcc24c64d86..f95b9a963fb 100644--- a/apps/desktop/src/components/gateway-connecting-overlay.tsx+++ b/apps/desktop/src/components/gateway-connecting-overlay.tsx@@ -141,6 +141,10 @@ export function GatewayConnectingOverlay() {'fixed inset-0 z-(--z-connecting) grid place-items-center bg-(--ui-chat-surface-background) transition-opacity duration-500 ease-out',overlayHidden ? 'pointer-events-none opacity-0' : 'opacity-100')}+ // Masks the whole app while booting — must stay filled under window+ // glass or the shell shows through. Contract: `[data-glass-opaque]`+ // in styles.css.+ data-glass-opaque=""><DecodeTextactive={phase === 'live' && (previewing || connecting)}diff --git a/apps/desktop/src/components/onboarding/index.tsx b/apps/desktop/src/components/onboarding/index.tsxindex e75d1280009..521a1a229c7 100644--- a/apps/desktop/src/components/onboarding/index.tsx+++ b/apps/desktop/src/components/onboarding/index.tsx@@ -308,6 +308,10 @@ export function DesktopOnboardingOverlay({bare && leaving ? '[transition-delay:660ms]' : '',leaving ? 'pointer-events-none opacity-0' : 'opacity-100')}+ // Masks the whole app until onboarding finishes — must stay filled under+ // window glass or the shell shows through. Contract:+ // `[data-glass-opaque]` in styles.css.+ data-glass-opaque=""><divclassName={cn(