Add Configuracoes review section for shared numbers
Adds an admin-only "Numeros compartilhados entre leads" section to the settings modal, wired to the Task 4 shared-numbers routes: lists detected groups, lets an admin liberar (with an inline motivo input) or bloquear de novo. Updates the two frontend VM-based test files' default API mocks to answer GET /api/outreach/shared-numbers so existing settings-modal tests keep passing, and adds a new interaction test covering the liberar round trip.
This commit is contained in:
@@ -419,6 +419,13 @@
|
||||
<div id="optout-list" class="lista"></div>
|
||||
</details>
|
||||
|
||||
<details class="settings-section admin-only">
|
||||
<summary>Números compartilhados entre leads</summary>
|
||||
<p class="muted">Detectados automaticamente quando o mesmo número aparece em mais de um lead (ex.: contabilidade que registra o próprio telefone para clientes). Envio automático e manual ficam bloqueados até você revisar e liberar.</p>
|
||||
<p id="shared-numbers-status" class="muted"></p>
|
||||
<div id="shared-numbers-list" class="lista"></div>
|
||||
</details>
|
||||
|
||||
<details class="settings-section zona-risco admin-only">
|
||||
<summary>Zona de risco</summary>
|
||||
<p class="muted">Apaga permanentemente todos os leads, exportações, capturas e extrações. Configurações e nichos não são afetados.</p>
|
||||
|
||||
Reference in New Issue
Block a user