Skip to content

Commit 5bc2f93

Browse files
authored
fix(protocol-designer): update announcement modal copy (#19081)
closes RQA-4460
1 parent 97060a4 commit 5bc2f93

File tree

3 files changed

+16
-36
lines changed

3 files changed

+16
-36
lines changed

protocol-designer/src/assets/localization/en/modal.json

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,13 @@
5858
},
5959
"liquidClassAndPythonExport": {
6060
"body1": "Welcome to Protocol Designer {{version}}!",
61-
"body10": "If multiple labware end up in the same slot at the same time due to deleting/rearranging steps, an error appears on the protocol timeline.",
62-
"body11": "If a Heater-Shaker step is created with a a heater set and a timer, the protocol will now wait until the temperature is reached before counting down the timer.",
63-
"body12": "If the timer of a Heater-Shaker step is toggled on and off, the timer input field no longer errors.",
64-
"body13": "Successfully delete a defined liquid that has not been assigned to any location.",
65-
"body14": "Display correct substep details for all transfer paths and pipettes.",
66-
"body15": "All protocols now require Opentrons App version 8.5.1+ to run.",
67-
"body16": "For more information, see the <link1>Protocol Designer Instruction Manual</link1>.",
68-
"body2": "We're excited to introduce support for liquid classes and exporting Python!",
69-
"body3": "Additionally, improvements for the following:",
70-
"body4": "Transfer step details show correct aspirate and dispense volumes when distributing liquid (a single aspirate and multiple dispenses).",
71-
"body5": "During a mix, push out is set to 0 by default for all mixes except for the last, to avoid multiple push out actions. You can choose your own push out volume in a mix step menu.",
72-
"body6": "Choose a new tip drop location from the dropdown menu when an uploaded protocol is missing a tip drop location.",
73-
"body7": "Protocol Designer correctly updates adapter and labware combination definitions when you upload a protocol designed in Protocol Designer v7.0.0 or earlier.",
74-
"body8": "When adding a disposal volume, a blowout location is now required.",
75-
"body9": "No longer allow touch tip with incompatible labware. This changes the behavior of imported protocols that had touch tip on incompatible labware.",
61+
"body7": "All protocols now require Opentrons App version 8.5.1+ to run.",
62+
"body8": "For more information, see the <link1>Protocol Designer Instruction Manual</link1>.",
63+
"body2": "This release adds support for liquid classes in Flex protocols, exports Python protocols for Flex and OT-2, and includes feature improvements and bug fixes.",
64+
"body3": "Other new features:",
65+
"body4": "Make edits to advanced settings like submerge and retract position and speed, touch tip, and air gap to customize each transfer.",
66+
"body5": "Customize push out volume after a dispense to ensure all liquid leaves the pipette tip.",
67+
"body6": "Add conditioning volumes to transfer steps. After aspirating liquid, the pipette will aspirate a smaller conditioning volume for a more accurate first dispense.",
7668
"heading": "{{version}} Release Notes"
7769
},
7870
"liquidColorEnhancements": {
@@ -305,8 +297,9 @@
305297
"tiprack": "Tiprack*"
306298
},
307299
"pipette_type": "Pipette Type",
308-
"protocol_name": "Protocol Name",
309300
"protocol_name_and_description": "Protocol name and description",
301+
"protocol_name": "Protocol Name",
302+
"release_notes": "Release notes",
310303
"review_file_details": "Review file details",
311304
"robot_type": "Robot Type",
312305
"staging_areas": "Staging area slots",
@@ -369,7 +362,6 @@
369362
},
370363
"upload": "Upload",
371364
"upload_tiprack": "Upload a custom tiprack to select its definition",
372-
"view_full_release_notes": "View full release notes",
373365
"well_order": {
374366
"body": "Change the order in which the robot aspirates from the selected wells",
375367
"field_label": "Order",

protocol-designer/src/components/organisms/AnnouncementModal/announcements.tsx

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,7 @@ const APP = 'Opentrons App'
6161
const OPENTRONS_PD = 'Opentrons Protocol Designer'
6262
const OPENTRONS_ABSORBANCE_READER_URL =
6363
'https://opentrons.com/products/opentrons-flex-absorbance-plate-reader-module-gen1'
64-
const EIGHT_FIVE_ZERO_RELEASE_BULLET_POINTS = [
65-
'4',
66-
'5',
67-
'6',
68-
'7',
69-
'8',
70-
'9',
71-
'10',
72-
'11',
73-
'12',
74-
'13',
75-
'14',
76-
]
64+
const EIGHT_FIVE_ZERO_RELEASE_BULLET_POINTS = ['4', '5', '6']
7765

7866
export const useAnnouncements = (): Announcement[] => {
7967
const { t } = useTranslation('modal')
@@ -596,6 +584,7 @@ export const useAnnouncements = (): Announcement[] => {
596584
<StyledText desktopStyle="bodyDefaultRegular">
597585
{t('announcements.liquidClassAndPythonExport.body2')}
598586
</StyledText>
587+
599588
<Flex flexDirection={DIRECTION_COLUMN}>
600589
<StyledText desktopStyle="bodyDefaultRegular">
601590
{t('announcements.liquidClassAndPythonExport.body3')}
@@ -614,7 +603,7 @@ export const useAnnouncements = (): Announcement[] => {
614603
</Flex>
615604
<Flex gridGap={SPACING.spacing4} flexDirection={DIRECTION_COLUMN}>
616605
<StyledText desktopStyle="bodyDefaultRegular">
617-
{t('announcements.liquidClassAndPythonExport.body15')}
606+
{t('announcements.liquidClassAndPythonExport.body7')}
618607
</StyledText>
619608
<StyledText desktopStyle="bodyDefaultRegular">
620609
<Trans
@@ -629,7 +618,7 @@ export const useAnnouncements = (): Announcement[] => {
629618
/>
630619
),
631620
}}
632-
i18nKey="announcements.liquidClassAndPythonExport.body16"
621+
i18nKey="announcements.liquidClassAndPythonExport.body8"
633622
/>
634623
</StyledText>
635624
</Flex>

protocol-designer/src/components/organisms/AnnouncementModal/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
Flex,
88
Icon,
99
JUSTIFY_CENTER,
10-
JUSTIFY_END,
10+
JUSTIFY_SPACE_BETWEEN,
1111
Link,
1212
Modal,
1313
PrimaryButton,
@@ -66,19 +66,18 @@ export const AnnouncementModal = (
6666
width="47rem"
6767
footer={
6868
<Flex
69-
justifyContent={JUSTIFY_END}
69+
justifyContent={JUSTIFY_SPACE_BETWEEN}
7070
paddingX={SPACING.spacing24}
7171
paddingBottom={SPACING.spacing24}
7272
alignItems={ALIGN_CENTER}
73-
gridGap={SPACING.spacing8}
7473
>
7574
<Link
7675
external
7776
href={RELEASE_NOTES_URL}
7877
css={TYPOGRAPHY.linkPSemiBold}
7978
>
8079
<Flex alignItems={ALIGN_CENTER} gridGap={SPACING.spacing8}>
81-
<StyledText>{t('view_full_release_notes')}</StyledText>
80+
<StyledText>{t('release_notes')}</StyledText>
8281
<Icon
8382
size={SPACING.spacing8}
8483
name="open-in-new"

0 commit comments

Comments
 (0)