Skip to content

Show event attendees' avatars - #226

Closed
engleek wants to merge 1 commit into
mainfrom
fix/attendee-avatars
Closed

engleek wants to merge 1 commit into
mainfrom
fix/attendee-avatars

Conversation

@engleek

@engleek engleek commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Attendee avatars on event pages never showed a photo. The page reads avatar.thumbnail_url, but the loader passed each attendee's raw image row, which has no such field, so everyone fell back to their initial. That's the stray "y" from the site review, finding #4, which turned out to be an avatar and not a broken count.

Found while auditing images for #194 / #225.

Change

computeEvent maps each participant's avatar through getImageLinks, as every other image is. Events loaded without participants' person rows pass through unchanged.

Tests

A new e2e test gives the seeded member an avatar image and joins them to an event (through Prisma, restored afterwards). The attendee's avatar img must have the image's URL.

  • On main: it fails (src="").
  • Locally: the full e2e suite and the unit and story tests pass.

🤖 Generated with Claude Code

The event page reads each attendee's avatar.thumbnail_url, but the
loader passed the raw image row, which has no such field, so every
attendee fell back to their initial (the stray "y" on live event pages).
computeEvent now turns participants' avatars into image links.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@engleek

engleek commented Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #249, which merged this change into main.

@engleek engleek closed this Oct 4, 2026
@engleek
engleek deleted the fix/attendee-avatars branch October 9, 2026 20:14
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.

1 participant