Rocket.Chat.ReactNative icon indicating copy to clipboard operation
Rocket.Chat.ReactNative copied to clipboard

Add Skeleton and background to Avatar

Open diegolmello opened this issue 2 years ago • 6 comments

To be done

  • Add skeleton to Avatar
    • Pay attention to all use cases this component has (emoji, static image, etc)
    • This is good for UX, because nowadays we're rendering a blank space while avatar image is being fetched
    • You can see a skeleton example on VideoConferenceSkeletonLoading
  • Add colors.bannerBackground to Avatar when in dark modes
    • Some avatars might rendered in unexpectedly in dark/black mode, so we should render a grey color on the background to make it feel right.
    • Keep it without background color on light mode
    • Pay attention not to create a visual glitch rendering background and skeleton at the same time

Light mode image

Dark mode image

diegolmello avatar Jan 12 '23 14:01 diegolmello

In VideoConferenceBlock there's a function that returns the result of the conference, the skeleton is rendered only if the result isn't a success, but inside the Avatar there's no similar function. How can I check if the image is still beign fetched so I can render the Skeleton?

viniciused26 avatar Jan 16 '23 20:01 viniciused26

Hey @diegolmello, can I work on this issue?

abhinavvsinhaa avatar May 20 '23 18:05 abhinavvsinhaa

Hey, I'm new to the open source community, can I work on this issue? @diegolmello

eliaslma avatar Aug 31 '23 15:08 eliaslma

Let me work on this Issue @diegolmello

ashutosh887 avatar Sep 06 '23 10:09 ashutosh887

can i work on this issue? @diegolmello @Rohit3523

deepak0x avatar Nov 11 '25 20:11 deepak0x

You can work on any issue you want, also please avoid mentioning anyone in the issue unless it's urgent :)

Note: I get notifications for all the activities :)

Rohit3523 avatar Nov 11 '25 20:11 Rohit3523