From 347bc85a7ed241d39d3479a493efb29da551030e Mon Sep 17 00:00:00 2001 From: I Nyoman Jyotisa Date: Tue, 27 Jan 2026 14:32:14 +0800 Subject: [PATCH 1/2] Fix: Show text cursor on non-pressable content in Workflows and Reports --- src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx b/src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx index 5eb1303e0366..907472cb2a00 100644 --- a/src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx +++ b/src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx @@ -12,6 +12,7 @@ import Text from '@components/Text'; import useAccordionAnimation from '@hooks/useAccordionAnimation'; import useThemeStyles from '@hooks/useThemeStyles'; import Parser from '@libs/Parser'; +import CONST from '@src/CONST'; import type {Errors, PendingAction} from '@src/types/onyx/OnyxCommon'; import type IconAsset from '@src/types/utils/IconAsset'; @@ -193,9 +194,8 @@ function ToggleSettingOptionRow({ style={[styles.flexRow, styles.alignItemsCenter, styles.flex1]} onPress={shouldMakeContentPressable ? onPress : undefined} accessibilityLabel={title} - role="button" + role={shouldMakeContentPressable ? CONST.ROLE.BUTTON : CONST.ROLE.PRESENTATION} accessible={false} - disabled={!shouldMakeContentPressable} > {contentArea} From 001b2b282e9838674032b11d4f61cf142fad25fc Mon Sep 17 00:00:00 2001 From: I Nyoman Jyotisa Date: Tue, 3 Feb 2026 10:53:22 +0800 Subject: [PATCH 2/2] lint fix --- src/CONST/index.ts | 3 +++ src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx | 1 + 2 files changed, 4 insertions(+) diff --git a/src/CONST/index.ts b/src/CONST/index.ts index b4db81c11655..0850a91d3fa7 100755 --- a/src/CONST/index.ts +++ b/src/CONST/index.ts @@ -8209,6 +8209,9 @@ const CONST = { HOME_PAGE: { WIDGET_ITEM: 'HomePage-WidgetItem', }, + WORKSPACE: { + TOGGLE_SETTINGS_ROW: 'Workspace-ToggleSettingsRow', + }, }, DOMAIN: { diff --git a/src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx b/src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx index 907472cb2a00..4921d6406d6e 100644 --- a/src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx +++ b/src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx @@ -196,6 +196,7 @@ function ToggleSettingOptionRow({ accessibilityLabel={title} role={shouldMakeContentPressable ? CONST.ROLE.BUTTON : CONST.ROLE.PRESENTATION} accessible={false} + sentryLabel={CONST.SENTRY_LABEL.WORKSPACE.TOGGLE_SETTINGS_ROW} > {contentArea}