Skip to content

Commit

Permalink
refactor(app): Fix copy/CSS for stall/collision recovery DQA (#17298)
Browse files Browse the repository at this point in the history
Closes RQA-3870 and RQA-3871

Brings the stall/collision recovery flow in-line with designs. See the tickets for details and fixes.
  • Loading branch information
mjhuff authored Jan 21, 2025
1 parent 27d2dc8 commit 9c70751
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/src/assets/localization/en/error_recovery.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"stand_back_retrying": "Stand back, retrying failed step",
"stand_back_skipping_to_next_step": "Stand back, skipping to next step",
"take_any_necessary_precautions": "Take any necessary precautions before positioning yourself to stabilize or catch the labware. Once confirmed, a countdown will begin before the gripper releases.",
"take_necessary_actions": "<block>First, take any necessary actions to prepare the robot to retry the failed step.</block><block>Then, close the robot door before proceeding.</block>",
"take_necessary_actions": "<block>Take any necessary additional actions to prepare the robot to retry the failed step.</block><block>Close the robot door before proceeding.</block>",
"take_necessary_actions_failed_pickup": "<block>First, take any necessary actions to prepare the robot to retry the failed tip pickup.</block><block>Then, close the robot door before proceeding.</block>",
"take_necessary_actions_failed_tip_drop": "<block>First, take any necessary actions to prepare the robot to retry the failed tip drop.</block><block>Then, close the robot door before proceeding.</block>",
"take_necessary_actions_home": "<block>Take any necessary actions to prepare the robot to move the gantry to its home position.</block><block>Close the robot door before proceeding.</block>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function RecoveryInterventionModal({
}

return createPortal(
<InterventionModal {...restProps}>
<InterventionModal {...restProps} iconSize={isOnDevice ? '28px' : '16px'}>
<Flex
css={
desktopType === 'desktop-small'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ describe('RetryStepInfo', () => {
render(props)

screen.getByText(
'First, take any necessary actions to prepare the robot to retry the failed step.'
'Take any necessary additional actions to prepare the robot to retry the failed step.'
)
screen.getByText('Then, close the robot door before proceeding.')
screen.getByText('Close the robot door before proceeding.')
})
})

0 comments on commit 9c70751

Please sign in to comment.