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

[github] show PR controller in PR context #24

Closed
wants to merge 1 commit into from

Conversation

JanKoehnlein
Copy link

@JanKoehnlein JanKoehnlein commented Jul 30, 2021

This PR fixes gitpod-io/gitpod#4081

@JanKoehnlein
Copy link
Author

This still lacks the case that the user hasn't granted the necessary scopes in the GitHub access yet. Should we add a notification on this?

@akosyakov
Copy link
Member

akosyakov commented Aug 2, 2021

@JanKoehnlein How does it behave in such case? Nothing happens? then it would be good to add a notification.

@JanKoehnlein JanKoehnlein force-pushed the jk/show_pr_controller branch 3 times, most recently from 8824403 to 8500a5b Compare August 3, 2021 13:45
@JanKoehnlein JanKoehnlein force-pushed the jk/show_pr_controller branch from 8500a5b to fcd4351 Compare August 3, 2021 16:33
vscode.commands.executeCommand('workbench.view.extension.github-pull-request');
}
});
await vscode.authentication.getSession('github', ['read:user', 'user:email', 'repo'], { createIfNone: true });
Copy link
Member

Choose a reason for hiding this comment

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

we should a link here where to look up such scopes

@JanKoehnlein
Copy link
Author

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.

[Gitpod Code] Add a notification on Pull Requests that asks for opening the PR-Overview
2 participants