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

Fix displaying errors in GitHub pane. #2173

Merged
merged 2 commits into from Jan 11, 2019
Merged

Conversation

@grokys
Copy link
Contributor

@grokys grokys commented Jan 10, 2019

#1787 refactored InfoPanel but didn't update GitHubPaneView with its new behavior. So:

  • Don't initially set infoPanel.Visibility to Collapsed: InfoPanel will handle this itself
  • Set ShowCloseButton to show the x button to close the error

Fixes #2172
Related #2058

#1787 refactored `InfoPanel` but didn't update `GitHubPaneView` with its new behavior. So:

- Don't initialy set `infoPanel.Visibility` to `Collapsed`: `InfoPanel` will handle this itself
- Set `ShowCloseButton` to show the `x` button to close the error

Fixes #2172
Fixes #2058
@grokys grokys requested a review from jcansdale Jan 10, 2019
Copy link
Collaborator

@jcansdale jcansdale left a comment

If I try to create a PR in a repo that I don't have permissions to push, I see the following.

image

This is a fix for #2172, but the message is a little obtuse for this to fix completely #2058. I'll update the issue and merge. 👍

@jcansdale jcansdale merged commit 6c69aed into master Jan 11, 2019
4 checks passed
4 checks passed
MSBuild Log 0 errors - 779 warnings
Details
continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
github.VisualStudio Build #20190110.10 succeeded
Details
@jcansdale jcansdale deleted the fixes/2172-github-pane-errors branch Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.