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

Cancel processing #73

Closed
vadimdemedes opened this issue Nov 9, 2016 · 9 comments
Closed

Cancel processing #73

vadimdemedes opened this issue Nov 9, 2016 · 9 comments

Comments

@vadimdemedes
Copy link

Would be very convenient to be able to cancel processing, if I see it's going too slow and obviously will result in a very large gif (162mb, in my case). My macbook's cooling fan was going like crazy :D

@doot0
Copy link
Contributor

doot0 commented Nov 9, 2016

Hey @vdemedes, that sounds like a great idea. Seems silly not to add this. 👍

Took us all less than two minutes to agree on it. Planned!

@matheuss matheuss added this to the 1.0.0 milestone Nov 18, 2016
@doot0 doot0 modified the milestones: 2.0.0, 1.0.0 Jan 29, 2017
@danieldelcore
Copy link

danieldelcore commented May 26, 2017

Hi all, I wouldn't mind giving this issue a shot.
My plan is to store the save / convert action as deferred promise. Then adding a cancel button to the "progress" view, which will resolve the promise and perform all necessary clean up.

Here's a screen grab of my proposed ui change:
screen shot 2017-05-26 at 12 31 10 pm

@sindresorhus
Copy link
Contributor

I think it would be better to use a cancelable promise. You could use https://github.com/sindresorhus/p-cancelable

@sindresorhus
Copy link
Contributor

sindresorhus commented May 26, 2017

And awesome that you want to work on this 🙌

Could you hold off a little bit though? I'm currently doing some large changes, so it would be better if your pull request was based on that.

@danieldelcore
Copy link

Great suggestion, thank you! I'll try my best!

@sindresorhus
Copy link
Contributor

@delcore92 I merged my big PR (#186), so you feel free to work on this whenever you see fit :)

@danieldelcore
Copy link

danieldelcore commented May 28, 2017

Hey guys, i've been picking around this morning, but i can't seem to figure out a nice way to do it. I think this issue might be out of my league because i'm fairly new to electron

@danieldelcore
Copy link

danieldelcore commented May 29, 2017

I've just raised a PR #189 that includes the small UI change. I would love to get some conversation around how we can approach this issue.

To be honest, i'm a bit lost with the latest refactor. I'm struggling to find a good place to wrap the export process in a cancelable promise.

@skllcrn
Copy link
Member

skllcrn commented Oct 31, 2017

Related to #263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants