Skip to content

Pull Request Tree GitHub Enterprise Avatars - #1121

Merged
Stanley Goldman (StanleyGoldman) merged 4 commits into
masterfrom
fixes/github-enterprise-user-avatar
May 1, 2019
Merged

Stanley Goldman (StanleyGoldman) merged 4 commits into
masterfrom
fixes/github-enterprise-user-avatar

Conversation

@StanleyGoldman

@StanleyGoldman Stanley Goldman (StanleyGoldman) commented Apr 17, 2019 •

Copy link
Copy Markdown
Contributor

Related to #416

This pull request corrects the display of GitHub Enterprise Avatars in the Pull Request Tree

  • Adds .svg for "dark GitHub"
  • Added functionality to GitHubRepository to test if an avatar url returns with an HTTP 200 or other
  • Modified functionality in PullRequestModel to return undefined if the server does not return avatars
  • Added functionality to PullRequestNode to display a substitute local resource if an avatar is undefined

@StanleyGoldman

Copy link
Copy Markdown
Contributor Author

image

@StanleyGoldman Stanley Goldman (StanleyGoldman) changed the title Substitute GitHub Enterprise User Avatars Substitute GitHub Enterprise User Avatars in Pull Request Tree Apr 18, 2019
@StanleyGoldman Stanley Goldman (StanleyGoldman) changed the title Substitute GitHub Enterprise User Avatars in Pull Request Tree Pull Request Tree GitHub Enterprise Avatars Apr 18, 2019
@StanleyGoldman
Stanley Goldman (StanleyGoldman) marked this pull request as ready for review April 18, 2019 22:46

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Gonna merge this in. Thanks for DI'ing it into this branch!

@queerviolet

Copy link
Copy Markdown
Contributor

Oops, wrong PR

Comment thread src/github/githubRepository.ts Resolved
Comment thread src/github/githubRepository.ts Resolved
@StanleyGoldman
Stanley Goldman (StanleyGoldman) force-pushed the fixes/github-enterprise-user-avatar branch from 48ca2da to 3abb635 Compare April 30, 2019 01:04
@StanleyGoldman
Stanley Goldman (StanleyGoldman) deleted the fixes/github-enterprise-user-avatar branch May 1, 2019 17:09
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.

3 participants