-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
show delete confirmation dialog #1324
Conversation
Be sure to be changed |
@mslourens What do you think about shortening the message to simply "Move the note to the trash?" and changing the "Confirm" button text to "Move" for the sake of simplictity? Also do you think that there is maybe some way to de-duplicate the code without any major refactoring? |
Hi @mslourens , thanks for your support . Could you fix CI error? https://travis-ci.org/BoostIO/Boostnote/jobs/319797454 |
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.
please confirm my review.
|
||
if (isTrashed) { | ||
const dialogueButtonIndex = dialog.showMessageBox(remote.getCurrentWindow(), { |
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.
dialog is never used.
I think import is unnecessary on line 31.
}, () => { | ||
this.save() | ||
}) | ||
} | ||
} | ||
ee.emit('list:next') |
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.
sorry for the delay, I haven't been working for some time, because of the holidays. |
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.
thanks, please confirm my reviews again.
@@ -28,7 +28,6 @@ import striptags from 'striptags' | |||
|
|||
const electron = require('electron') | |||
const { remote } = electron |
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.
remote
and electron
are unnecessary.
} | ||
} | ||
ee.emit('list:next') | ||
|
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.
please remove this blank line.
Sorry for delay. |
Merged. Thanks @mslourens ! |
implements #1320