Skip to content

feat(chat): show avatars for chat and push notifications - #1126

Merged
bmc08gt merged 1 commit into
code/cashfrom
feat/chat-notification-avatars
Jul 23, 2026
Merged

feat(chat): show avatars for chat and push notifications#1126
bmc08gt merged 1 commit into
code/cashfrom
feat/chat-notification-avatars

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

What

Surfaces counterparty avatars in chat rows and push notifications.

  • NotificationService loads the sender's remote avatar via Coil and falls back to the profile display name / social handle for TIP_DM senders (no device contact exists for them).
  • ConversationReference gains displayName + image so chat rows can render name and avatar.
  • ContactAvatar crops (ContentScale.Crop) to avoid letterboxing.
  • MediaItem.rendition()/url() default the preferred rendition to ORIGINAL, making the argument optional.

Notes

  • Adds the coil3-core version-catalog entry (used by notifications).
  • Foundation for the tipping stack — feat/tipping builds on the ConversationReference fields added here.
  • Compiles standalone (no dependency on the tipping feature).

Surface counterparty avatars in chat notifications and rows:

- NotificationService loads the sender's remote avatar via Coil and
  falls back to the profile display name / social handle for TIP_DM
  senders (no device contact exists for them).
- Add displayName + image to ConversationReference so chat rows can
  render name and avatar.
- ContactAvatar crops (ContentScale.Crop) to avoid letterboxing.
- MediaItem.rendition()/url() default the preferred rendition to
  ORIGINAL, making the argument optional.
@github-actions github-actions Bot added type: feature New functionality area: network gRPC, connectivity, API, exchange rates area: notifications Push notifications, in-app messaging area: build-system Gradle, convention plugins, build-logic and removed type: feature New functionality labels Jul 23, 2026
@bmc08gt
bmc08gt merged commit d813307 into code/cash Jul 23, 2026
3 checks passed
@bmc08gt
bmc08gt deleted the feat/chat-notification-avatars branch July 23, 2026 21:36
bmc08gt added a commit that referenced this pull request Jul 24, 2026
Surface counterparty avatars in chat notifications and rows:

- NotificationService loads the sender's remote avatar via Coil and
  falls back to the profile display name / social handle for TIP_DM
  senders (no device contact exists for them).
- Add displayName + image to ConversationReference so chat rows can
  render name and avatar.
- ContactAvatar crops (ContentScale.Crop) to avoid letterboxing.
- MediaItem.rendition()/url() default the preferred rendition to
  ORIGINAL, making the argument optional.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build-system Gradle, convention plugins, build-logic area: network gRPC, connectivity, API, exchange rates area: notifications Push notifications, in-app messaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant