feat(frontend): update import sample and fix image handling#39
Merged
DavidsonGomes merged 2 commits intoMay 5, 2026
Merged
Conversation
- Add support for all 19 contact fields including person/company type - Add social profiles (linkedin, facebook, instagram, twitter, github) - Add location attributes (city, country, country_code) - Add empresas_vinculadas field for linking persons to companies - Add description field and custom attributes support - Updated sample data with person and company examples
- Update import-contacts-sample.csv with sanitized CPF/CNPJ format - Fix MessageImage component handling for contact imports
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates the contact import CSV sample to illustrate formatted and sanitized CPF/CNPJ values and enriches it with examples for all supported fields, and hardens the chat MessageImage component’s error handling and fallback logic for invalid or failed image loads. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Objetivo
Atualizar o arquivo de exemplo para importação de contatos e corrigir o componente de imagem.
✅ Alterações Realizadas
1. Atualização do Arquivo de Exemplo
public/downloads/import-contacts-sample.csvatualizado com exemplos de CPF/CNPJ formatados2. Correção no Componente de Imagem
src/components/chat/messages/MessageImage.tsx: melhorado tratamento de erros no carregamento de imagens🧪 Testes
🔗 Issues Relacionadas
Summary by Sourcery
Update contact import sample CSV and improve chat image handling.
New Features:
Bug Fixes: