From 2ec69427d012ebf9725462e102952dadffc2a527 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 27 May 2026 20:51:14 -0700 Subject: [PATCH] [eric] revert: drop the five windows ablations now that electron 42 (chromium 146) erases the chromium-144 crashes they were working around --- .../components/Onboarding/OnboardingPanel.tsx | 4 +- .../components/editor/RichPromptEditor.tsx | 82 ++++++------------ .../ChatInput/view/EditorSurface.tsx | 85 ++++++------------- frontend/src/app/pages/Views/CodeEditor.tsx | 29 +------ frontend/src/app/pages/Views/ViewPreview.tsx | 4 +- 5 files changed, 57 insertions(+), 147 deletions(-) diff --git a/frontend/src/app/components/Onboarding/OnboardingPanel.tsx b/frontend/src/app/components/Onboarding/OnboardingPanel.tsx index 85386811..958bdaf5 100644 --- a/frontend/src/app/components/Onboarding/OnboardingPanel.tsx +++ b/frontend/src/app/components/Onboarding/OnboardingPanel.tsx @@ -443,11 +443,11 @@ const StepCardBody: React.FC = ({ : undefined, }} > - {step.videoSrc && !(typeof navigator !== 'undefined' && navigator.userAgent.includes('Windows')) ? ( + {step.videoSrc ? ( = ({ )} - {(typeof navigator !== 'undefined' && navigator.userAgent.includes('Windows') && navigator.userAgent.includes('Electron')) ? ( - // Windows-Electron:
hits the Chromium 144 TSF native crash; fall back to a plain textarea (loses inline pills but stays alive). -