Chat icon indicating copy to clipboard operation
Chat copied to clipboard

Allow specifying fallback view for a user

Open singpolyma opened this issue 9 months ago • 2 comments

To use instead of gray circle

singpolyma avatar Apr 08 '25 04:04 singpolyma

I think this could be allowed in a general way by having a view builder for the avatar, which provides a User and expects you to return a View.

This could also enable other things too:

  • Creating a fallback of the user's initials as an actual view instead of having to create an image first
  • Different fallback views for different users
  • Different colouring of the view depending on whether they are currently online, etc.

What do you think?

matthewrfennell avatar May 09 '25 19:05 matthewrfennell

Hey @matthewrfennell, good idea. I don't have time right now, but I'll put it on my to-do list. Have a great day, guys

f3dm76 avatar May 12 '25 04:05 f3dm76