saurabhdaware/bsky-widget

Profile card add fallback UI for missing banner and avatar images

Aberta

#8 aberto em 13 de nov. de 2024

 (1 comentário) (0 reação) (0 responsável)TypeScript (3 forks)github user discovery
buggood first issue

Métricas do repositório

Stars
 (71 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Current version of the component does not properly handle a case when profile handle does not have a banner image or profile image.

image

Solution

When there is no banner image we should fallback to background color and for avatar image use svg icon.

image

Guia do colaborador