-
Notifications
You must be signed in to change notification settings - Fork 179
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): implement useCalibrationTaskList hook #11894
Conversation
…lated types to be reusable
useGenerateTaskList is a hook that aggregates deck calibrations and tip length and offset calibrations for attached pipettes then builds the taskList object that is passed to the TaskList component as props closes RAUT-291
Codecov Report
@@ Coverage Diff @@
## edge #11894 +/- ##
==========================================
+ Coverage 74.24% 74.26% +0.02%
==========================================
Files 2167 2168 +1
Lines 60016 60093 +77
Branches 6307 6322 +15
==========================================
+ Hits 44556 44631 +75
Misses 13972 13972
- Partials 1488 1490 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
be7458f
to
e684a6e
Compare
@b-cooper @ewagoner Quick demonstration of it in action. Seems to be working, though I had to do some pretty wonky stuff with Screen.Recording.2022-12-15.at.11.41.21.AM.mov |
4bad6e1
to
8668fda
Compare
8668fda
to
551408e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logic looks sound to me! 👍
* origin/edge: (34 commits) refactor(app): update desktop robot settings calibration section for OT-3 (#11942) feat(hardware): add CAN message to update motor position from encoders (#11868) ci(monorepo): upgrade windows versions on github workflows (#11940) feat(app): implement useCalibrationTaskList hook (#11894) feat(app, app-shell, app-shell-odd): create node layer for ODD (#11944) refactor(app): Remove recalibrate option from POC and TLC overflow menus [RAUT-93] (#11915) fix(api): home z should home gripper z too (#11950) refactor(shared-data): gripper use force polynomial function (#11946) refactor(api): move `ModuleGeometry` to legacy protocol core module (#11939) refactor(api): deprecate `ModuleContext.geometry` (#11938) chore(usb-bridge): add usb-bridge tests to test-py, add restart to push-ot3 (#11937) Revert "feat(app-shell-odd): create node layer for ODD (#11852)" (#11941) feat(app-shell-odd): create node layer for ODD (#11852) feature(hardware): add a warning style to can_mon and an "estop_released" error id (#11924) fix(hardware): Remove while loop and rely on number_of_messages when parsing motor position response. (#11929) fix(hardware): save can_comm / can_mon logs to read-write location (#11933) feat(api): Support 96 channel in the hardware controller (#11866) refactor(app): revert run a protocol from devices pages (#11909) refactor(app): remove warnings (#11922) refactor(app): remove invalid type warnings for strings from atoms (#11918) ...
Overview
Adds a
useCalibrationTaskList
hook that can be used alongside the TaskList component in the Calibration Dashboard to generate a task list of calibrations that are passed in to the TaskList component.closes RAUT-291
Changelog
robot_calibration.json
Review requests
Still getting familiar with a lot of these hooks and the calibrations they relate to, please ensure that the logic here is sound both when locating desired calibration data, and when building out the task list object
Risk assessment
low, the hook isn't being used anywhere yet