Skip to content

Pull Request Tree GitHub Enterprise Avatars #1121

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

Merged
merged 4 commits into from
May 1, 2019

Conversation

StanleyGoldman
Copy link
Contributor

@StanleyGoldman StanleyGoldman commented Apr 17, 2019

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
Contributor Author

image

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

@queerviolet queerviolet left a comment

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 queerviolet self-requested a review April 19, 2019 20:08
@queerviolet
Copy link
Contributor

Oops, wrong PR

…b-enterprise-user-avatar

# Conflicts:
#	src/github/githubRepository.ts
@StanleyGoldman StanleyGoldman force-pushed the fixes/github-enterprise-user-avatar branch from 48ca2da to 3abb635 Compare April 30, 2019 01:04
@StanleyGoldman StanleyGoldman merged commit cc1e212 into master May 1, 2019
@StanleyGoldman 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