From 49008aeb8d10eb23565cd98e4dda22e464548c19 Mon Sep 17 00:00:00 2001 From: Jasper Huang Date: Thu, 15 Oct 2026 12:23:25 -0700 Subject: [PATCH] feat(settings): remove beta gate for human support --- src/pages/settings/HelpPage/HelpPage.tsx | 30 ++++++++++-------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/src/pages/settings/HelpPage/HelpPage.tsx b/src/pages/settings/HelpPage/HelpPage.tsx index f9a2870b5b26..97a6d58d298b 100644 --- a/src/pages/settings/HelpPage/HelpPage.tsx +++ b/src/pages/settings/HelpPage/HelpPage.tsx @@ -13,7 +13,6 @@ import useLocalize from '@hooks/useLocalize'; import useNetwork from '@hooks/useNetwork'; import useOnyx from '@hooks/useOnyx'; import useOpenConciergeAnywhere from '@hooks/useOpenConciergeAnywhere'; -import usePermissions from '@hooks/usePermissions'; import usePersonalDetailByLogin from '@hooks/usePersonalDetailByLogin'; import {useAllPersonalDetails} from '@hooks/usePersonalDetails'; import useResponsiveLayout from '@hooks/useResponsiveLayout'; @@ -65,7 +64,6 @@ function HelpPage() { const [conciergeChat] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${conciergeReportID}`); const {accountID: currentUserAccountID} = useCurrentUserPersonalDetails(); const {openConciergeAnywhere} = useOpenConciergeAnywhere(); - const {isBetaEnabled} = usePermissions(); const {isOffline} = useNetwork(); const openSupportTicketOrConcierge = () => { @@ -212,22 +210,20 @@ function HelpPage() { sentryLabel: CONST.SENTRY_LABEL.SETTINGS_HELP.HELP_DOCS, }; - const talkToAHumanItem = isBetaEnabled(CONST.BETAS.SUPPORT_TICKET) - ? { - key: 'initialSettingsPage.talkToAHuman', - title: translate('initialSettingsPage.talkToAHuman'), - description: translate('initialSettingsPage.helpPage.talkToAHumanDescription'), - icon: icons.ChatBubbles, - iconType: CONST.ICON_TYPE_ICON, - onPress: openSupportTicketOrConcierge, - isDisabled: isOffline, - shouldShowRightIcon: true, - wrapperStyle: [styles.sectionMenuItemTopDescription], - sentryLabel: CONST.SENTRY_LABEL.SETTINGS_HELP.SUPPORT_TICKET, - } - : null; + const talkToAHumanItem = { + key: 'initialSettingsPage.talkToAHuman', + title: translate('initialSettingsPage.talkToAHuman'), + description: translate('initialSettingsPage.helpPage.talkToAHumanDescription'), + icon: icons.ChatBubbles, + iconType: CONST.ICON_TYPE_ICON, + onPress: openSupportTicketOrConcierge, + isDisabled: isOffline, + shouldShowRightIcon: true, + wrapperStyle: [styles.sectionMenuItemTopDescription], + sentryLabel: CONST.SENTRY_LABEL.SETTINGS_HELP.SUPPORT_TICKET, + }; - const moreResourcesItems = [...(hasActiveItem ? [] : [conciergeItem]), ...(talkToAHumanItem ? [talkToAHumanItem] : []), helpSiteItem]; + const moreResourcesItems = [...(hasActiveItem ? [] : [conciergeItem]), talkToAHumanItem, helpSiteItem]; useEffect(() => { openHelpPage();