diff --git a/protocol-designer/src/images/OT2.png b/protocol-designer/src/assets/images/OT2.png similarity index 100% rename from protocol-designer/src/images/OT2.png rename to protocol-designer/src/assets/images/OT2.png diff --git a/protocol-designer/src/images/OpentronsFlex.png b/protocol-designer/src/assets/images/OpentronsFlex.png similarity index 100% rename from protocol-designer/src/images/OpentronsFlex.png rename to protocol-designer/src/assets/images/OpentronsFlex.png diff --git a/protocol-designer/src/images/announcements/batch_edit.gif b/protocol-designer/src/assets/images/announcements/batch_edit.gif similarity index 100% rename from protocol-designer/src/images/announcements/batch_edit.gif rename to protocol-designer/src/assets/images/announcements/batch_edit.gif diff --git a/protocol-designer/src/images/announcements/liquid-enhancements.gif b/protocol-designer/src/assets/images/announcements/liquid-enhancements.gif similarity index 100% rename from protocol-designer/src/images/announcements/liquid-enhancements.gif rename to protocol-designer/src/assets/images/announcements/liquid-enhancements.gif diff --git a/protocol-designer/src/images/announcements/multi_select.gif b/protocol-designer/src/assets/images/announcements/multi_select.gif similarity index 100% rename from protocol-designer/src/images/announcements/multi_select.gif rename to protocol-designer/src/assets/images/announcements/multi_select.gif diff --git a/protocol-designer/src/images/deck_configuration.png b/protocol-designer/src/assets/images/deck_configuration.png similarity index 100% rename from protocol-designer/src/images/deck_configuration.png rename to protocol-designer/src/assets/images/deck_configuration.png diff --git a/protocol-designer/src/images/example_add_liquids.png b/protocol-designer/src/assets/images/example_add_liquids.png similarity index 100% rename from protocol-designer/src/images/example_add_liquids.png rename to protocol-designer/src/assets/images/example_add_liquids.png diff --git a/protocol-designer/src/images/example_watch_liquids_move.png b/protocol-designer/src/assets/images/example_watch_liquids_move.png similarity index 100% rename from protocol-designer/src/images/example_watch_liquids_move.png rename to protocol-designer/src/assets/images/example_watch_liquids_move.png diff --git a/protocol-designer/src/images/favicon.ico b/protocol-designer/src/assets/images/favicon.ico similarity index 100% rename from protocol-designer/src/images/favicon.ico rename to protocol-designer/src/assets/images/favicon.ico diff --git a/protocol-designer/src/images/flex_gripper.png b/protocol-designer/src/assets/images/flex_gripper.png similarity index 100% rename from protocol-designer/src/images/flex_gripper.png rename to protocol-designer/src/assets/images/flex_gripper.png diff --git a/protocol-designer/src/images/flex_trash_bin.png b/protocol-designer/src/assets/images/flex_trash_bin.png similarity index 100% rename from protocol-designer/src/images/flex_trash_bin.png rename to protocol-designer/src/assets/images/flex_trash_bin.png diff --git a/protocol-designer/src/images/modules/heater_shaker_module_transparent.png b/protocol-designer/src/assets/images/modules/heater_shaker_module_transparent.png similarity index 100% rename from protocol-designer/src/images/modules/heater_shaker_module_transparent.png rename to protocol-designer/src/assets/images/modules/heater_shaker_module_transparent.png diff --git a/protocol-designer/src/images/modules/heatershaker.png b/protocol-designer/src/assets/images/modules/heatershaker.png similarity index 100% rename from protocol-designer/src/images/modules/heatershaker.png rename to protocol-designer/src/assets/images/modules/heatershaker.png diff --git a/protocol-designer/src/images/modules/mag_block.png b/protocol-designer/src/assets/images/modules/mag_block.png similarity index 100% rename from protocol-designer/src/images/modules/mag_block.png rename to protocol-designer/src/assets/images/modules/mag_block.png diff --git a/protocol-designer/src/images/modules/magdeck_gen1.png b/protocol-designer/src/assets/images/modules/magdeck_gen1.png similarity index 100% rename from protocol-designer/src/images/modules/magdeck_gen1.png rename to protocol-designer/src/assets/images/modules/magdeck_gen1.png diff --git a/protocol-designer/src/images/modules/magdeck_gen2.png b/protocol-designer/src/assets/images/modules/magdeck_gen2.png similarity index 100% rename from protocol-designer/src/images/modules/magdeck_gen2.png rename to protocol-designer/src/assets/images/modules/magdeck_gen2.png diff --git a/protocol-designer/src/images/modules/magdeck_tempdeck_combined.png b/protocol-designer/src/assets/images/modules/magdeck_tempdeck_combined.png similarity index 100% rename from protocol-designer/src/images/modules/magdeck_tempdeck_combined.png rename to protocol-designer/src/assets/images/modules/magdeck_tempdeck_combined.png diff --git a/protocol-designer/src/images/modules/module_pipette_collision_warning.png b/protocol-designer/src/assets/images/modules/module_pipette_collision_warning.png similarity index 100% rename from protocol-designer/src/images/modules/module_pipette_collision_warning.png rename to protocol-designer/src/assets/images/modules/module_pipette_collision_warning.png diff --git a/protocol-designer/src/images/modules/temp_deck_gen_2_transparent.png b/protocol-designer/src/assets/images/modules/temp_deck_gen_2_transparent.png similarity index 100% rename from protocol-designer/src/images/modules/temp_deck_gen_2_transparent.png rename to protocol-designer/src/assets/images/modules/temp_deck_gen_2_transparent.png diff --git a/protocol-designer/src/images/modules/tempdeck_gen1.png b/protocol-designer/src/assets/images/modules/tempdeck_gen1.png similarity index 100% rename from protocol-designer/src/images/modules/tempdeck_gen1.png rename to protocol-designer/src/assets/images/modules/tempdeck_gen1.png diff --git a/protocol-designer/src/images/modules/tempdeck_gen2.png b/protocol-designer/src/assets/images/modules/tempdeck_gen2.png similarity index 100% rename from protocol-designer/src/images/modules/tempdeck_gen2.png rename to protocol-designer/src/assets/images/modules/tempdeck_gen2.png diff --git a/protocol-designer/src/images/modules/thermocycler.png b/protocol-designer/src/assets/images/modules/thermocycler.png similarity index 100% rename from protocol-designer/src/images/modules/thermocycler.png rename to protocol-designer/src/assets/images/modules/thermocycler.png diff --git a/protocol-designer/src/images/modules/thermocycler_gen2.png b/protocol-designer/src/assets/images/modules/thermocycler_gen2.png similarity index 100% rename from protocol-designer/src/images/modules/thermocycler_gen2.png rename to protocol-designer/src/assets/images/modules/thermocycler_gen2.png diff --git a/protocol-designer/src/images/path_multiAspirate.gif b/protocol-designer/src/assets/images/path_multiAspirate.gif similarity index 100% rename from protocol-designer/src/images/path_multiAspirate.gif rename to protocol-designer/src/assets/images/path_multiAspirate.gif diff --git a/protocol-designer/src/images/path_multiDispense.gif b/protocol-designer/src/assets/images/path_multiDispense.gif similarity index 100% rename from protocol-designer/src/images/path_multiDispense.gif rename to protocol-designer/src/assets/images/path_multiDispense.gif diff --git a/protocol-designer/src/images/path_multi_aspirate.svg b/protocol-designer/src/assets/images/path_multi_aspirate.svg similarity index 100% rename from protocol-designer/src/images/path_multi_aspirate.svg rename to protocol-designer/src/assets/images/path_multi_aspirate.svg diff --git a/protocol-designer/src/images/path_multi_dispense.svg b/protocol-designer/src/assets/images/path_multi_dispense.svg similarity index 100% rename from protocol-designer/src/images/path_multi_dispense.svg rename to protocol-designer/src/assets/images/path_multi_dispense.svg diff --git a/protocol-designer/src/images/path_single.gif b/protocol-designer/src/assets/images/path_single.gif similarity index 100% rename from protocol-designer/src/images/path_single.gif rename to protocol-designer/src/assets/images/path_single.gif diff --git a/protocol-designer/src/images/path_single_transfers.svg b/protocol-designer/src/assets/images/path_single_transfers.svg similarity index 100% rename from protocol-designer/src/images/path_single_transfers.svg rename to protocol-designer/src/assets/images/path_single_transfers.svg diff --git a/protocol-designer/src/images/pipette_tip.svg b/protocol-designer/src/assets/images/pipette_tip.svg similarity index 100% rename from protocol-designer/src/images/pipette_tip.svg rename to protocol-designer/src/assets/images/pipette_tip.svg diff --git a/protocol-designer/src/images/placeholder_image_delete.png b/protocol-designer/src/assets/images/placeholder_image_delete.png similarity index 100% rename from protocol-designer/src/images/placeholder_image_delete.png rename to protocol-designer/src/assets/images/placeholder_image_delete.png diff --git a/protocol-designer/src/images/staging_area.png b/protocol-designer/src/assets/images/staging_area.png similarity index 100% rename from protocol-designer/src/images/staging_area.png rename to protocol-designer/src/assets/images/staging_area.png diff --git a/protocol-designer/src/images/waste_chute.png b/protocol-designer/src/assets/images/waste_chute.png similarity index 100% rename from protocol-designer/src/images/waste_chute.png rename to protocol-designer/src/assets/images/waste_chute.png diff --git a/protocol-designer/src/images/welcome_page.png b/protocol-designer/src/assets/images/welcome_page.png similarity index 100% rename from protocol-designer/src/images/welcome_page.png rename to protocol-designer/src/assets/images/welcome_page.png diff --git a/protocol-designer/src/images/well_cross_section.svg b/protocol-designer/src/assets/images/well_cross_section.svg similarity index 100% rename from protocol-designer/src/images/well_cross_section.svg rename to protocol-designer/src/assets/images/well_cross_section.svg diff --git a/protocol-designer/src/images/well_order_path.svg b/protocol-designer/src/assets/images/well_order_path.svg similarity index 100% rename from protocol-designer/src/images/well_order_path.svg rename to protocol-designer/src/assets/images/well_order_path.svg diff --git a/protocol-designer/src/images/well_order_wells.svg b/protocol-designer/src/assets/images/well_order_wells.svg similarity index 100% rename from protocol-designer/src/images/well_order_wells.svg rename to protocol-designer/src/assets/images/well_order_wells.svg diff --git a/protocol-designer/src/images/youve_got_mail.svg b/protocol-designer/src/assets/images/youve_got_mail.svg similarity index 100% rename from protocol-designer/src/images/youve_got_mail.svg rename to protocol-designer/src/assets/images/youve_got_mail.svg diff --git a/protocol-designer/src/images/zig_zag_icon.svg b/protocol-designer/src/assets/images/zig_zag_icon.svg similarity index 100% rename from protocol-designer/src/images/zig_zag_icon.svg rename to protocol-designer/src/assets/images/zig_zag_icon.svg diff --git a/protocol-designer/src/localization/en/alert.json b/protocol-designer/src/assets/localization/en/alert.json similarity index 100% rename from protocol-designer/src/localization/en/alert.json rename to protocol-designer/src/assets/localization/en/alert.json diff --git a/protocol-designer/src/localization/en/application.json b/protocol-designer/src/assets/localization/en/application.json similarity index 100% rename from protocol-designer/src/localization/en/application.json rename to protocol-designer/src/assets/localization/en/application.json diff --git a/protocol-designer/src/localization/en/button.json b/protocol-designer/src/assets/localization/en/button.json similarity index 100% rename from protocol-designer/src/localization/en/button.json rename to protocol-designer/src/assets/localization/en/button.json diff --git a/protocol-designer/src/localization/en/card.json b/protocol-designer/src/assets/localization/en/card.json similarity index 100% rename from protocol-designer/src/localization/en/card.json rename to protocol-designer/src/assets/localization/en/card.json diff --git a/protocol-designer/src/localization/en/context_menu.json b/protocol-designer/src/assets/localization/en/context_menu.json similarity index 100% rename from protocol-designer/src/localization/en/context_menu.json rename to protocol-designer/src/assets/localization/en/context_menu.json diff --git a/protocol-designer/src/localization/en/create_new_protocol.json b/protocol-designer/src/assets/localization/en/create_new_protocol.json similarity index 100% rename from protocol-designer/src/localization/en/create_new_protocol.json rename to protocol-designer/src/assets/localization/en/create_new_protocol.json diff --git a/protocol-designer/src/localization/en/deck.json b/protocol-designer/src/assets/localization/en/deck.json similarity index 100% rename from protocol-designer/src/localization/en/deck.json rename to protocol-designer/src/assets/localization/en/deck.json diff --git a/protocol-designer/src/localization/en/feature_flags.json b/protocol-designer/src/assets/localization/en/feature_flags.json similarity index 100% rename from protocol-designer/src/localization/en/feature_flags.json rename to protocol-designer/src/assets/localization/en/feature_flags.json diff --git a/protocol-designer/src/localization/en/form.json b/protocol-designer/src/assets/localization/en/form.json similarity index 100% rename from protocol-designer/src/localization/en/form.json rename to protocol-designer/src/assets/localization/en/form.json diff --git a/protocol-designer/src/localization/en/index.ts b/protocol-designer/src/assets/localization/en/index.ts similarity index 100% rename from protocol-designer/src/localization/en/index.ts rename to protocol-designer/src/assets/localization/en/index.ts diff --git a/protocol-designer/src/localization/en/liquids.json b/protocol-designer/src/assets/localization/en/liquids.json similarity index 100% rename from protocol-designer/src/localization/en/liquids.json rename to protocol-designer/src/assets/localization/en/liquids.json diff --git a/protocol-designer/src/localization/en/modal.json b/protocol-designer/src/assets/localization/en/modal.json similarity index 100% rename from protocol-designer/src/localization/en/modal.json rename to protocol-designer/src/assets/localization/en/modal.json diff --git a/protocol-designer/src/localization/en/modules.json b/protocol-designer/src/assets/localization/en/modules.json similarity index 100% rename from protocol-designer/src/localization/en/modules.json rename to protocol-designer/src/assets/localization/en/modules.json diff --git a/protocol-designer/src/localization/en/nav.json b/protocol-designer/src/assets/localization/en/nav.json similarity index 100% rename from protocol-designer/src/localization/en/nav.json rename to protocol-designer/src/assets/localization/en/nav.json diff --git a/protocol-designer/src/localization/en/protocol_overview.json b/protocol-designer/src/assets/localization/en/protocol_overview.json similarity index 100% rename from protocol-designer/src/localization/en/protocol_overview.json rename to protocol-designer/src/assets/localization/en/protocol_overview.json diff --git a/protocol-designer/src/localization/en/protocol_steps.json b/protocol-designer/src/assets/localization/en/protocol_steps.json similarity index 100% rename from protocol-designer/src/localization/en/protocol_steps.json rename to protocol-designer/src/assets/localization/en/protocol_steps.json diff --git a/protocol-designer/src/localization/en/shared.json b/protocol-designer/src/assets/localization/en/shared.json similarity index 100% rename from protocol-designer/src/localization/en/shared.json rename to protocol-designer/src/assets/localization/en/shared.json diff --git a/protocol-designer/src/localization/en/starting_deck_state.json b/protocol-designer/src/assets/localization/en/starting_deck_state.json similarity index 100% rename from protocol-designer/src/localization/en/starting_deck_state.json rename to protocol-designer/src/assets/localization/en/starting_deck_state.json diff --git a/protocol-designer/src/localization/en/tooltip.json b/protocol-designer/src/assets/localization/en/tooltip.json similarity index 100% rename from protocol-designer/src/localization/en/tooltip.json rename to protocol-designer/src/assets/localization/en/tooltip.json diff --git a/protocol-designer/src/localization/en/well_selection.json b/protocol-designer/src/assets/localization/en/well_selection.json similarity index 100% rename from protocol-designer/src/localization/en/well_selection.json rename to protocol-designer/src/assets/localization/en/well_selection.json diff --git a/protocol-designer/src/localization/index.ts b/protocol-designer/src/assets/localization/index.ts similarity index 100% rename from protocol-designer/src/localization/index.ts rename to protocol-designer/src/assets/localization/index.ts diff --git a/protocol-designer/src/components/FileSidebar/__tests__/FileSidebar.test.tsx b/protocol-designer/src/components/FileSidebar/__tests__/FileSidebar.test.tsx index 26a2933712e..722c0ad51bc 100644 --- a/protocol-designer/src/components/FileSidebar/__tests__/FileSidebar.test.tsx +++ b/protocol-designer/src/components/FileSidebar/__tests__/FileSidebar.test.tsx @@ -8,7 +8,7 @@ import { getCurrentPage, getNewProtocolModal, } from '../../../navigation/selectors' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { getAdditionalEquipment, getInitialDeckSetup, diff --git a/protocol-designer/src/components/Hints/index.tsx b/protocol-designer/src/components/Hints/index.tsx index 272096ea7e4..a05ba52e938 100644 --- a/protocol-designer/src/components/Hints/index.tsx +++ b/protocol-designer/src/components/Hints/index.tsx @@ -12,9 +12,9 @@ import { import { actions, selectors } from '../../tutorial' import { getMainPagePortalEl } from '../portals/MainPageModalPortal' import styles from './hints.module.css' -import EXAMPLE_ADD_LIQUIDS_IMAGE from '../../images/example_add_liquids.png' -import EXAMPLE_WATCH_LIQUIDS_MOVE_IMAGE from '../../images/example_watch_liquids_move.png' -import EXAMPLE_BATCH_EDIT_IMAGE from '../../images/announcements/multi_select.gif' +import EXAMPLE_ADD_LIQUIDS_IMAGE from '../../assets/images/example_add_liquids.png' +import EXAMPLE_WATCH_LIQUIDS_MOVE_IMAGE from '../../assets/images/example_watch_liquids_move.png' +import EXAMPLE_BATCH_EDIT_IMAGE from '../../assets/images/announcements/multi_select.gif' import type { HintKey } from '../../tutorial' const HINT_IS_ALERT: HintKey[] = ['add_liquids_and_labware'] diff --git a/protocol-designer/src/components/LabwareSelectionModal/__tests__/LabwareSelectionModal.test.tsx b/protocol-designer/src/components/LabwareSelectionModal/__tests__/LabwareSelectionModal.test.tsx index d8201e34cd6..82d60769f9a 100644 --- a/protocol-designer/src/components/LabwareSelectionModal/__tests__/LabwareSelectionModal.test.tsx +++ b/protocol-designer/src/components/LabwareSelectionModal/__tests__/LabwareSelectionModal.test.tsx @@ -14,7 +14,7 @@ import { ADAPTER_96_CHANNEL, getLabwareCompatibleWithAdapter, } from '../../../utils/labwareModuleCompatibility' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { LabwareSelectionModal } from '../LabwareSelectionModal' import { getInitialDeckSetup, diff --git a/protocol-designer/src/components/StepEditForm/fields/DropTipField/__tests__/DropTipField.test.tsx b/protocol-designer/src/components/StepEditForm/fields/DropTipField/__tests__/DropTipField.test.tsx index ea9569d865e..b9b2a608c46 100644 --- a/protocol-designer/src/components/StepEditForm/fields/DropTipField/__tests__/DropTipField.test.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/DropTipField/__tests__/DropTipField.test.tsx @@ -4,7 +4,7 @@ import { describe, it, vi, beforeEach, expect } from 'vitest' import { fixtureTiprack1000ul } from '@opentrons/shared-data' import { renderWithProviders } from '../../../../../__testing-utils__' -import { i18n } from '../../../../../localization' +import { i18n } from '../../../../../assets/localization' import { getAllTiprackOptions } from '../../../../../ui/labware/selectors' import { getEnableReturnTip } from '../../../../../feature-flags/selectors' import { diff --git a/protocol-designer/src/components/StepEditForm/fields/FlowRateField/__tests__/FlowRateField.test.tsx b/protocol-designer/src/components/StepEditForm/fields/FlowRateField/__tests__/FlowRateField.test.tsx index 2e6cea00cf8..54ab06b09ce 100644 --- a/protocol-designer/src/components/StepEditForm/fields/FlowRateField/__tests__/FlowRateField.test.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/FlowRateField/__tests__/FlowRateField.test.tsx @@ -4,7 +4,7 @@ import { describe, it, vi, beforeEach, expect } from 'vitest' import { fireEvent, screen } from '@testing-library/react' import { fixtureP100096V2Specs } from '@opentrons/shared-data' import { renderWithProviders } from '../../../../../__testing-utils__' -import { i18n } from '../../../../../localization' +import { i18n } from '../../../../../assets/localization' import { getPipetteEntities } from '../../../../../step-forms/selectors' import { FlowRateField } from '../index' diff --git a/protocol-designer/src/components/StepEditForm/fields/PathField/PathField.tsx b/protocol-designer/src/components/StepEditForm/fields/PathField/PathField.tsx index c46a38b9e38..d7c5916e8be 100644 --- a/protocol-designer/src/components/StepEditForm/fields/PathField/PathField.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/PathField/PathField.tsx @@ -8,9 +8,9 @@ import { useHoverTooltip, } from '@opentrons/components' import { selectors as stepFormSelectors } from '../../../../step-forms' -import SINGLE_IMAGE from '../../../../images/path_single_transfers.svg' -import MULTI_DISPENSE_IMAGE from '../../../../images/path_multi_dispense.svg' -import MULTI_ASPIRATE_IMAGE from '../../../../images/path_multi_aspirate.svg' +import SINGLE_IMAGE from '../../../../assets/images/path_single_transfers.svg' +import MULTI_DISPENSE_IMAGE from '../../../../assets/images/path_multi_dispense.svg' +import MULTI_ASPIRATE_IMAGE from '../../../../assets/images/path_multi_aspirate.svg' import { getDisabledPathMap } from './getDisabledPathMap' import styles from '../../StepEditForm.module.css' import type { PathOption } from '../../../../form-types' @@ -18,13 +18,14 @@ import type { FieldProps } from '../../types' import type { DisabledPathMap, ValuesForPath } from './getDisabledPathMap' const PATH_ANIMATION_IMAGES = { - single: new URL('../../../../images/path_single.gif', import.meta.url).href, + single: new URL('../../../../assets/images/path_single.gif', import.meta.url) + .href, multiAspirate: new URL( - '../../../../images/path_multiAspirate.gif', + '../../../../assets/images/path_multiAspirate.gif', import.meta.url ).href, multiDispense: new URL( - '../../../../images/path_multiDispense.gif', + '../../../../assets/images/path_multiDispense.gif', import.meta.url ).href, } diff --git a/protocol-designer/src/components/StepEditForm/fields/PickUpTipField/_tests__/PickUpTipField.test.tsx b/protocol-designer/src/components/StepEditForm/fields/PickUpTipField/_tests__/PickUpTipField.test.tsx index 675d55ed77a..8b4a61bc8cd 100644 --- a/protocol-designer/src/components/StepEditForm/fields/PickUpTipField/_tests__/PickUpTipField.test.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/PickUpTipField/_tests__/PickUpTipField.test.tsx @@ -3,7 +3,7 @@ import { screen } from '@testing-library/react' import { describe, it, vi, beforeEach, expect } from 'vitest' import { renderWithProviders } from '../../../../../__testing-utils__' -import { i18n } from '../../../../../localization' +import { i18n } from '../../../../../assets/localization' import { getAllTiprackOptions } from '../../../../../ui/labware/selectors' import { PickUpTipField } from '../index' diff --git a/protocol-designer/src/components/StepEditForm/fields/TipPositionField/TipPositionAllViz.tsx b/protocol-designer/src/components/StepEditForm/fields/TipPositionField/TipPositionAllViz.tsx index d1b219b04d8..1b0ba9547e1 100644 --- a/protocol-designer/src/components/StepEditForm/fields/TipPositionField/TipPositionAllViz.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/TipPositionField/TipPositionAllViz.tsx @@ -1,8 +1,8 @@ import * as React from 'react' import round from 'lodash/round' -import PIPETTE_TIP_IMAGE from '../../../../images/pipette_tip.svg' -import WELL_CROSS_SECTION_IMAGE from '../../../../images/well_cross_section.svg' +import PIPETTE_TIP_IMAGE from '../../../../assets/images/pipette_tip.svg' +import WELL_CROSS_SECTION_IMAGE from '../../../../assets/images/well_cross_section.svg' import styles from './TipPositionInput.module.css' diff --git a/protocol-designer/src/components/StepEditForm/fields/TipPositionField/TipPositionZAxisViz.tsx b/protocol-designer/src/components/StepEditForm/fields/TipPositionField/TipPositionZAxisViz.tsx index 6df50910e2c..66402cf56b9 100644 --- a/protocol-designer/src/components/StepEditForm/fields/TipPositionField/TipPositionZAxisViz.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/TipPositionField/TipPositionZAxisViz.tsx @@ -1,8 +1,8 @@ import * as React from 'react' import round from 'lodash/round' -import PIPETTE_TIP_IMAGE from '../../../../images/pipette_tip.svg' -import WELL_CROSS_SECTION_IMAGE from '../../../../images/well_cross_section.svg' +import PIPETTE_TIP_IMAGE from '../../../../assets/images/pipette_tip.svg' +import WELL_CROSS_SECTION_IMAGE from '../../../../assets/images/well_cross_section.svg' import styles from './TipPositionInput.module.css' diff --git a/protocol-designer/src/components/StepEditForm/fields/TipPositionField/__tests__/TipPositionField.test.tsx b/protocol-designer/src/components/StepEditForm/fields/TipPositionField/__tests__/TipPositionField.test.tsx index 36e1d07a0f4..1f40927e21c 100644 --- a/protocol-designer/src/components/StepEditForm/fields/TipPositionField/__tests__/TipPositionField.test.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/TipPositionField/__tests__/TipPositionField.test.tsx @@ -3,7 +3,7 @@ import { fireEvent, screen } from '@testing-library/react' import { describe, it, expect, vi, beforeEach } from 'vitest' import { fixture96Plate } from '@opentrons/shared-data' import { renderWithProviders } from '../../../../../__testing-utils__' -import { i18n } from '../../../../../localization' +import { i18n } from '../../../../../assets/localization' import { getLabwareEntities } from '../../../../../step-forms/selectors' import { ZTipPositionModal } from '../ZTipPositionModal' import { TipPositionModal } from '../TipPositionModal' diff --git a/protocol-designer/src/components/StepEditForm/fields/TipPositionField/__tests__/TipPositionModal.test.tsx b/protocol-designer/src/components/StepEditForm/fields/TipPositionField/__tests__/TipPositionModal.test.tsx index 28b3afbb46d..788506118bd 100644 --- a/protocol-designer/src/components/StepEditForm/fields/TipPositionField/__tests__/TipPositionModal.test.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/TipPositionField/__tests__/TipPositionModal.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { fireEvent, screen } from '@testing-library/react' import { describe, it, expect, vi, beforeEach } from 'vitest' import { renderWithProviders } from '../../../../../__testing-utils__' -import { i18n } from '../../../../../localization' +import { i18n } from '../../../../../assets/localization' import { TipPositionModal } from '../TipPositionModal' import { TipPositionAllViz } from '../TipPositionAllViz' diff --git a/protocol-designer/src/components/StepEditForm/fields/TipPositionField/__tests__/ZTipPositionModal.test.tsx b/protocol-designer/src/components/StepEditForm/fields/TipPositionField/__tests__/ZTipPositionModal.test.tsx index 015d5437dbb..56bd01c6bea 100644 --- a/protocol-designer/src/components/StepEditForm/fields/TipPositionField/__tests__/ZTipPositionModal.test.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/TipPositionField/__tests__/ZTipPositionModal.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { fireEvent, screen } from '@testing-library/react' import { describe, it, expect, vi, beforeEach } from 'vitest' import { renderWithProviders } from '../../../../../__testing-utils__' -import { i18n } from '../../../../../localization' +import { i18n } from '../../../../../assets/localization' import { ZTipPositionModal } from '../ZTipPositionModal' import { TipPositionZAxisViz } from '../TipPositionZAxisViz' diff --git a/protocol-designer/src/components/StepEditForm/fields/TipWellSelectionField/__tests__/TipWellSelectionField.test.tsx b/protocol-designer/src/components/StepEditForm/fields/TipWellSelectionField/__tests__/TipWellSelectionField.test.tsx index 0ff6bc4ebb8..1d332740d65 100644 --- a/protocol-designer/src/components/StepEditForm/fields/TipWellSelectionField/__tests__/TipWellSelectionField.test.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/TipWellSelectionField/__tests__/TipWellSelectionField.test.tsx @@ -3,7 +3,7 @@ import { fireEvent, screen } from '@testing-library/react' import { describe, it, vi, beforeEach } from 'vitest' import { renderWithProviders } from '../../../../../__testing-utils__' -import { i18n } from '../../../../../localization' +import { i18n } from '../../../../../assets/localization' import { getPipetteEntities } from '../../../../../step-forms/selectors' import { WellSelectionModal } from '../../WellSelectionField/WellSelectionModal' import { TipWellSelectionField } from '../index' diff --git a/protocol-designer/src/components/StepEditForm/fields/WellOrderField/WellOrderViz.tsx b/protocol-designer/src/components/StepEditForm/fields/WellOrderField/WellOrderViz.tsx index 8a9ba9b60be..75436c1e801 100644 --- a/protocol-designer/src/components/StepEditForm/fields/WellOrderField/WellOrderViz.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/WellOrderField/WellOrderViz.tsx @@ -1,8 +1,8 @@ import * as React from 'react' import cx from 'classnames' -import WELLS_IMAGE from '../../../../images/well_order_wells.svg' -import PATH_IMAGE from '../../../../images/well_order_path.svg' +import WELLS_IMAGE from '../../../../assets/images/well_order_wells.svg' +import PATH_IMAGE from '../../../../assets/images/well_order_path.svg' import type { WellOrderOption } from '../../../../form-types' diff --git a/protocol-designer/src/components/StepEditForm/fields/WellOrderField/index.tsx b/protocol-designer/src/components/StepEditForm/fields/WellOrderField/index.tsx index 1f345625378..601cf9c84d6 100644 --- a/protocol-designer/src/components/StepEditForm/fields/WellOrderField/index.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/WellOrderField/index.tsx @@ -11,7 +11,7 @@ import { C_LIGHT_GRAY, } from '@opentrons/components' import cx from 'classnames' -import ZIG_ZAG_IMAGE from '../../../../images/zig_zag_icon.svg' +import ZIG_ZAG_IMAGE from '../../../../assets/images/zig_zag_icon.svg' import { WellOrderModal } from './WellOrderModal' import stepEditStyles from '../../StepEditForm.module.css' import styles from './WellOrderInput.module.css' diff --git a/protocol-designer/src/components/StepEditForm/fields/__tests__/TiprackField.test.tsx b/protocol-designer/src/components/StepEditForm/fields/__tests__/TiprackField.test.tsx index 063cc9b382c..efb78473b38 100644 --- a/protocol-designer/src/components/StepEditForm/fields/__tests__/TiprackField.test.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/__tests__/TiprackField.test.tsx @@ -1,7 +1,7 @@ import * as React from 'react' import { describe, it, vi, beforeEach } from 'vitest' import { screen } from '@testing-library/react' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { getPipetteEntities } from '../../../../step-forms/selectors' import { renderWithProviders } from '../../../../__testing-utils__' import { getTiprackOptions } from '../../../../ui/labware/selectors' diff --git a/protocol-designer/src/components/StepEditForm/forms/__tests__/HeaterShakerForm.test.tsx b/protocol-designer/src/components/StepEditForm/forms/__tests__/HeaterShakerForm.test.tsx index 44621f08f2c..daa9bc3a2bb 100644 --- a/protocol-designer/src/components/StepEditForm/forms/__tests__/HeaterShakerForm.test.tsx +++ b/protocol-designer/src/components/StepEditForm/forms/__tests__/HeaterShakerForm.test.tsx @@ -3,7 +3,7 @@ import { describe, it, beforeEach, afterEach, vi } from 'vitest' import { screen } from '@testing-library/react' import { renderWithProviders } from '../../../../__testing-utils__' import { getHeaterShakerLabwareOptions } from '../../../../ui/modules/selectors' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { HeaterShakerForm } from '../HeaterShakerForm' import type * as ModulesSelectors from '../../../../ui/modules/selectors' import type * as Fields from '../../fields' diff --git a/protocol-designer/src/components/StepEditForm/forms/__tests__/MagnetForm.test.tsx b/protocol-designer/src/components/StepEditForm/forms/__tests__/MagnetForm.test.tsx index 34146989405..3d7da5e0e98 100644 --- a/protocol-designer/src/components/StepEditForm/forms/__tests__/MagnetForm.test.tsx +++ b/protocol-designer/src/components/StepEditForm/forms/__tests__/MagnetForm.test.tsx @@ -3,7 +3,7 @@ import { describe, it, afterEach, vi, beforeEach } from 'vitest' import '@testing-library/jest-dom/vitest' import { cleanup, fireEvent, screen } from '@testing-library/react' import { renderWithProviders } from '../../../../__testing-utils__' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { getMagneticLabwareOptions } from '../../../../ui/modules/selectors' import { getModuleEntities } from '../../../../step-forms/selectors' import { getMagnetLabwareEngageHeight } from '../../../../ui/modules/utils' diff --git a/protocol-designer/src/components/StepEditForm/forms/__tests__/TemperatureForm.test.tsx b/protocol-designer/src/components/StepEditForm/forms/__tests__/TemperatureForm.test.tsx index 9a84248c8a6..18ea254c353 100644 --- a/protocol-designer/src/components/StepEditForm/forms/__tests__/TemperatureForm.test.tsx +++ b/protocol-designer/src/components/StepEditForm/forms/__tests__/TemperatureForm.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { describe, it, vi, beforeEach } from 'vitest' import { fireEvent, screen } from '@testing-library/react' import { renderWithProviders } from '../../../../__testing-utils__' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { getTemperatureLabwareOptions, getTemperatureModuleIds, diff --git a/protocol-designer/src/components/__tests__/EditModules.test.tsx b/protocol-designer/src/components/__tests__/EditModules.test.tsx index 3474c46c3d5..4315f481885 100644 --- a/protocol-designer/src/components/__tests__/EditModules.test.tsx +++ b/protocol-designer/src/components/__tests__/EditModules.test.tsx @@ -6,7 +6,7 @@ import { OT2_ROBOT_TYPE, TEMPERATURE_MODULE_TYPE, } from '@opentrons/shared-data' -import { i18n } from '../../localization' +import { i18n } from '../../assets/localization' import { getInitialDeckSetup } from '../../step-forms/selectors' import { getDismissedHints } from '../../tutorial/selectors' import { getEnableMoam } from '../../feature-flags/selectors' diff --git a/protocol-designer/src/components/__tests__/FilePage.test.tsx b/protocol-designer/src/components/__tests__/FilePage.test.tsx index bfbde42bfa9..0e26988dc99 100644 --- a/protocol-designer/src/components/__tests__/FilePage.test.tsx +++ b/protocol-designer/src/components/__tests__/FilePage.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { vi, describe, expect, beforeEach, it } from 'vitest' import { fireEvent, screen } from '@testing-library/react' import { renderWithProviders } from '../../__testing-utils__' -import { i18n } from '../../localization' +import { i18n } from '../../assets/localization' import { getFileMetadata } from '../../file-data/selectors' import { getInitialDeckSetup, diff --git a/protocol-designer/src/components/__tests__/StepCreationButton.test.tsx b/protocol-designer/src/components/__tests__/StepCreationButton.test.tsx index 2086c396857..ccf7139aed3 100644 --- a/protocol-designer/src/components/__tests__/StepCreationButton.test.tsx +++ b/protocol-designer/src/components/__tests__/StepCreationButton.test.tsx @@ -8,7 +8,7 @@ import { getInitialDeckSetup, } from '../../step-forms/selectors' import { getIsMultiSelectMode } from '../../ui/steps' -import { i18n } from '../../localization' +import { i18n } from '../../assets/localization' import { getEnableComment } from '../../feature-flags/selectors' import { StepCreationButton } from '../StepCreationButton' diff --git a/protocol-designer/src/components/modals/AnnouncementModal/__tests__/AnnouncementModal.test.tsx b/protocol-designer/src/components/modals/AnnouncementModal/__tests__/AnnouncementModal.test.tsx index 813c5f1e0a7..8c1443d55ca 100644 --- a/protocol-designer/src/components/modals/AnnouncementModal/__tests__/AnnouncementModal.test.tsx +++ b/protocol-designer/src/components/modals/AnnouncementModal/__tests__/AnnouncementModal.test.tsx @@ -3,7 +3,7 @@ import '@testing-library/jest-dom/vitest' import { fireEvent, screen, cleanup } from '@testing-library/react' import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest' import { renderWithProviders } from '../../../../__testing-utils__' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { getLocalStorageItem, setLocalStorageItem } from '../../../../persist' import { useAnnouncements } from '../announcements' import { AnnouncementModal } from '../index' diff --git a/protocol-designer/src/components/modals/AnnouncementModal/announcements.tsx b/protocol-designer/src/components/modals/AnnouncementModal/announcements.tsx index ed4415a099c..dd9e5f93b81 100644 --- a/protocol-designer/src/components/modals/AnnouncementModal/announcements.tsx +++ b/protocol-designer/src/components/modals/AnnouncementModal/announcements.tsx @@ -8,15 +8,15 @@ import { SPACING, } from '@opentrons/components' -import magTempCombined from '../../../images/modules/magdeck_tempdeck_combined.png' -import thermocycler from '../../../images/modules/thermocycler.png' -import multiSelect from '../../../images/announcements/multi_select.gif' -import batchEdit from '../../../images/announcements/batch_edit.gif' -import heaterShaker from '../../../images/modules/heatershaker.png' -import thermocyclerGen2 from '../../../images/modules/thermocycler_gen2.png' -import liquidEnhancements from '../../../images/announcements/liquid-enhancements.gif' -import opentronsFlex from '../../../images/OpentronsFlex.png' -import deckConfigutation from '../../../images/deck_configuration.png' +import magTempCombined from '../../../assets/images/modules/magdeck_tempdeck_combined.png' +import thermocycler from '../../../assets/images/modules/thermocycler.png' +import multiSelect from '../../../assets/images/announcements/multi_select.gif' +import batchEdit from '../../../assets/images/announcements/batch_edit.gif' +import heaterShaker from '../../../assets/images/modules/heatershaker.png' +import thermocyclerGen2 from '../../../assets/images/modules/thermocycler_gen2.png' +import liquidEnhancements from '../../../assets/images/announcements/liquid-enhancements.gif' +import opentronsFlex from '../../../assets/images/OpentronsFlex.png' +import deckConfigutation from '../../../assets/images/deck_configuration.png' import styles from './AnnouncementModal.module.css' diff --git a/protocol-designer/src/components/modals/CreateFileWizard/ModulesAndOtherTile.tsx b/protocol-designer/src/components/modals/CreateFileWizard/ModulesAndOtherTile.tsx index c3a4242afb7..0c7f043bf70 100644 --- a/protocol-designer/src/components/modals/CreateFileWizard/ModulesAndOtherTile.tsx +++ b/protocol-designer/src/components/modals/CreateFileWizard/ModulesAndOtherTile.tsx @@ -33,9 +33,9 @@ import { THERMOCYCLER_MODULE_TYPE, } from '@opentrons/shared-data' import { getIsCrashablePipetteSelected } from '../../../step-forms' -import gripperImage from '../../../images/flex_gripper.png' -import wasteChuteImage from '../../../images/waste_chute.png' -import trashBinImage from '../../../images/flex_trash_bin.png' +import gripperImage from '../../../assets/images/flex_gripper.png' +import wasteChuteImage from '../../../assets/images/waste_chute.png' +import trashBinImage from '../../../assets/images/flex_trash_bin.png' import { uuid } from '../../../utils' import { getEnableMoam } from '../../../feature-flags/selectors' import { selectors as featureFlagSelectors } from '../../../feature-flags' diff --git a/protocol-designer/src/components/modals/CreateFileWizard/RobotTypeTile.tsx b/protocol-designer/src/components/modals/CreateFileWizard/RobotTypeTile.tsx index 7f551da919c..8e683cd3d8a 100644 --- a/protocol-designer/src/components/modals/CreateFileWizard/RobotTypeTile.tsx +++ b/protocol-designer/src/components/modals/CreateFileWizard/RobotTypeTile.tsx @@ -24,8 +24,8 @@ import { OT2_DISPLAY_NAME, OT2_ROBOT_TYPE, } from '@opentrons/shared-data' -import opentronsFlexImage from '../../../images/OpentronsFlex.png' -import OT2Image from '../../../images/OT2.png' +import opentronsFlexImage from '../../../assets/images/OpentronsFlex.png' +import OT2Image from '../../../assets/images/OT2.png' import { HandleEnter } from './HandleEnter' import type { RobotType } from '@opentrons/shared-data' diff --git a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/CreateFileWizard.test.tsx b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/CreateFileWizard.test.tsx index df494e2b1ec..90a6aa70565 100644 --- a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/CreateFileWizard.test.tsx +++ b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/CreateFileWizard.test.tsx @@ -4,7 +4,7 @@ import '@testing-library/jest-dom/vitest' import { fireEvent, screen, cleanup } from '@testing-library/react' import { fixture_tiprack_10_ul } from '@opentrons/shared-data/labware/fixtures/2' import { renderWithProviders } from '../../../../__testing-utils__' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { getNewProtocolModal } from '../../../../navigation/selectors' import { getCustomLabwareDefsByURI, diff --git a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/EquipmentOption.test.tsx b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/EquipmentOption.test.tsx index fb97cf15bd4..5b6835ce5ed 100644 --- a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/EquipmentOption.test.tsx +++ b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/EquipmentOption.test.tsx @@ -8,7 +8,7 @@ import { MAGNETIC_BLOCK_TYPE, TEMPERATURE_MODULE_TYPE, } from '@opentrons/shared-data' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { renderWithProviders } from '../../../../__testing-utils__' import { EquipmentOption } from '../EquipmentOption' diff --git a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/GoBack.test.tsx b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/GoBack.test.tsx index a88ece96648..60a8681fb14 100644 --- a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/GoBack.test.tsx +++ b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/GoBack.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { it, describe, beforeEach, expect, vi } from 'vitest' import { fireEvent, screen } from '@testing-library/react' import { renderWithProviders } from '../../../../__testing-utils__' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { GoBack } from '../GoBack' const render = (props: React.ComponentProps) => { diff --git a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/MetadataTile.test.tsx b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/MetadataTile.test.tsx index 714de9ff0c1..d5ea30680bc 100644 --- a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/MetadataTile.test.tsx +++ b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/MetadataTile.test.tsx @@ -4,7 +4,7 @@ import '@testing-library/jest-dom/vitest' import { fireEvent, screen, cleanup } from '@testing-library/react' import { FLEX_ROBOT_TYPE } from '@opentrons/shared-data' import { renderWithProviders } from '../../../../__testing-utils__' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { MetadataTile } from '../MetadataTile' import type { FormState, WizardTileProps } from '../types' diff --git a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/ModulesAndOtherTile.test.tsx b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/ModulesAndOtherTile.test.tsx index 63da7f3ed30..c5c01025d51 100644 --- a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/ModulesAndOtherTile.test.tsx +++ b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/ModulesAndOtherTile.test.tsx @@ -4,7 +4,7 @@ import '@testing-library/jest-dom/vitest' import { fireEvent, screen, cleanup } from '@testing-library/react' import { FLEX_ROBOT_TYPE, OT2_ROBOT_TYPE } from '@opentrons/shared-data' import { renderWithProviders } from '../../../../__testing-utils__' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { getDisableModuleRestrictions, getEnableMoam, diff --git a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/PipetteTipsTile.test.tsx b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/PipetteTipsTile.test.tsx index 14311e7a7e5..d29e986a9a6 100644 --- a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/PipetteTipsTile.test.tsx +++ b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/PipetteTipsTile.test.tsx @@ -7,7 +7,7 @@ import { fixture_tiprack_300_ul, } from '@opentrons/shared-data/labware/fixtures/2' import { renderWithProviders } from '../../../../__testing-utils__' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { getLabwareDefsByURI } from '../../../../labware-defs/selectors' import { getAllowAllTipracks } from '../../../../feature-flags/selectors' import { getTiprackOptions } from '../../utils' diff --git a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/PipetteTypeTile.test.tsx b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/PipetteTypeTile.test.tsx index 2a3790ba0c4..ca31e9b18b4 100644 --- a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/PipetteTypeTile.test.tsx +++ b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/PipetteTypeTile.test.tsx @@ -4,7 +4,7 @@ import '@testing-library/jest-dom/vitest' import { fireEvent, screen, cleanup } from '@testing-library/react' import { FLEX_ROBOT_TYPE, OT2_ROBOT_TYPE } from '@opentrons/shared-data' import { renderWithProviders } from '../../../../__testing-utils__' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { PipetteTypeTile } from '../PipetteTypeTile' import { EquipmentOption } from '../EquipmentOption' diff --git a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/RobotTypeTile.test.tsx b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/RobotTypeTile.test.tsx index ccced2992c5..39451fdc804 100644 --- a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/RobotTypeTile.test.tsx +++ b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/RobotTypeTile.test.tsx @@ -5,7 +5,7 @@ import { fireEvent, screen, cleanup } from '@testing-library/react' import { COLORS } from '@opentrons/components' import { FLEX_ROBOT_TYPE } from '@opentrons/shared-data' import { renderWithProviders } from '../../../../__testing-utils__' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { RobotTypeTile } from '../RobotTypeTile' import type { FormState, WizardTileProps } from '../types' diff --git a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/StagingAreaTile.test.tsx b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/StagingAreaTile.test.tsx index e8a78901f1d..4e1e4b645bb 100644 --- a/protocol-designer/src/components/modals/CreateFileWizard/__tests__/StagingAreaTile.test.tsx +++ b/protocol-designer/src/components/modals/CreateFileWizard/__tests__/StagingAreaTile.test.tsx @@ -4,7 +4,7 @@ import '@testing-library/jest-dom/vitest' import { vi, describe, beforeEach, expect, it } from 'vitest' import { FLEX_ROBOT_TYPE, OT2_ROBOT_TYPE } from '@opentrons/shared-data' import { renderWithProviders } from '../../../../__testing-utils__' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { StagingAreaTile } from '../StagingAreaTile' import type * as Components from '@opentrons/components' diff --git a/protocol-designer/src/components/modals/EditModulesModal/__tests__/EditModulesModal.test.tsx b/protocol-designer/src/components/modals/EditModulesModal/__tests__/EditModulesModal.test.tsx index b3773552560..bf13010eefd 100644 --- a/protocol-designer/src/components/modals/EditModulesModal/__tests__/EditModulesModal.test.tsx +++ b/protocol-designer/src/components/modals/EditModulesModal/__tests__/EditModulesModal.test.tsx @@ -3,7 +3,7 @@ import { describe, it, expect, vi, beforeEach } from 'vitest' import { fireEvent, screen } from '@testing-library/react' import { FLEX_ROBOT_TYPE, OT2_ROBOT_TYPE } from '@opentrons/shared-data' import { renderWithProviders } from '../../../../__testing-utils__' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { getRobotType } from '../../../../file-data/selectors' import { getInitialDeckSetup } from '../../../../step-forms/selectors' import { getLabwareIsCompatible } from '../../../../utils/labwareModuleCompatibility' diff --git a/protocol-designer/src/components/modals/EditModulesModal/__tests__/EditMultipleModulesModal.test.tsx b/protocol-designer/src/components/modals/EditModulesModal/__tests__/EditMultipleModulesModal.test.tsx index d10b7c1b466..b3e30fe09c5 100644 --- a/protocol-designer/src/components/modals/EditModulesModal/__tests__/EditMultipleModulesModal.test.tsx +++ b/protocol-designer/src/components/modals/EditModulesModal/__tests__/EditMultipleModulesModal.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { describe, it, expect, vi, beforeEach } from 'vitest' import { fireEvent, screen } from '@testing-library/react' import { renderWithProviders } from '../../../../__testing-utils__' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { getInitialDeckSetup } from '../../../../step-forms/selectors' import { getLabwareIsCompatible } from '../../../../utils/labwareModuleCompatibility' import { getLabwareOnSlot, getSlotIsEmpty } from '../../../../step-forms' diff --git a/protocol-designer/src/components/modals/FilePipettesModal/__tests__/ModuleFields.test.tsx b/protocol-designer/src/components/modals/FilePipettesModal/__tests__/ModuleFields.test.tsx index f335309f4a1..1136be7712e 100644 --- a/protocol-designer/src/components/modals/FilePipettesModal/__tests__/ModuleFields.test.tsx +++ b/protocol-designer/src/components/modals/FilePipettesModal/__tests__/ModuleFields.test.tsx @@ -4,7 +4,7 @@ import '@testing-library/jest-dom/vitest' import { screen, cleanup } from '@testing-library/react' import { OT2_ROBOT_TYPE } from '@opentrons/shared-data' import { renderWithProviders } from '../../../../__testing-utils__' -import { i18n } from '../../../../localization' +import { i18n } from '../../../../assets/localization' import { EquipmentOption } from '../../CreateFileWizard/EquipmentOption' import { ModuleFields } from '../../FilePipettesModal/ModuleFields' import type { FormPipettesByMount } from '../../../../step-forms' diff --git a/protocol-designer/src/components/modals/__tests__/AutoAddPauseUntilHeaterShakerTempStepModal.test.tsx b/protocol-designer/src/components/modals/__tests__/AutoAddPauseUntilHeaterShakerTempStepModal.test.tsx index 0f41b4b7534..8fc7dabc87b 100644 --- a/protocol-designer/src/components/modals/__tests__/AutoAddPauseUntilHeaterShakerTempStepModal.test.tsx +++ b/protocol-designer/src/components/modals/__tests__/AutoAddPauseUntilHeaterShakerTempStepModal.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { describe, it, expect, vi, beforeEach } from 'vitest' import { fireEvent, screen } from '@testing-library/react' import { renderWithProviders } from '../../../__testing-utils__' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { AutoAddPauseUntilHeaterShakerTempStepModal } from '../AutoAddPauseUntilHeaterShakerTempStepModal' const render = ( diff --git a/protocol-designer/src/components/modals/__tests__/AutoAddPauseUntilTempStepModal.test.tsx b/protocol-designer/src/components/modals/__tests__/AutoAddPauseUntilTempStepModal.test.tsx index 9cf8a780c6b..3bec4781034 100644 --- a/protocol-designer/src/components/modals/__tests__/AutoAddPauseUntilTempStepModal.test.tsx +++ b/protocol-designer/src/components/modals/__tests__/AutoAddPauseUntilTempStepModal.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { describe, it, expect, vi, beforeEach } from 'vitest' import { fireEvent, screen } from '@testing-library/react' import { renderWithProviders } from '../../../__testing-utils__' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { AutoAddPauseUntilTempStepModal } from '../AutoAddPauseUntilTempStepModal' const render = ( diff --git a/protocol-designer/src/components/modules/AdditionalItemsRow.tsx b/protocol-designer/src/components/modules/AdditionalItemsRow.tsx index 7c4765272a5..31784f5ee00 100644 --- a/protocol-designer/src/components/modules/AdditionalItemsRow.tsx +++ b/protocol-designer/src/components/modules/AdditionalItemsRow.tsx @@ -19,9 +19,9 @@ import { TYPOGRAPHY, DIRECTION_ROW, } from '@opentrons/components' -import gripperImage from '../../images/flex_gripper.png' -import wasteChuteImage from '../../images/waste_chute.png' -import trashBinImage from '../../images/flex_trash_bin.png' +import gripperImage from '../../assets/images/flex_gripper.png' +import wasteChuteImage from '../../assets/images/waste_chute.png' +import trashBinImage from '../../assets/images/flex_trash_bin.png' import { getTopPortalEl } from '../portals/TopPortal' import { TrashModal } from './TrashModal' import { FlexSlotMap } from './FlexSlotMap' diff --git a/protocol-designer/src/components/modules/CrashInfoBox.tsx b/protocol-designer/src/components/modules/CrashInfoBox.tsx index 6e6be522918..3d53201d2e1 100644 --- a/protocol-designer/src/components/modules/CrashInfoBox.tsx +++ b/protocol-designer/src/components/modules/CrashInfoBox.tsx @@ -1,7 +1,7 @@ import * as React from 'react' import { useTranslation } from 'react-i18next' import { Icon, SPACING_3 } from '@opentrons/components' -import collisionImage from '../../images/modules/module_pipette_collision_warning.png' +import collisionImage from '../../assets/images/modules/module_pipette_collision_warning.png' import { KnowledgeBaseLink } from '../KnowledgeBaseLink' import styles from './styles.module.css' diff --git a/protocol-designer/src/components/modules/ModuleDiagram.tsx b/protocol-designer/src/components/modules/ModuleDiagram.tsx index 3763e467961..bdfbfbb44bb 100644 --- a/protocol-designer/src/components/modules/ModuleDiagram.tsx +++ b/protocol-designer/src/components/modules/ModuleDiagram.tsx @@ -18,14 +18,14 @@ import { ABSORBANCE_READER_V1, } from '@opentrons/shared-data' -import magdeck_gen1 from '../../images/modules/magdeck_gen1.png' -import magdeck_gen2 from '../../images/modules/magdeck_gen2.png' -import tempdeck_gen1 from '../../images/modules/tempdeck_gen1.png' -import temp_deck_gen_2_transparent from '../../images/modules/temp_deck_gen_2_transparent.png' -import thermocycler from '../../images/modules/thermocycler.png' -import thermocycler_gen2 from '../../images/modules/thermocycler_gen2.png' -import heater_shaker_module_transparent from '../../images/modules/heater_shaker_module_transparent.png' -import mag_block from '../../images/modules/mag_block.png' +import magdeck_gen1 from '../../assets/images/modules/magdeck_gen1.png' +import magdeck_gen2 from '../../assets/images/modules/magdeck_gen2.png' +import tempdeck_gen1 from '../../assets/images/modules/tempdeck_gen1.png' +import temp_deck_gen_2_transparent from '../../assets/images/modules/temp_deck_gen_2_transparent.png' +import thermocycler from '../../assets/images/modules/thermocycler.png' +import thermocycler_gen2 from '../../assets/images/modules/thermocycler_gen2.png' +import heater_shaker_module_transparent from '../../assets/images/modules/heater_shaker_module_transparent.png' +import mag_block from '../../assets/images/modules/mag_block.png' import type { ModuleType, ModuleModel } from '@opentrons/shared-data' interface Props { diff --git a/protocol-designer/src/components/modules/StagingAreasRow.tsx b/protocol-designer/src/components/modules/StagingAreasRow.tsx index 508eecc893c..8428cf33dac 100644 --- a/protocol-designer/src/components/modules/StagingAreasRow.tsx +++ b/protocol-designer/src/components/modules/StagingAreasRow.tsx @@ -13,7 +13,7 @@ import { DIRECTION_ROW, } from '@opentrons/components' import { getCutoutDisplayName } from '@opentrons/shared-data' -import stagingAreaImage from '../../images/staging_area.png' +import stagingAreaImage from '../../assets/images/staging_area.png' import { getStagingAreaSlots } from '../../utils' import { getTopPortalEl } from '../portals/TopPortal' import { StagingAreasModal } from './StagingAreasModal' diff --git a/protocol-designer/src/components/modules/__tests__/AdditionalItemsRow.test.tsx b/protocol-designer/src/components/modules/__tests__/AdditionalItemsRow.test.tsx index 9115bb6c224..2ba6255f63d 100644 --- a/protocol-designer/src/components/modules/__tests__/AdditionalItemsRow.test.tsx +++ b/protocol-designer/src/components/modules/__tests__/AdditionalItemsRow.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { vi, describe, expect, it, beforeEach } from 'vitest' import { fireEvent, screen } from '@testing-library/react' import { renderWithProviders } from '../../../__testing-utils__' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { AdditionalItemsRow } from '../AdditionalItemsRow' import { FlexSlotMap } from '../FlexSlotMap' import { getInitialDeckSetup } from '../../../step-forms/selectors' diff --git a/protocol-designer/src/components/modules/__tests__/CrashInfoBox.test.tsx b/protocol-designer/src/components/modules/__tests__/CrashInfoBox.test.tsx index 8e1f6da07c3..76e7fb4483a 100644 --- a/protocol-designer/src/components/modules/__tests__/CrashInfoBox.test.tsx +++ b/protocol-designer/src/components/modules/__tests__/CrashInfoBox.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { describe, it, expect, beforeEach } from 'vitest' import { screen } from '@testing-library/react' import { CrashInfoBox } from '../CrashInfoBox' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { renderWithProviders } from '../../../__testing-utils__' describe('CrashInfoBox', () => { diff --git a/protocol-designer/src/components/modules/__tests__/MultipleModuleRow.test.tsx b/protocol-designer/src/components/modules/__tests__/MultipleModuleRow.test.tsx index 9c8e0027327..c756e5bf252 100644 --- a/protocol-designer/src/components/modules/__tests__/MultipleModuleRow.test.tsx +++ b/protocol-designer/src/components/modules/__tests__/MultipleModuleRow.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { describe, it, expect, vi, beforeEach } from 'vitest' import { fireEvent, screen } from '@testing-library/react' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { renderWithProviders } from '../../../__testing-utils__' import { MultipleModulesRow } from '../MultipleModulesRow' import { diff --git a/protocol-designer/src/components/modules/__tests__/StagingAreaModal.test.tsx b/protocol-designer/src/components/modules/__tests__/StagingAreaModal.test.tsx index e7e4fa45465..48ce07638ba 100644 --- a/protocol-designer/src/components/modules/__tests__/StagingAreaModal.test.tsx +++ b/protocol-designer/src/components/modules/__tests__/StagingAreaModal.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { vi, describe, it, expect, beforeEach } from 'vitest' import { fireEvent, screen } from '@testing-library/react' import { renderWithProviders } from '../../../__testing-utils__' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { getInitialDeckSetup } from '../../../step-forms/selectors' import { getSlotIsEmpty } from '../../../step-forms' import { StagingAreasModal } from '../StagingAreasModal' diff --git a/protocol-designer/src/components/modules/__tests__/StagingAreasRow.test.tsx b/protocol-designer/src/components/modules/__tests__/StagingAreasRow.test.tsx index e88d5631c72..609c22f685a 100644 --- a/protocol-designer/src/components/modules/__tests__/StagingAreasRow.test.tsx +++ b/protocol-designer/src/components/modules/__tests__/StagingAreasRow.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { describe, it, expect, vi, beforeEach } from 'vitest' import { fireEvent, screen } from '@testing-library/react' import { renderWithProviders } from '../../../__testing-utils__' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { FlexSlotMap } from '../FlexSlotMap' import { StagingAreasRow } from '../StagingAreasRow' import { getInitialDeckSetup } from '../../../step-forms/selectors' diff --git a/protocol-designer/src/components/modules/__tests__/TrashModal.test.tsx b/protocol-designer/src/components/modules/__tests__/TrashModal.test.tsx index f3feb4caa9c..36cbd8c0df2 100644 --- a/protocol-designer/src/components/modules/__tests__/TrashModal.test.tsx +++ b/protocol-designer/src/components/modules/__tests__/TrashModal.test.tsx @@ -3,7 +3,7 @@ import { vi, describe, expect, it, beforeEach } from 'vitest' import { fireEvent, screen, waitFor } from '@testing-library/react' import { WASTE_CHUTE_CUTOUT } from '@opentrons/shared-data' import { renderWithProviders } from '../../../__testing-utils__' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { getInitialDeckSetup } from '../../../step-forms/selectors' import { getSlotIsEmpty } from '../../../step-forms' import { diff --git a/protocol-designer/src/containers/__tests__/ConnectedStepItem.test.tsx b/protocol-designer/src/containers/__tests__/ConnectedStepItem.test.tsx index 4156202796b..4ccc84c18dc 100644 --- a/protocol-designer/src/containers/__tests__/ConnectedStepItem.test.tsx +++ b/protocol-designer/src/containers/__tests__/ConnectedStepItem.test.tsx @@ -4,7 +4,7 @@ import { screen } from '@testing-library/react' import '@testing-library/jest-dom/vitest' import { fixture96Plate, fixtureTiprack1000ul } from '@opentrons/shared-data' import { renderWithProviders } from '../../__testing-utils__' -import { i18n } from '../../localization' +import { i18n } from '../../assets/localization' import { getAdditionalEquipmentEntities, getArgsAndErrorsByStepId, diff --git a/protocol-designer/src/index.tsx b/protocol-designer/src/index.tsx index 4ef76e13e80..76abd69f796 100644 --- a/protocol-designer/src/index.tsx +++ b/protocol-designer/src/index.tsx @@ -7,7 +7,7 @@ import { configureStore } from './configureStore' import { initialize } from './initialize' import { initializeMixpanel } from './analytics/mixpanel' import { getEnableRedesign } from './feature-flags/selectors' -import { i18n } from './localization' +import { i18n } from './assets/localization' import { App } from './App' import { GlobalStyle } from './atoms/GlobalStyle' diff --git a/protocol-designer/src/organisms/SlotInformation/SlotInformation.stories.tsx b/protocol-designer/src/organisms/SlotInformation/SlotInformation.stories.tsx index bd1972bb540..82996f42cbe 100644 --- a/protocol-designer/src/organisms/SlotInformation/SlotInformation.stories.tsx +++ b/protocol-designer/src/organisms/SlotInformation/SlotInformation.stories.tsx @@ -1,7 +1,7 @@ import * as React from 'react' import { Flex } from '@opentrons/components' import { I18nextProvider } from 'react-i18next' -import { i18n } from '../../localization' +import { i18n } from '../../assets/localization' import { SlotInformation as SlotInformationComponent } from '.' import type { Meta, StoryObj } from '@storybook/react' diff --git a/protocol-designer/src/organisms/SlotInformation/__tests__/SlotInformation.test.tsx b/protocol-designer/src/organisms/SlotInformation/__tests__/SlotInformation.test.tsx index d5f8483c639..4a9c7bb91d4 100644 --- a/protocol-designer/src/organisms/SlotInformation/__tests__/SlotInformation.test.tsx +++ b/protocol-designer/src/organisms/SlotInformation/__tests__/SlotInformation.test.tsx @@ -3,7 +3,7 @@ import { describe, it, beforeEach, expect } from 'vitest' import { screen } from '@testing-library/react' import { renderWithProviders } from '../../../__testing-utils__' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { SlotInformation } from '..' diff --git a/protocol-designer/src/pages/CreateNewProtocolWizard/WizardBody.tsx b/protocol-designer/src/pages/CreateNewProtocolWizard/WizardBody.tsx index f9a7198ce31..7f45bd331bf 100644 --- a/protocol-designer/src/pages/CreateNewProtocolWizard/WizardBody.tsx +++ b/protocol-designer/src/pages/CreateNewProtocolWizard/WizardBody.tsx @@ -14,7 +14,7 @@ import { Btn, JUSTIFY_SPACE_BETWEEN, } from '@opentrons/components' -import temporaryImg from '../../images/placeholder_image_delete.png' +import temporaryImg from '../../assets/images/placeholder_image_delete.png' interface WizardBodyProps { stepNumber: number diff --git a/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/AddMetadata.test.tsx b/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/AddMetadata.test.tsx index 45192d044d3..ffdb008f333 100644 --- a/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/AddMetadata.test.tsx +++ b/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/AddMetadata.test.tsx @@ -3,7 +3,7 @@ import { describe, it, vi, beforeEach, expect } from 'vitest' import '@testing-library/jest-dom/vitest' import { FLEX_ROBOT_TYPE } from '@opentrons/shared-data' import { fireEvent, screen } from '@testing-library/react' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { renderWithProviders } from '../../../__testing-utils__' import { AddMetadata } from '../AddMetadata' diff --git a/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/SelectGripper.test.tsx b/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/SelectGripper.test.tsx index f848768417c..b2c10bde6ce 100644 --- a/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/SelectGripper.test.tsx +++ b/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/SelectGripper.test.tsx @@ -3,7 +3,7 @@ import { describe, it, expect, vi, beforeEach } from 'vitest' import '@testing-library/jest-dom/vitest' import { FLEX_ROBOT_TYPE } from '@opentrons/shared-data' import { fireEvent, screen } from '@testing-library/react' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { renderWithProviders } from '../../../__testing-utils__' import { SelectGripper } from '../SelectGripper' diff --git a/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/SelectRobot.test.tsx b/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/SelectRobot.test.tsx index a22c9bddf5d..c49665d7927 100644 --- a/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/SelectRobot.test.tsx +++ b/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/SelectRobot.test.tsx @@ -3,7 +3,7 @@ import { describe, it, expect, vi, beforeEach } from 'vitest' import '@testing-library/jest-dom/vitest' import { FLEX_ROBOT_TYPE } from '@opentrons/shared-data' import { fireEvent, screen } from '@testing-library/react' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { renderWithProviders } from '../../../__testing-utils__' import { SelectRobot } from '../SelectRobot' import type { WizardFormState, WizardTileProps } from '../types' diff --git a/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/WizardBody.test.tsx b/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/WizardBody.test.tsx index 3b7e25096bd..4d873f47c86 100644 --- a/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/WizardBody.test.tsx +++ b/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/WizardBody.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { describe, it, expect, vi, beforeEach } from 'vitest' import '@testing-library/jest-dom/vitest' import { fireEvent, screen } from '@testing-library/react' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { renderWithProviders } from '../../../__testing-utils__' import { WizardBody } from '../WizardBody' diff --git a/protocol-designer/src/pages/Landing/__tests__/Landing.test.tsx b/protocol-designer/src/pages/Landing/__tests__/Landing.test.tsx index a2120c9ff16..699bee78309 100644 --- a/protocol-designer/src/pages/Landing/__tests__/Landing.test.tsx +++ b/protocol-designer/src/pages/Landing/__tests__/Landing.test.tsx @@ -3,7 +3,7 @@ import * as React from 'react' import { describe, it, vi, beforeEach } from 'vitest' import { MemoryRouter } from 'react-router-dom' import { screen } from '@testing-library/react' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { renderWithProviders } from '../../../__testing-utils__' import { loadProtocolFile } from '../../../load-file/actions' import { Landing } from '../index' diff --git a/protocol-designer/src/pages/Landing/index.tsx b/protocol-designer/src/pages/Landing/index.tsx index 5d428953345..4161efa58e4 100644 --- a/protocol-designer/src/pages/Landing/index.tsx +++ b/protocol-designer/src/pages/Landing/index.tsx @@ -14,7 +14,7 @@ import { TYPOGRAPHY, } from '@opentrons/components' import { actions as loadFileActions } from '../../load-file' -import welcomeImage from '../../images/welcome_page.png' +import welcomeImage from '../../assets/images/welcome_page.png' import type { ThunkDispatch } from '../../types' export function Landing(): JSX.Element { diff --git a/protocol-designer/src/pages/ProtocolOverview/__tests__/ProtocolOverview.test.tsx b/protocol-designer/src/pages/ProtocolOverview/__tests__/ProtocolOverview.test.tsx index 640b8a033a7..867fce01306 100644 --- a/protocol-designer/src/pages/ProtocolOverview/__tests__/ProtocolOverview.test.tsx +++ b/protocol-designer/src/pages/ProtocolOverview/__tests__/ProtocolOverview.test.tsx @@ -3,7 +3,7 @@ import { describe, it, vi, beforeEach, expect } from 'vitest' import { fireEvent, screen } from '@testing-library/react' import { FLEX_ROBOT_TYPE } from '@opentrons/shared-data' import { renderWithProviders } from '../../../__testing-utils__' -import { i18n } from '../../../localization' +import { i18n } from '../../../assets/localization' import { getFileMetadata, getRobotType } from '../../../file-data/selectors' import { getInitialDeckSetup } from '../../../step-forms/selectors' import { ProtocolOverview } from '../index'