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 user tile bug #545

Merged
merged 2 commits into from
Apr 4, 2023
Merged

Fix user tile bug #545

merged 2 commits into from
Apr 4, 2023

Conversation

rrrutledge
Copy link
Contributor

@rrrutledge rrrutledge commented Mar 29, 2023

  • For some reason, some author objects in the graph API are missing a user object (and subsequently a user URL).
  • Users without a URL don't get a link to their GitHub profile.
  • Fix is to explicitly ensure that we don't overwrite a good user URL with an empty one.
  • See yasakawa user tile should link to github profile #536

* For some reason, some user objects in the graph API are missing a user URL.

* Users without a URL don't get a link to their GitHub profile.

* Fix is to explicitly ensure that we don't overwrite a good user URL with an empty one.
@rrrutledge rrrutledge requested a review from a team as a code owner March 29, 2023 14:28
@rrrutledge
Copy link
Contributor Author

A better fix would be to figure out why some author objects in the API are getting returned without a user, but I couldn't see how to make much headway, there.

Copy link
Collaborator

@nysenthil nysenthil left a comment

Choose a reason for hiding this comment

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

This morning, I discussed this PR with Russ and he explained his code changes. His tests ran fine as well. I'm approving this change.

@nysenthil
Copy link
Collaborator

This morning, I discussed this PR with Russ to go over his code changes. All looks good. I'm approving and merging this PR now.

@nysenthil nysenthil merged commit b5c7e53 into main Apr 4, 2023
@nysenthil nysenthil deleted the fix/usertile branch April 4, 2023 17:30
@rrrutledge
Copy link
Contributor Author

Looks good!

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