From a7cced63735b8e369f3ef28ca595204e222e955c Mon Sep 17 00:00:00 2001 From: Adam Xu Date: Sun, 16 Aug 2026 15:58:26 -0700 Subject: [PATCH 1/2] Always render the Schoology developer override The override trigger was gated to non-production web builds, which put it out of reach of the environments it is most needed in. Restore the unconditional render and hide it by painting the label in the slide background colour at 8px with a default cursor. Co-Authored-By: Claude Opus 5 (1M context) --- .../components/onboarding/ConnectLmsStep.tsx | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/frontend/src/components/onboarding/ConnectLmsStep.tsx b/frontend/src/components/onboarding/ConnectLmsStep.tsx index 9893033..5068cdb 100644 --- a/frontend/src/components/onboarding/ConnectLmsStep.tsx +++ b/frontend/src/components/onboarding/ConnectLmsStep.tsx @@ -18,7 +18,6 @@ interface ConnectLmsStepProps { export function ConnectLmsStep({ mode = 'web', onUserUpdate }: ConnectLmsStepProps) { const searchParams = useSearchParams(); const error = searchParams.get('error'); - const allowDeveloperOverride = mode !== 'mobile' && process.env.NODE_ENV !== 'production'; const [bridgeError, setBridgeError] = useState(null); const [overrideOpen, setOverrideOpen] = useState(false); const [overrideClientId, setOverrideClientId] = useState(''); @@ -107,17 +106,16 @@ export function ConnectLmsStep({ mode = 'web', onUserUpdate }: ConnectLmsStepPro Connect Schoology - {allowDeveloperOverride && ( - - )} + - {allowDeveloperOverride && overrideOpen && ( + {overrideOpen && (