-
Notifications
You must be signed in to change notification settings - Fork 180
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(protocol-designer) modify the drag preview position #17576
Conversation
modify drag preview position close AUTH-1469
It seems a bit buggy. You can't select the top part of the labware to drag. I wonder if react dnd provides an API to move the svg relative to where the cursor is positioned? I will do some digging |
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.
This looks good! one nit but not blocking
@@ -9,51 +9,97 @@ import { | |||
} from '@opentrons/components' | |||
import { DND_TYPES } from '../../../../constants' | |||
import { DECK_CONTROLS_STYLE } from '../constants' | |||
import previewImage from '../../../../assets/images/preview.svg' |
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.
can move up
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## chore_release-pd-8.4.3 #17576 +/- ##
=========================================================
Coverage ? 17.79%
=========================================================
Files ? 3075
Lines ? 221782
Branches ? 6866
=========================================================
Hits ? 39467
Misses ? 182315
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Overview
[before]
drag_and_drop_before.mov
[after]
drag_and_drop_after.mov
At this moment, the design team and the product team approved this update.
I think further improvement would need the design team's input.
close AUTH-1469
Test Plan and Hands on Testing
Changelog
Review requests
Risk assessment
low