Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore Release 8.1.0 #16386

Merged
merged 4 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions api/release-notes-internal.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ For more details about this release, please see the full [technical change log][

[technical change log]: https://github.com/Opentrons/opentrons/releases

## Internal Release 2.1.0-alpha.0

This internal release contains features being developed for 8.1.0. It's for internal testing only.

- Added support for Verdin IMX8MM Rev E and above which changes the CAN base clock from 20Mhz to 40Mhz.

## Internal Release 2.0.0-alpha.4

This internal release, pulled from the `edge` branch, contains features being developed for 8.0.0. It's for internal testing only. There are no changes to `buildroot`, `ot3-firmware`, or `oe-core` since the last internal release.
Expand Down
10 changes: 10 additions & 0 deletions api/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ By installing and using Opentrons software, you agree to the Opentrons End-User

---

## Opentrons Robot Software Changes in 8.1.0

Welcome to the v8.1.0 release of the Opentrons robot software!

### Hardware Support

- Latest production version of Flex robots

---

## Opentrons Robot Software Changes in 8.0.0

Welcome to the v8.0.0 release of the Opentrons robot software!
Expand Down
4 changes: 4 additions & 0 deletions app-shell/build/release-notes-internal.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
For more details about this release, please see the full [technical changelog][].
[technical change log]: https://github.com/Opentrons/opentrons/releases

## Internal Release 2.1.0-alpha.0

This internal release contains features being developed for 8.1.0. It's for internal testing only.

## Internal Release 2.0.0-alpha.4

This internal release, pulled from the `edge` branch, contains features being developed for 8.0.0. It's for internal testing only. There are no changes to `buildroot`, `ot3-firmware`, or `oe-core` since the last internal release.
Expand Down
12 changes: 12 additions & 0 deletions app-shell/build/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ By installing and using Opentrons software, you agree to the Opentrons End-User

---

## Opentrons App Changes in 8.1.0

Welcome to the v8.1.0 release of the Opentrons App!

There are no new features in the Opentrons App in v8.1.0, but it is required for updating the robot software to support the latest production version of Flex robots.

### Bug Fixes

- Prevented Flex from showing the first-run screen when powering on a robot that's already set up.

---

## Opentrons App Changes in 8.0.0

Welcome to the v8.0.0 release of the Opentrons App!
Expand Down
10 changes: 10 additions & 0 deletions app/src/pages/RobotDashboard/WelcomeModal.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as React from 'react'
import { useTranslation } from 'react-i18next'
import { useDispatch } from 'react-redux'

import {
COLORS,
Expand All @@ -14,10 +15,12 @@ import { useCreateLiveCommandMutation } from '@opentrons/react-api-client'

import { SmallButton } from '../../atoms/buttons'
import { Modal } from '../../molecules/Modal'
import { updateConfigValue } from '../../redux/config'

import welcomeModalImage from '../../assets/images/on-device-display/welcome_dashboard_modal.png'

import type { SetStatusBarCreateCommand } from '@opentrons/shared-data'
import type { Dispatch } from '../../redux/types'

interface WelcomeModalProps {
setShowWelcomeModal: (showWelcomeModal: boolean) => void
Expand All @@ -27,6 +30,7 @@ export function WelcomeModal({
setShowWelcomeModal,
}: WelcomeModalProps): JSX.Element {
const { t } = useTranslation(['device_details', 'shared'])
const dispatch = useDispatch<Dispatch>()

const { createLiveCommand } = useCreateLiveCommandMutation()
const animationCommand: SetStatusBarCreateCommand = {
Expand All @@ -44,6 +48,12 @@ export function WelcomeModal({
}

const handleCloseModal = (): void => {
dispatch(
updateConfigValue(
'onDeviceDisplaySettings.unfinishedUnboxingFlowRoute',
null
)
)
setShowWelcomeModal(false)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ import { useCreateLiveCommandMutation } from '@opentrons/react-api-client'

import { renderWithProviders } from '../../../__testing-utils__'
import { i18n } from '../../../i18n'
import { updateConfigValue } from '../../../redux/config'
import { WelcomeModal } from '../WelcomeModal'

import type { SetStatusBarCreateCommand } from '@opentrons/shared-data'

vi.mock('../../../redux/config')
vi.mock('@opentrons/react-api-client')
vi.mock('../../../redux/config')

const mockFunc = vi.fn()
const WELCOME_MODAL_IMAGE_NAME = 'welcome_dashboard_modal.png'
Expand Down Expand Up @@ -61,6 +62,10 @@ describe('WelcomeModal', () => {
it('should call a mock function when tapping next button', () => {
render(props)
fireEvent.click(screen.getByText('Next'))
expect(vi.mocked(updateConfigValue)).toHaveBeenCalledWith(
'onDeviceDisplaySettings.unfinishedUnboxingFlowRoute',
null
)
expect(props.setShowWelcomeModal).toHaveBeenCalled()
})
})
Loading