Skip to content

Commit f0c0857

Browse files
authored
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.
1 parent adfed91 commit f0c0857

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

app/src/components/RobotSettings/CalibrationCard.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ import { useTrackEvent } from '../../analytics'
2222
import {
2323
useInterval,
2424
Card,
25+
Box,
26+
BORDER_SOLID_LIGHT,
27+
DISPLAY_INLINE,
2528
ALIGN_BASELINE,
2629
FONT_SIZE_BODY_1,
2730
Link,
@@ -56,6 +59,12 @@ const EVENT_CALIBRATION_DOWNLOADED = 'calibrationDataDownloaded'
5659
const TITLE = 'Robot Calibration'
5760

5861
const DOWNLOAD_CALIBRATION = 'Download your calibration data'
62+
const CAL_EXPLANATION =
63+
'Your OT-2 moves pipettes around in 3D space based on its calibration.'
64+
const LEARN_MORE = 'Learn more'
65+
const CAL_EXPLANATION_SUFFIX = 'about how calibration works on the OT-2.'
66+
const CAL_ARTICLE_URL =
67+
'https://support.opentrons.com/en/articles/3499692-how-calibration-works-on-the-ot-2'
5968

6069
const attachedPipetteCalPresent: (
6170
pipettes: AttachedPipettesByMount,
@@ -189,6 +198,24 @@ export function CalibrationCard(props: Props): React.Node {
189198
{DOWNLOAD_CALIBRATION}
190199
</Link>
191200
</Flex>
201+
<Box
202+
borderBottom={BORDER_SOLID_LIGHT}
203+
fontSize={FONT_SIZE_BODY_1}
204+
padding={SPACING_3}
205+
>
206+
<Text display={DISPLAY_INLINE}>{CAL_EXPLANATION}</Text>
207+
&nbsp;
208+
<Link
209+
color={C_BLUE}
210+
display={DISPLAY_INLINE}
211+
external
212+
href={CAL_ARTICLE_URL}
213+
>
214+
{LEARN_MORE}
215+
</Link>
216+
&nbsp;
217+
<Text display={DISPLAY_INLINE}>{CAL_EXPLANATION_SUFFIX}</Text>
218+
</Box>
192219
<DeckCalibrationControl
193220
robotName={robotName}
194221
disabledReason={buttonDisabledReason}

0 commit comments

Comments
 (0)