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

feat: Support cancelling getDependencies #919

Merged
merged 3 commits into from
Aug 19, 2021
Merged

Conversation

CsCherrYY
Copy link
Collaborator

Just played the dependency view feature, and found getting dependencies might be a long-time process in some project. so I'd like to add cancelling feature to allow user to cancel this process.

This PR introduces a new gRPC request: CancelDependencies, which is used to cancel an existing getDependencies request. The user can now see a progress in the status bar.
Screenshot 2021-08-17 152939
The progress can be clicked to expand, offering a cancel button to cancel the get dependency request.

@CsCherrYY CsCherrYY added the enhancement New feature or request label Aug 17, 2021
@CsCherrYY CsCherrYY added this to the 3.7.0 milestone Aug 17, 2021
@CsCherrYY CsCherrYY changed the title feat: Support cancelling getting dependencies feat: Support cancelling getDependencies Aug 17, 2021
Copy link
Member

@Eskibear Eskibear left a comment

Choose a reason for hiding this comment

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

LGTM. later don't forget to refine wording in status bar message

@CsCherrYY CsCherrYY merged commit 0b53cf6 into main Aug 19, 2021
@CsCherrYY CsCherrYY deleted the cs-dependency-cancel branch August 19, 2021 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants