From dfa080f74debade38f5538e293ea8f93b31a91eb Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 1 Aug 2026 05:27:06 +0000 Subject: [PATCH] =?UTF-8?q?B89=20=E2=80=94=20A=C3=A7=C3=B5es=20r=C3=A1pida?= =?UTF-8?q?s=20em=20Contatos=20(lideran=C3=A7a)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wire the B79 drawer on /campanha/contatos for leader role with the B45 catalog (register-supporter, my-contacts). Actions use in-page hash anchors instead of staff home-search; no drawer on Início (existing B79 gate). Co-authored-by: Francisco Solla --- .../campaign/leadership/LeaderContactForm.tsx | 3 +- .../leadership/LeaderContactsPanel.tsx | 3 +- src/lib/campaignQuickActionRegistry.ts | 6 +++ src/lib/leaderContactsQuickActions.ts | 31 +++++++++++++ .../leaderContactsQuickActions.unit.spec.ts | 46 +++++++++++++++++++ 5 files changed, 87 insertions(+), 2 deletions(-) create mode 100644 src/lib/leaderContactsQuickActions.ts create mode 100644 tests/unit/leaderContactsQuickActions.unit.spec.ts diff --git a/src/components/campaign/leadership/LeaderContactForm.tsx b/src/components/campaign/leadership/LeaderContactForm.tsx index 4b706694..534f5f4a 100644 --- a/src/components/campaign/leadership/LeaderContactForm.tsx +++ b/src/components/campaign/leadership/LeaderContactForm.tsx @@ -63,8 +63,9 @@ export const LeaderContactForm = ({ return (