From cbd866d6c278f60e801c86573cec78267d9425a9 Mon Sep 17 00:00:00 2001 From: MelvinBot Date: Thu, 5 Feb 2026 14:04:16 +0000 Subject: [PATCH 1/4] Fix table row bottom margin in Expensify Card list page Change bottom margin from 12px (mb3) to 8px (mb2) to match the standard table gap used elsewhere in the app. Fixes #81515 Co-authored-by: Shawn Borton --- .../workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx b/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx index 605358f6714a..b42066dfbda1 100644 --- a/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx +++ b/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx @@ -162,7 +162,7 @@ function WorkspaceExpensifyCardListPage({route, cardsList, fundID}: WorkspaceExp > Navigation.navigate(ROUTES.WORKSPACE_EXPENSIFY_CARD_DETAILS.getRoute(policyID, item.cardID.toString()))} From fdfd8b140967028a71c2dd546a18a5cf506507fc Mon Sep 17 00:00:00 2001 From: MelvinBot Date: Thu, 5 Feb 2026 14:08:12 +0000 Subject: [PATCH 2/4] fix: Add missing sentryLabel prop to PressableWithFeedback Adds the required sentryLabel prop to fix ESLint check failure. --- .../workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx b/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx index b42066dfbda1..6e1a59fd2f87 100644 --- a/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx +++ b/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx @@ -164,6 +164,7 @@ function WorkspaceExpensifyCardListPage({route, cardsList, fundID}: WorkspaceExp role={CONST.ROLE.BUTTON} style={[styles.mh5, styles.br3, styles.mb2, styles.highlightBG]} accessibilityLabel="row" + sentryLabel="WorkspaceExpensifyCardListPage-CardRow" hoverStyle={[styles.hoveredComponentBG]} onPress={() => Navigation.navigate(ROUTES.WORKSPACE_EXPENSIFY_CARD_DETAILS.getRoute(policyID, item.cardID.toString()))} > From 9c36f35eb1fbf52d3ee655d0df41cdf94608bde1 Mon Sep 17 00:00:00 2001 From: MelvinBot Date: Thu, 5 Feb 2026 18:21:40 +0000 Subject: [PATCH 3/4] Remove unnecessary sentryLabel prop Removed the sentryLabel prop that was added outside the scope of the original issue. The fix should only change the margin from mb3 to mb2. --- .../workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx b/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx index 6e1a59fd2f87..b42066dfbda1 100644 --- a/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx +++ b/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx @@ -164,7 +164,6 @@ function WorkspaceExpensifyCardListPage({route, cardsList, fundID}: WorkspaceExp role={CONST.ROLE.BUTTON} style={[styles.mh5, styles.br3, styles.mb2, styles.highlightBG]} accessibilityLabel="row" - sentryLabel="WorkspaceExpensifyCardListPage-CardRow" hoverStyle={[styles.hoveredComponentBG]} onPress={() => Navigation.navigate(ROUTES.WORKSPACE_EXPENSIFY_CARD_DETAILS.getRoute(policyID, item.cardID.toString()))} > From cb1c316cf0b4ef2934a89958a21ee5eccef32943 Mon Sep 17 00:00:00 2001 From: MelvinBot Date: Thu, 5 Feb 2026 18:29:10 +0000 Subject: [PATCH 4/4] Fix: Add missing sentryLabel prop to PressableWithFeedback The ESLint rule requires all Pressable components to have a sentryLabel prop for Sentry tracking. Added the new SENTRY_LABEL constant for workspace expensify card list rows and applied it to the component. --- src/CONST/index.ts | 3 +++ .../workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx | 1 + 2 files changed, 4 insertions(+) diff --git a/src/CONST/index.ts b/src/CONST/index.ts index d7c9c2640143..5430584903ee 100755 --- a/src/CONST/index.ts +++ b/src/CONST/index.ts @@ -8232,6 +8232,9 @@ const CONST = { NEW_CHAT: { SELECT_PARTICIPANT: 'NewChat-SelectParticipant', }, + WORKSPACE_EXPENSIFY_CARD: { + CARD_LIST_ROW: 'WorkspaceExpensifyCard-CardListRow', + }, }, DOMAIN: { diff --git a/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx b/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx index b42066dfbda1..fa75015552f4 100644 --- a/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx +++ b/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx @@ -164,6 +164,7 @@ function WorkspaceExpensifyCardListPage({route, cardsList, fundID}: WorkspaceExp role={CONST.ROLE.BUTTON} style={[styles.mh5, styles.br3, styles.mb2, styles.highlightBG]} accessibilityLabel="row" + sentryLabel={CONST.SENTRY_LABEL.WORKSPACE_EXPENSIFY_CARD.CARD_LIST_ROW} hoverStyle={[styles.hoveredComponentBG]} onPress={() => Navigation.navigate(ROUTES.WORKSPACE_EXPENSIFY_CARD_DETAILS.getRoute(policyID, item.cardID.toString()))} >