Skip to content

fix(avatar): preservar fallback em falhas da imagem - #13

Merged
hugodeco merged 1 commit into
mainfrom
issue/12-avatar-fallback
Aug 29, 2026
Merged

fix(avatar): preservar fallback em falhas da imagem#13
hugodeco merged 1 commit into
mainfrom
issue/12-avatar-fallback

Conversation

@hugodeco

Copy link
Copy Markdown
Member

Resultado

  • troca a imagem pelo ChildContent quando o carregamento externo falha
  • limpa o estado de erro quando Src muda para permitir nova tentativa
  • cobre falha e troca da origem com testes de ciclo de vida

Validação

  • 351 testes, sem warnings

Closes #12

@hugodeco

Copy link
Copy Markdown
Member Author

Validação de CI: as três matrizes de navegador falham exclusivamente em IdentityUsersFilterFixture_StaysInsideTracksAndUsesStandardButtons, linha 30, porque controlFor(field) retorna null. A falha já existe na main no run 33277155037 (commit 4cc10bf), anterior a este PR. Este diff toca apenas SUIAvatar e os testes bUnit correspondentes; build, 351 testes de componente, bundle CSS, pack, Lighthouse e CodeQL passaram.

@hugodeco
hugodeco merged commit 62664dd into main Aug 29, 2026
8 of 11 checks passed
@hugodeco
hugodeco deleted the issue/12-avatar-fallback branch August 29, 2026 22:55
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.

fix(avatar): manter fallback quando a imagem externa falhar

1 participant