Skip to content

Show author profile pictures in feed + boards (not just initials)#508

Merged
KishParikh13 merged 1 commit into
v2from
fix/feed-board-author-avatars
Jun 17, 2026
Merged

Show author profile pictures in feed + boards (not just initials)#508
KishParikh13 merged 1 commit into
v2from
fix/feed-board-author-avatars

Conversation

@KishParikh13

Copy link
Copy Markdown
Collaborator

What

From Abhiram's 6/16 TestFlight feedback: "profile pictures do not appear in some areas." Avatars are stored as absolute URLs, but the board/feed post mappers dropped the author's image — so every post/reply author rendered as initials only in the feed, center boards, and event boards.

Fix

Threads profileImage from the API author all the way to the <Avatar>:

  • PersonSummary gains an optional image
  • boardPostToMessage (feed + boards) and authorFromUser (own optimistic posts) populate it from author.profileImage
  • the four author-avatar render sites — PostThread (post + reply), FeedPostCard, ThreadPanel — pass image, keeping the initials fallback when there's no photo

buildFeedPostFromMessage already spreads the author, so the feed list picks it up automatically.

Not in scope (other TestFlight items)

Test plan

  • npm run typecheck frontend clean
  • frontend tests 197 passing
  • On device: feed + event/center board posts and replies show author photos (initials only when no photo set)

TestFlight feedback (6/16): "profile pictures do not appear in some
areas." Avatars are stored as absolute URLs, but the board/feed post
mappers never carried the author's image through to the UI, so every
post and reply author rendered as initials.

Thread profileImage end to end:
- PersonSummary gains an optional `image`
- boardPostToMessage (feed + center/event boards) and authorFromUser
  (own optimistic posts) populate it from the author's profileImage
- the four author Avatar render sites (PostThread post + reply,
  FeedPostCard, ThreadPanel) pass `image` so the photo shows with the
  initials fallback intact

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 16, 2026

Copy link
Copy Markdown

Deploying chinmaya-janata with  Cloudflare Pages  Cloudflare Pages

Latest commit: b297af2
Status: ✅  Deploy successful!
Preview URL: https://b87c5bb6.project-janatha.pages.dev
Branch Preview URL: https://fix-feed-board-author-avatar.project-janatha.pages.dev

View logs

KishParikh13 added a commit that referenced this pull request Jun 17, 2026
…file-save, avatars-everywhere, Mine filter, Home unified-slot model, admin→Settings
@KishParikh13 KishParikh13 merged commit 6f0bd93 into v2 Jun 17, 2026
3 checks passed
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