feat: add WordPress, PrestaShop and Shopify connection slots

Per-client CMS/ecommerce channels in the agency hub with URL/API
placeholders; live sync can come later.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
4Ventures
2026-09-22 18:50:25 +02:00
parent c4c527072f
commit 670679d09c
5 changed files with 54 additions and 4 deletions

View File

@@ -55,17 +55,17 @@ type AlertRow = {
const MATRIX_PROVIDERS = [
'meta_ads',
'google_ads',
'ga4',
'clientify',
'google_drive',
'wordpress',
] as const;
const SHORT: Record<string, string> = {
meta_ads: 'Meta',
google_ads: 'GAds',
ga4: 'GA4',
clientify: 'CRM',
google_drive: 'Drive',
wordpress: 'WP',
};
function healthBadge(h: string) {
@@ -241,8 +241,8 @@ export default function AgencyPortfolioBoard() {
Panel de control · clientes y conexiones
</h3>
<p className="text-[11px] text-gray-500 mt-0.5">
Cada cliente con su Meta, Google Ads, GA4, Clientify y Drive.
Activa/apaga canales en Integraciones.
Cada cliente con su Meta, Google Ads, Clientify, Drive y web
(WordPress…). Activa/apaga canales en Conexiones.
</p>
</div>
<button

View File

@@ -28,6 +28,9 @@ const PLACEHOLDERS: Record<string, string> = {
klaviyo: 'Account / list ID',
mailchimp: 'Audience ID',
google_drive: 'Folder ID (auto-match o pegar)',
wordpress: 'https://sitio.com + Application Password',
prestashop: 'https://tienda.com + API key',
shopify: 'mitienda.myshopify.com + Admin API token',
};
export default function ClientIntegrationsPanel({
@@ -106,6 +109,7 @@ export default function ClientIntegrationsPanel({
{ id: 'analytics', title: 'Analítica y medición' },
{ id: 'crm', title: 'CRM' },
{ id: 'email', title: 'Email / lifecycle' },
{ id: 'cms', title: 'Web / e‑commerce' },
{ id: 'files', title: 'Archivos' },
];
@@ -278,6 +282,15 @@ export default function ClientIntegrationsPanel({
ID manual.
</p>
)}
{(p.id === 'wordpress' ||
p.id === 'prestashop' ||
p.id === 'shopify') && (
<p className="text-[10px] text-gray-500">
Guarda la URL del site (y key/token si aplica) en el
campo. Sync automático de pedidos/contenidos: siguiente
fase.
</p>
)}
</li>
);
})}