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

fix(app, odd): check that isOnDevice true instead of null #12228

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

jerader
Copy link
Collaborator

@jerader jerader commented Mar 3, 2023

Overview

fixes bug where code thought the pipette flow was being accessed from the ODD instead of the desktop app

Test Plan

  • on deskop app on an Opentrons Flex, access a pipette flow via pipette card. The BeforeBeginning and subsequent modals in the flow should render normally with the Portal

Changelog

  • fix isOnDevice boolean logic in PipetteWizardFlows

Review requests

  • see details in Test Plan

Risk assessment

low

@jerader jerader requested a review from a team as a code owner March 3, 2023 22:00
@jerader jerader requested review from b-cooper and removed request for a team March 3, 2023 22:00
@codecov
Copy link

codecov bot commented Mar 3, 2023

Codecov Report

Merging #12228 (523c6e5) into edge (ce1ea36) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             edge   #12228   +/-   ##
=======================================
  Coverage   74.01%   74.02%           
=======================================
  Files        2193     2193           
  Lines       60360    60360           
  Branches     6223     6223           
=======================================
+ Hits        44676    44679    +3     
+ Misses      14254    14252    -2     
+ Partials     1430     1429    -1     
Flag Coverage Δ
app 72.62% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
app/src/organisms/PipetteWizardFlows/index.tsx 74.76% <100.00%> (+2.80%) ⬆️

Copy link
Contributor

@b-cooper b-cooper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚤

@jerader jerader merged commit d47b68e into edge Mar 3, 2023
@jerader jerader deleted the app_isOnDevice-boolean-fix branch March 3, 2023 22:49
y3rsh added a commit that referenced this pull request Mar 6, 2023
* edge:
  refactor(protocol-engine): Shorten error docstrings (#12230)
  chore(app): update electron-builder version from v24 alpha to v24 (#12233)
  chore(app): add new icons for ODD hi-fi (#12231)
  docs: more release docs (#12226)
  fix(app, odd): check isOnDevice true instead of if it is null (#12228)
  docs: remove references to make bump in releasing (#12222)
  refactor(app): scroll to current split from jump to tick, qol tweaks to run preview (#12218)
  fix(app): rewire cli and jupyter snippets to offsets modals  (#12180)
  feat(app): handle non-deterministic protocols (#12173)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants