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

Dragged note highlighting #2684

Merged
merged 2 commits into from
Dec 13, 2018

Conversation

GuilhermeJSilva
Copy link
Contributor

Description

Changes the highlighting to more noticeable when a note is dragged over a folder.

Issue fixed

#1885

Type of changes

  • ⚪ Bug fix (Change that fixed an issue)
  • ⚪ Breaking change (Change that can cause existing functionality to change)
  • 🔘 Improvement (Change that improves the code. Maybe performance or development improvement)
  • ⚪ Feature (Change that adds new functionality)
  • ⚪ Documentation change (Change that modifies documentation. Maybe typo fixes)

Checklist:

  • 🔘 My code follows the project code style
  • ⚪ I have written test for my code and it has been tested
  • 🔘 All existing tests have been passed
  • ⚪ I have attached a screenshot/video to visualize my change if possible

@ZeroX-DG ZeroX-DG added bug 🐛 Issue concerns a bug. awaiting review ❇️ Pull request is awaiting a review. and removed bug 🐛 Issue concerns a bug. labels Dec 6, 2018
Copy link
Member

@ZeroX-DG ZeroX-DG left a comment

Choose a reason for hiding this comment

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

Please update your PR

handleDrop={(e) => this.handleDrop(e, storage, folder, dispatch, location)}
handleDragEnter={this.handleDragEnter}
handleDragLeave={this.handleDragLeave}
handleDrop={(e) => {
Copy link
Member

Choose a reason for hiding this comment

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

Can you move e.prevenDefault() to the this.handleDrop?

e.preventDefault()
this.handleDrop(e, storage, folder, dispatch, location)
}}
handleDragEnter={(e) => {
Copy link
Member

Choose a reason for hiding this comment

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

Can you move e.prevenDefault() to the this.handleDrop?

this.handleDragEnter(e, folder.key)
}}
handleDragLeave={(e) => {
e.preventDefault()
Copy link
Member

Choose a reason for hiding this comment

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

Can you move e.prevenDefault() to the this.handleDrop?

@ZeroX-DG ZeroX-DG added awaiting changes 🖊️ Pull request has been reviewed, but contributor needs to make changes. and removed awaiting review ❇️ Pull request is awaiting a review. labels Dec 6, 2018
@ehhc
Copy link
Contributor

ehhc commented Dec 7, 2018

Thanks for implementing this. Never had time to do it myself but it is really needed (imho). Thanks :)

@GuilhermeJSilva
Copy link
Contributor Author

Already changed the e.preventDefault() to the respective handlers. @ehhc Your welcome, I'm glad to be part of the project.

Copy link
Member

@ZeroX-DG ZeroX-DG left a comment

Choose a reason for hiding this comment

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

LGTM 🎉 Thank you for your contribution

@ZeroX-DG ZeroX-DG added approved 👍 Pull request has been approved by sufficient reviewers. and removed awaiting changes 🖊️ Pull request has been reviewed, but contributor needs to make changes. labels Dec 8, 2018
@Rokt33r Rokt33r merged commit 3f77cb2 into BoostIO:master Dec 13, 2018
@Rokt33r Rokt33r added next release (v0.11.12) and removed approved 👍 Pull request has been approved by sufficient reviewers. labels Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants