Render team member avatars from GitHub profile images - #51
Open
SashankBhamidi with Copilot wants to merge 2 commits into
Open
Render team member avatars from GitHub profile images#51SashankBhamidi with Copilot wants to merge 2 commits into
SashankBhamidi with Copilot wants to merge 2 commits into
Conversation
Co-authored-by: SashankBhamidi <66299104+SashankBhamidi@users.noreply.github.com>
SashankBhamidi
marked this pull request as ready for review
August 19, 2026 10:21
Copilot
AI
changed the title
[WIP] Add avatars to the team page using GitHub API
Render team member avatars from GitHub profile images
Aug 19, 2026
niccokunzmann
requested changes
Aug 19, 2026
niccokunzmann
left a comment
Member
There was a problem hiding this comment.
Relevant for the privacy policy. That issue should be linked.
| <div class="member-card"> | ||
| <div class="member-avatar">{{ member.avatar }}</div> | ||
| <div class="member-avatar"> | ||
| <img src="https://github.com/{{ member.github }}.png" alt="{{ member.name }} avatar" loading="lazy" width="48" height="48"> |
Member
There was a problem hiding this comment.
width and height should go into CSS.
Member
There was a problem hiding this comment.
Actually, they are in there. They can be deleted.
Member
There was a problem hiding this comment.
The URL redirects. That's not a good idea.
| width: 48px; | ||
| height: 48px; | ||
| border-radius: 50%; | ||
| background: var(--stone-100); |
Member
There was a problem hiding this comment.
That can stay in case we get a 404 for the image.
stevepiercy
requested changes
Aug 19, 2026
| <div class="member-card"> | ||
| <div class="member-avatar">{{ member.avatar }}</div> | ||
| <div class="member-avatar"> | ||
| <img src="https://github.com/{{ member.github }}.png" alt="{{ member.name }} avatar" loading="lazy" width="48" height="48"> |
Member
There was a problem hiding this comment.
The URL redirects. That's not a good idea.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates the Team page to display each member’s real profile image via GitHub’s stable avatar endpoint (
https://github.com/<username>.png) instead of placeholder initials/Gravatar dependence. The goal is consistent, recognizable identities without requiring additional external account setup.Team page rendering
<img>sourced from each member’s existinggithubfield insite.data.team.alt,loading="lazy", fixed dimensions).Avatar presentation styles
.member-avatarto behave as an image container (circular crop viaoverflow: hidden).object-fit: cover, full-size block rendering) while preserving existing card layout.