Skip to content

Commit

Permalink
bug/9596-Chika-ChangeLinkColorInAlertToGray (#9672)
Browse files Browse the repository at this point in the history
  • Loading branch information
cadibemma authored Sep 25, 2024
1 parent a3c6cc4 commit 016d3ea
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ const CallHelpCenter: FC<CallHelpCenterProps> = ({
a11yLabel={a11yLabelID(callPhone || t('8006982411'))}
displayedText={callPhone ? undefined : displayedTextPhoneNumber(t('8006982411'))}
phone={callPhone ? callPhone : t('8006982411')}
variant={'base'}
/>
</Box>
</AlertWithHaptics>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const DowntimeError: FC<DowntimeErrorProps> = ({ screenID }) => {
displayedText={displayedTextPhoneNumber(t('8006982411'))}
phone={t('8006982411')}
a11yLabel={a11yLabelID(t('8006982411'))}
variant={'base'}
/>
</AlertWithHaptics>
</Box>
Expand Down
1 change: 1 addition & 0 deletions VAMobile/src/components/WaygateWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export const WaygateWrapper: FC<WaygateWrapperProps> = ({ children, waygateName,
displayedText={displayedTextPhoneNumber(phoneNumber)}
phone={phoneNumber}
a11yLabel={a11yLabelID(phoneNumber)}
variant={'base'}
/>
</AlertWithHaptics>
</Box>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ function TakePhotos({ navigation, route }: TakePhotosProps) {
url={LINK_URL_GO_TO_VA_GOV}
text={t('goToVAGov')}
a11yLabel={a11yLabelVA(t('goToVAGov'))}
variant={'base'}
/>
</AlertWithHaptics>
</Box>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function CernerAlert() {
text: t('goToMyVAHealth'),
a11yLabel: a11yLabelVA(t('goToMyVAHealth')),
testID: 'goToMyVAHealthTestID',
variant: 'base',
}

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ function PrescriptionsDetailsBanner() {
phone={t('5418307563')}
displayedText={`${t('automatedPhoneSystem')} ${displayedTextPhoneNumber(t('5418307563'))}`}
a11yLabel={`${t('automatedPhoneSystem')} ${getNumberAccessibilityLabelFromString(t('5418307563'))}`}
variant={'base'}
/>
</>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ function PrescriptionHistory({ navigation, route }: PrescriptionHistoryProps) {
url: LINK_URL_GO_TO_PATIENT_PORTAL,
text: t('goToMyVAHealth'),
a11yLabel: a11yLabelVA(t('goToMyVAHealth')),
variant: 'base',
}

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ function PrescriptionHistoryNoPrescriptions() {
<VABulletList listOfText={medicationsNotIncludedList} paragraphSpacing={true} />
</Box>
<TextView paragraphSpacing={true}>{t('prescriptions.notFound.bullets.ifYouThink')}</TextView>
<ClickToCallPhoneNumber displayedText={displayedTextPhoneNumber(t('8773270022'))} phone={t('8773270022')} />
<ClickToCallPhoneNumber
displayedText={displayedTextPhoneNumber(t('8773270022'))}
phone={t('8773270022')}
variant={'base'}
/>
</AlertWithHaptics>
</Box>
</VAScrollView>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ function CernerAlertSM() {
text: t('goToMyVAHealth'),
a11yLabel: a11yLabelVA(t('goToMyVAHealth')),
testID: 'goToMyVAHealthTestID',
variant: 'base',
}

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ function NoVaccineRecords() {
<TextView paragraphSpacing={true} variant="MobileBody">
{t('noVaccineRecords.alert.text.2')}
</TextView>
<ClickToCallPhoneNumber phone={t('8006982411')} displayedText={displayedTextPhoneNumber(t('8006982411'))} />
<ClickToCallPhoneNumber
phone={t('8006982411')}
displayedText={displayedTextPhoneNumber(t('8006982411'))}
variant={'base'}
/>
</AlertWithHaptics>
</VAScrollView>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ function NoPaymentsScreen() {
accessibilityLabel={t('payments.noPayments.body.2.a11yLabel')}>
{t('payments.noPayments.body.2')}
</TextView>
<ClickToCallPhoneNumber phone={t('8008271000')} displayedText={displayedTextPhoneNumber(t('8008271000'))} />
<ClickToCallPhoneNumber
phone={t('8008271000')}
displayedText={displayedTextPhoneNumber(t('8008271000'))}
variant={'base'}
/>
</AlertWithHaptics>
</VAScrollView>
)
Expand Down

0 comments on commit 016d3ea

Please sign in to comment.