From c17f3ed648ce2befa016eff24a5f212886342d93 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Wed, 21 Oct 2026 10:29:52 -0600 Subject: [PATCH 1/3] feat: Enable Insights on web ahead of native rollout --- src/libs/Permissions.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/libs/Permissions.ts b/src/libs/Permissions.ts index 12a4e8880929..6911f6eb21dd 100644 --- a/src/libs/Permissions.ts +++ b/src/libs/Permissions.ts @@ -8,6 +8,8 @@ import type {OnyxEntry} from 'react-native-onyx'; import type Environment from './Environment/getEnvironment/types'; +import getPlatform from './getPlatform'; + /** * Overrides are a test tool, so they never apply in production. * Android staging and TestFlight are compiled as production, so only the resolved environment tells a real production @@ -38,6 +40,11 @@ function isBetaEnabled(beta: Beta, betas: OnyxEntry, betaConfiguration: } } + // Release web independently while the native navigation fixes roll out. + if (beta === CONST.BETAS.INSIGHTS_PAGE && getPlatform() === CONST.PLATFORM.WEB) { + return true; + } + const hasAllBetasEnabled = canUseAllBetas(betas); const isFeatureEnabled = !!betas?.includes(beta); From d5db70567c855e13281061f777226e726b2ccc09 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Wed, 21 Oct 2026 10:33:23 -0600 Subject: [PATCH 2/3] feat: Include Insights comparison in web rollout --- src/libs/Permissions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/Permissions.ts b/src/libs/Permissions.ts index 6911f6eb21dd..fee133fddce0 100644 --- a/src/libs/Permissions.ts +++ b/src/libs/Permissions.ts @@ -41,7 +41,7 @@ function isBetaEnabled(beta: Beta, betas: OnyxEntry, betaConfiguration: } // Release web independently while the native navigation fixes roll out. - if (beta === CONST.BETAS.INSIGHTS_PAGE && getPlatform() === CONST.PLATFORM.WEB) { + if ((beta === CONST.BETAS.INSIGHTS_PAGE || beta === CONST.BETAS.INSIGHTS_COMPARE) && getPlatform() === CONST.PLATFORM.WEB) { return true; } From 8517d44e80e7662cd7645152a74f7c9cfd6103e4 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Wed, 21 Oct 2026 10:36:41 -0600 Subject: [PATCH 3/3] feat: Limit Insights rollout to desktop web --- src/libs/Permissions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/Permissions.ts b/src/libs/Permissions.ts index fee133fddce0..b5830dc79fbc 100644 --- a/src/libs/Permissions.ts +++ b/src/libs/Permissions.ts @@ -40,8 +40,8 @@ function isBetaEnabled(beta: Beta, betas: OnyxEntry, betaConfiguration: } } - // Release web independently while the native navigation fixes roll out. - if ((beta === CONST.BETAS.INSIGHTS_PAGE || beta === CONST.BETAS.INSIGHTS_COMPARE) && getPlatform() === CONST.PLATFORM.WEB) { + // Release desktop web independently while the native navigation fixes roll out. + if ((beta === CONST.BETAS.INSIGHTS_PAGE || beta === CONST.BETAS.INSIGHTS_COMPARE) && getPlatform(true) === CONST.PLATFORM.WEB) { return true; }