-
Notifications
You must be signed in to change notification settings - Fork 2.4k
🔨 Refactor, 🧠 Overmind, Hactoberfest | packages/app/src/app/pages/Dashboard/Content/DragLayer/SelectedSandboxItems #2863
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
Conversation
…ms/index to Typescript and useOvermind
…ms/AnimatedSandboxItem to Typescript and functional component with hook
…ms/element to Typescript
|
Build for latest commit 560923f is at https://pr2863.build.csb.dev/s/new. |
| left={left} | ||
| top={top} |
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.
Why are you not passing this one down anymore?
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.
The reason I removed these props is because they are not used any where by any components under <SelectedSandboxItems />.
You can see they are forwarded in here to <AnimatedSandboxItem />, but <AnimatedSandboxItem /> does not use them and not expects them either here.
It might be a bug for <AnimatedSandboxItem /> not using them, then we can fix it with more context knowledge.
SaraVieira
left a comment
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.
I don't know if it does need changes but its to keep track of the PR's better
|
@SaraVieira Thanks for review. No problem to request changes. It is a good way to track it 👍 |
christianalfoni
left a comment
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 great! 😄 👍
Tested:
- Dragging single sandbox
- Dragging multiples sandboxes
- Drop sandbox in trash
What kind of change does this PR introduce?
Refactor for #2621 @Saeris @christianalfoni
What is the current behavior?
They are in
jswithcerebralWhat is the new behavior?
They are changed to
tsfiles withOvermindWhat steps did you take to test this? This is required before we can merge, make sure to test the flow you've updated.
yarn testyarn lintyarn typecheckyarn start, go toDashboard, drag things no errorChecklist