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

Cancellable Requests #915

Merged
merged 4 commits into from
May 31, 2020
Merged

Conversation

AndrewBastin
Copy link
Member

@AndrewBastin AndrewBastin commented May 30, 2020

This PR intends to add the ability to cancel running requests.

@liyasthomas what do you think about the cancel button ? should it be red or something ?

The browser extensions don't currently support cancellable requests, the cancel attempts will just be ignored in case of extensions for now, the support implementation will be rolled with extension version v0.10 which is a bit delayed as I am waiting for approval for the extension to the Microsoft Edge add-on store.

This PR fixes #909

@AndrewBastin AndrewBastin added the feature New feature or request label May 30, 2020
@AndrewBastin AndrewBastin added this to the v2.0 milestone May 30, 2020
@AndrewBastin AndrewBastin self-assigned this May 30, 2020
@TravisBuddy
Copy link

Hey @AndrewBastin,
Your changes look good to me!

View build log

TravisBuddy Request Identifier: c984c4c0-a2c5-11ea-a8e9-e7e13745aead

@liyasthomas
Copy link
Member

@AndrewBastin no need of red bg color. "Cancel" isn't a errored state - moreover, there's a red theme in our themes. feel free to merge the PR.

@AndrewBastin AndrewBastin merged commit 0897bb2 into hoppscotch:master May 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Button to cancel requests
3 participants