Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

No error shown when creating a PR fails #2172

Closed
grokys opened this issue Jan 10, 2019 · 0 comments · Fixed by #2173
Closed

No error shown when creating a PR fails #2172

grokys opened this issue Jan 10, 2019 · 0 comments · Fixed by #2173
Labels
Milestone

Comments

@grokys
Copy link
Contributor

grokys commented Jan 10, 2019

Versions

  • GitHub Extension for Visual Studio version: >=2.6.1
  • Visual Studio version: All

What happened

When creating a PR fails, no error message is shown.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a branch with no commits
  2. Click "Create New" on the PR list
  3. Enter a title/description and click "Create pull request"
  4. PR creation fails but no error is shown.

Expected behavior

An error should be shown in the GitHub pane.

Related

@grokys grokys added the bug label Jan 10, 2019
grokys added a commit that referenced this issue Jan 10, 2019
#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
@meaghanlewis meaghanlewis added this to the 2.6.3 milestone Jan 11, 2019
@jcansdale jcansdale changed the title No error shown when creating PR fails No error shown when creating a PR fails Jan 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants