X1536 freeze thaw#1203
Conversation
…rozen boolean; redundant if LabwareState.Frozen is always reflected in state)
1fffcc1 to
6b6aaab
Compare
|
rebased x1536-freeze-thaw branch to remove experimental Edit treatment types changes. Saved those commits to edit-treatment-types branch. |
… spec compatibility
…lised frozen check
…en prop in RecordInPlace
…he mock service worker is registered from src/index.tsx before React renders
… and regenerate sdk.ts
|
test failure hotspots to check for xeniumAnalyser Issue: onAdd looks called twice in LabwareScanner for some reason. |
would like me to have a look into those with you ? I wonder why the msw is not working in your case ? |
|
thanks @yoldas, this is quite piece of work.
|
|
|
||
| previousLabwareLengthRef.current = currentLabwareLength; | ||
| prevCleanedOutAddressesLengthRef.current = curCleanedOutAddressesLength; | ||
| }); |
There was a problem hiding this comment.
can you explain what is the purpose of those changes, please
There was a problem hiding this comment.
I used useRefs instead of consts. Instead of capturing from render, used the last seen value persisted across emissions and re-subscriptions and removed those refs from deps. I will check this again - one of the things I suspected during debugging: onAdd firing twice.
…loaded file case (review feeadback)
Thanks. I have added key attribute to reset RecordInPlace for thaw and cryopreserve transitions. |
Thanks. Yes, in this case the behaviour is the same aside from the operation type. |
…in LabwareScanner; instead of refs
…eeze-thaw # Conflicts: # src/components/labwareScanner/LabwareScanner.tsx # src/lib/machines/labware/labwareMachine.ts
Changes proposed in this pull request
Story: #1202
Instructions for Reviewers
[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to
main]- Check story numbers included
- Check for debug code
- Check version