-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/mailchimp sync screen #1633
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1633 +/- ##
==========================================
- Coverage 65.65% 65.43% -0.23%
==========================================
Files 776 779 +3
Lines 11790 11872 +82
Branches 845 869 +24
==========================================
+ Hits 7741 7768 +27
- Misses 3907 3962 +55
Partials 142 142
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
const toast = useToast() | ||
|
||
const community: any = useContext(SessionContext); | ||
console.log("COMMUNITY", community) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remover console.log
a.data?.resync_mailchimp_start.status === 'started to add contacts to the queue') { | ||
toast({ title: `Ae! Sincronização em andamento.`, status: 'success', isClosable: true }); | ||
} else { | ||
toast({ title: 'Ish! Ocorreu um erro, tente sincronizar novamente.', description: `Se o problema persistir, contacte o suporte. ${a.data?.resync_mailchimp_start.status}` }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
O texto deveria "contate" ou "entre em contato com"
|
||
//TODO: MENSAGEM "PRECISA CONFIGURAR MAILCHIMP NA COMUNIDADE" | ||
if (!context.community.mailchimp_api_key || !context.community.mailchimp_list_id) { | ||
console.log("VERRRR", context.community.mailchimp_api_key, context.community.mailchimp_list_id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gloriateodoro Remover console.log, isso aqui gerar um problema de segurança da informação
ed9747c
to
887d94f
Compare
inserir aba sincronizar nas configurações da widget para sincronizar os contatos da widget com o Mailchimp.
Inserir em todos os tipos de widget (formulario, pressao, doação).
Se não houver uma conta do mailchimp integrada à comunidade, o botão aparece desativado.
Quando clicar em sincronizar, deve exibir o status da sinronização assim omo ocorre nas configurações da comunidade