From 3633c123753c45350ac7e84f1dc642351894fbe1 Mon Sep 17 00:00:00 2001 From: koji Date: Thu, 21 Sep 2023 12:52:19 -0400 Subject: [PATCH] feat(app): fix small ui bugs on ODD (#13618) * feat(app): fix small ui bugs on ODD --- app/src/assets/localization/en/run_details.json | 2 +- .../OnDeviceDisplay/RunningProtocol/RunFailedModal.tsx | 8 +++++++- .../RunningProtocol/__tests__/RunFailedModal.test.tsx | 2 +- app/src/pages/OnDeviceDisplay/RunSummary.tsx | 1 - 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/src/assets/localization/en/run_details.json b/app/src/assets/localization/en/run_details.json index 749332edd22..12fafac3580 100644 --- a/app/src/assets/localization/en/run_details.json +++ b/app/src/assets/localization/en/run_details.json @@ -20,7 +20,7 @@ "comment_step": "Comment", "comment": "Comment", "complete_protocol_to_download": "Complete the protocol to download the run log", - "contact_information": "Download the run logs from the Opentrons App and send it to support@opentrons.com for assistance.", + "contact_information": "Download the robot logs from the Opentrons App and send it to support@opentrons.com for assistance.", "current_step_pause_timer": "Timer", "current_step_pause": "Current Step - Paused by User", "current_step": "Current Step", diff --git a/app/src/organisms/OnDeviceDisplay/RunningProtocol/RunFailedModal.tsx b/app/src/organisms/OnDeviceDisplay/RunningProtocol/RunFailedModal.tsx index 95ce2efcd28..b83493f03e8 100644 --- a/app/src/organisms/OnDeviceDisplay/RunningProtocol/RunFailedModal.tsx +++ b/app/src/organisms/OnDeviceDisplay/RunningProtocol/RunFailedModal.tsx @@ -99,7 +99,13 @@ export function RunFailedModal({ - + {t('contact_information')} diff --git a/app/src/organisms/OnDeviceDisplay/RunningProtocol/__tests__/RunFailedModal.test.tsx b/app/src/organisms/OnDeviceDisplay/RunningProtocol/__tests__/RunFailedModal.test.tsx index b8bf79aad9e..b350cf1117c 100644 --- a/app/src/organisms/OnDeviceDisplay/RunningProtocol/__tests__/RunFailedModal.test.tsx +++ b/app/src/organisms/OnDeviceDisplay/RunningProtocol/__tests__/RunFailedModal.test.tsx @@ -107,7 +107,7 @@ describe('RunFailedModal', () => { getByText('Error 1000: hardwareCommunicationError') getByText('Error with code 1000 (highest priority)') getByText( - 'Download the run logs from the Opentrons App and send it to support@opentrons.com for assistance.' + 'Download the robot logs from the Opentrons App and send it to support@opentrons.com for assistance.' ) getByText('Close') }) diff --git a/app/src/pages/OnDeviceDisplay/RunSummary.tsx b/app/src/pages/OnDeviceDisplay/RunSummary.tsx index c2fc4f960bb..3093f48f04c 100644 --- a/app/src/pages/OnDeviceDisplay/RunSummary.tsx +++ b/app/src/pages/OnDeviceDisplay/RunSummary.tsx @@ -310,7 +310,6 @@ const SplashFrame = styled(Flex)` const ProtocolName = styled.h4` font-weight: ${TYPOGRAPHY.fontWeightSemiBold}; text-align: ${TYPOGRAPHY.textAlignLeft}; - text-transform: ${TYPOGRAPHY.textTransformCapitalize}; font-size: ${TYPOGRAPHY.fontSize28}; line-height: ${TYPOGRAPHY.lineHeight36}; color: ${COLORS.darkBlack70};