From f0c0857e6e59819a6aba22df8fd4baf4d34bb18e Mon Sep 17 00:00:00 2001 From: Seth Foster Date: Thu, 19 Nov 2020 13:18:06 -0500 Subject: [PATCH] refactor(app): add explanation and link to cal card (#7038) This will be an ever-present reminder of what calibration is that lives in the calibration card. --- .../RobotSettings/CalibrationCard.js | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/app/src/components/RobotSettings/CalibrationCard.js b/app/src/components/RobotSettings/CalibrationCard.js index 6b4683aa376..df1a9ad15ec 100644 --- a/app/src/components/RobotSettings/CalibrationCard.js +++ b/app/src/components/RobotSettings/CalibrationCard.js @@ -22,6 +22,9 @@ import { useTrackEvent } from '../../analytics' import { useInterval, Card, + Box, + BORDER_SOLID_LIGHT, + DISPLAY_INLINE, ALIGN_BASELINE, FONT_SIZE_BODY_1, Link, @@ -56,6 +59,12 @@ const EVENT_CALIBRATION_DOWNLOADED = 'calibrationDataDownloaded' const TITLE = 'Robot Calibration' const DOWNLOAD_CALIBRATION = 'Download your calibration data' +const CAL_EXPLANATION = + 'Your OT-2 moves pipettes around in 3D space based on its calibration.' +const LEARN_MORE = 'Learn more' +const CAL_EXPLANATION_SUFFIX = 'about how calibration works on the OT-2.' +const CAL_ARTICLE_URL = + 'https://support.opentrons.com/en/articles/3499692-how-calibration-works-on-the-ot-2' const attachedPipetteCalPresent: ( pipettes: AttachedPipettesByMount, @@ -189,6 +198,24 @@ export function CalibrationCard(props: Props): React.Node { {DOWNLOAD_CALIBRATION} + + {CAL_EXPLANATION} +   + + {LEARN_MORE} + +   + {CAL_EXPLANATION_SUFFIX} +