@@ -75,6 +75,7 @@ function ProfilePage() {
7575 description : translate ( 'displayNamePage.headerTitle' ) ,
7676 title : formatPhoneNumber ( getDisplayNameOrDefault ( currentUserPersonalDetails ) ) ,
7777 pageRoute : ROUTES . SETTINGS_DISPLAY_NAME ,
78+ sentryLabel : CONST . SENTRY_LABEL . SETTINGS_PROFILE . DISPLAY_NAME ,
7879 } ,
7980 {
8081 description : translate ( 'contacts.contactMethods' ) ,
@@ -85,29 +86,34 @@ function ProfilePage() {
8586 pageRoute : ROUTES . SETTINGS_CONTACT_METHODS . route ,
8687 brickRoadIndicator : contactMethodBrickRoadIndicator ,
8788 testID : 'contact-method-menu-item' ,
89+ sentryLabel : CONST . SENTRY_LABEL . SETTINGS_PROFILE . CONTACT_METHODS ,
8890 } ,
8991 {
9092 description : translate ( 'statusPage.status' ) ,
9193 title : emojiCode ? `${ emojiCode } ${ currentUserPersonalDetails ?. status ?. text ?? '' } ` : '' ,
9294 pageRoute : ROUTES . SETTINGS_STATUS ,
9395 brickRoadIndicator : isEmptyObject ( vacationDelegate ?. errors ) ? undefined : CONST . BRICK_ROAD_INDICATOR_STATUS . ERROR ,
96+ sentryLabel : CONST . SENTRY_LABEL . SETTINGS_PROFILE . STATUS ,
9497 } ,
9598 {
9699 description : translate ( 'pronounsPage.pronouns' ) ,
97100 title : getPronouns ( ) ,
98101 pageRoute : ROUTES . SETTINGS_PRONOUNS ,
102+ sentryLabel : CONST . SENTRY_LABEL . SETTINGS_PROFILE . PRONOUNS ,
99103 } ,
100104 {
101105 description : translate ( 'timezonePage.timezone' ) ,
102106 title : currentUserPersonalDetails ?. timezone ?. selected ?? '' ,
103107 pageRoute : ROUTES . SETTINGS_TIMEZONE ,
108+ sentryLabel : CONST . SENTRY_LABEL . SETTINGS_PROFILE . TIMEZONE ,
104109 } ,
105110 ] ;
106111
107112 const privateOptions = [
108113 {
109114 description : translate ( 'privatePersonalDetails.legalName' ) ,
110115 title : legalName ,
116+ sentryLabel : CONST . SENTRY_LABEL . SETTINGS_PROFILE . LEGAL_NAME ,
111117 action : ( ) => {
112118 if ( isActingAsDelegate ) {
113119 showDelegateNoAccessModal ( ) ;
@@ -119,6 +125,7 @@ function ProfilePage() {
119125 {
120126 description : translate ( 'common.dob' ) ,
121127 title : privateDetails . dob ?? '' ,
128+ sentryLabel : CONST . SENTRY_LABEL . SETTINGS_PROFILE . DATE_OF_BIRTH ,
122129 action : ( ) => {
123130 if ( isActingAsDelegate ) {
124131 showDelegateNoAccessModal ( ) ;
@@ -130,6 +137,7 @@ function ProfilePage() {
130137 {
131138 description : translate ( 'common.phoneNumber' ) ,
132139 title : privateDetails . phoneNumber ?? '' ,
140+ sentryLabel : CONST . SENTRY_LABEL . SETTINGS_PROFILE . PHONE_NUMBER ,
133141 action : ( ) => {
134142 if ( isActingAsDelegate ) {
135143 showDelegateNoAccessModal ( ) ;
@@ -142,6 +150,7 @@ function ProfilePage() {
142150 {
143151 description : translate ( 'privatePersonalDetails.address' ) ,
144152 title : getFormattedAddress ( privateDetails ) ,
153+ sentryLabel : CONST . SENTRY_LABEL . SETTINGS_PROFILE . ADDRESS ,
145154 action : ( ) => {
146155 if ( isActingAsDelegate ) {
147156 showDelegateNoAccessModal ( ) ;
@@ -202,6 +211,7 @@ function ProfilePage() {
202211 pendingAction = { currentUserPersonalDetails ?. pendingFields ?. avatar ?? undefined }
203212 fallbackIcon = { currentUserPersonalDetails ?. fallbackIcon }
204213 editIconStyle = { styles . profilePageAvatar }
214+ sentryLabel = { CONST . SENTRY_LABEL . SETTINGS_PROFILE . AVATAR }
205215 />
206216 </ MenuItemGroup >
207217 ) }
@@ -217,6 +227,7 @@ function ProfilePage() {
217227 onPress = { ( ) => Navigation . navigate ( detail . pageRoute ) }
218228 brickRoadIndicator = { detail . brickRoadIndicator }
219229 pressableTestID = { detail ?. testID }
230+ sentryLabel = { detail . sentryLabel }
220231 />
221232 ) ) }
222233 < Button
@@ -225,6 +236,7 @@ function ProfilePage() {
225236 onPress = { ( ) => Navigation . navigate ( ROUTES . SETTINGS_SHARE_CODE ) }
226237 icon = { icons . QrCode }
227238 style = { [ styles . alignSelfStart , styles . mt6 ] }
239+ sentryLabel = { CONST . SENTRY_LABEL . SETTINGS_PROFILE . SHARE_CODE }
228240 />
229241 </ Section >
230242 < Section
@@ -251,6 +263,7 @@ function ProfilePage() {
251263 wrapperStyle = { styles . sectionMenuItemTopDescription }
252264 onPress = { detail . action }
253265 brickRoadIndicator = { detail . brickRoadIndicator }
266+ sentryLabel = { detail . sentryLabel }
254267 />
255268 ) ) }
256269 </ MenuItemGroup >
0 commit comments