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

feat(app): Replace P10 update warning with one for all pipettes #3043

Merged
merged 2 commits into from
Feb 14, 2019

Conversation

mcous
Copy link
Contributor

@mcous mcous commented Feb 13, 2019

overview

Closes #3011

This PR replaces the previous P10 calibration update opt-in modal with an across-the-board pipette calibration opt-out modal.

Note: exact copy of modal is still in flux and may result in some fixup pushes

2019-02-13 14 20 32

changelog

  • feat(app): Replace P10 update warning with one for all pipettes

review requests

Can test with real robot or virtual smoothie. If using a real robot, ensure that the robot is on a commit after 256d736 (#3029) so that it has the latest API changes necessary for this feature.

  1. Ensure feature_flags.json has "useOldAspirationFunctions": null
    • VS: ~/.opentrons/feature_flags.json
    • Robot: /data/feature_flags.json
  2. Click on that robot in the app
    • After interaction with either of the modal buttons, you'll need to re-edit the file, but you do not need to restart the robot nor app after you edit the file
  • App shows modal
  • Clicking "OK" sets "useOldAspirationFunctions": false, modal does not reappear
  • Clicking "Go to advanced settings" sets "useOldAspirationFunctions": false, modal does not reappear
  • Clicking "Go to advanced settings" scrolls to the "Use older pipette calibrations" toggle

@mcous mcous added feature Ticket is a feature request / PR introduces a feature app Affects the `app` project ready for review labels Feb 13, 2019
@mcous mcous requested review from umbhau, Kadee80 and a team February 13, 2019 19:27
@codecov
Copy link

codecov bot commented Feb 13, 2019

Codecov Report

Merging #3043 into edge will decrease coverage by 0.14%.
The diff coverage is 10.34%.

Impacted file tree graph

@@            Coverage Diff             @@
##             edge    #3043      +/-   ##
==========================================
- Coverage   53.31%   53.16%   -0.15%     
==========================================
  Files         677      681       +4     
  Lines       19683    19877     +194     
==========================================
+ Hits        10494    10568      +74     
- Misses       9189     9309     +120
Impacted Files Coverage Δ
app-shell/src/config.js 25% <ø> (ø) ⬆️
app/src/config/index.js 58.82% <ø> (+3.26%) ⬆️
...c/components/RobotSettings/AdvancedSettingsCard.js 0% <0%> (ø) ⬆️
app/src/pages/Calibrate/Labware.js 0% <0%> (ø) ⬆️
...s/RobotSettings/PipetteUpdateWarningModal/index.js 0% <0%> (ø)
app/src/http-api-client/settings.js 100% <100%> (ø) ⬆️
shared-data/js/pipettes.js 40.9% <0%> (-3.92%) ⬇️
.../components/StepEditForm/fields/WellOrder/index.js 0% <0%> (ø) ⬆️
app/src/components/AppSettings/index.js 0% <0%> (ø) ⬆️
...ts/StepEditForm/fields/WellOrder/WellOrderModal.js 0% <0%> (ø) ⬆️
... and 19 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 256d736...43581fa. Read the comment docs.

Copy link
Contributor

@Kadee80 Kadee80 left a comment

Choose a reason for hiding this comment

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

🐷
Tests on VS

  • App shows modal
  • Clicking "OK" sets "useOldAspirationFunctions": false, modal does not reappear
  • Clicking "Go to advanced settings" sets "useOldAspirationFunctions": false, modal does not reappear
  • Clicking "Go to advanced settings" scrolls to the "Use older pipette calibrations" toggle

Copy link
Contributor

@Laura-Danielle Laura-Danielle left a comment

Choose a reason for hiding this comment

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

📴

  • App shows modal
  • Clicking "OK" sets "useOldAspirationFunctions": false, modal does not reappear
  • Clicking "Go to advanced settings" sets "useOldAspirationFunctions": false, modal does not reappear
  • Clicking "Go to advanced settings" scrolls to the "Use older pipette calibrations" toggle

@mcous mcous merged commit 9bd3eb2 into edge Feb 14, 2019
@mcous mcous deleted the app_pipette-update-opt-out branch February 14, 2019 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app Affects the `app` project feature Ticket is a feature request / PR introduces a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warning modal for new pipetting functions
3 participants