From dfc8e59407e29b3c25d82fd8e6fbecba8cbee231 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 17:15:53 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/components/clients/client-form-dialog.tsx | 23 +++- .../clients/contact-picker-popover.tsx | 111 ++++++++++++++++++ src/components/contacts/contacts-link-tab.tsx | 5 +- 3 files changed, 135 insertions(+), 4 deletions(-) create mode 100644 src/components/clients/contact-picker-popover.tsx diff --git a/src/components/clients/client-form-dialog.tsx b/src/components/clients/client-form-dialog.tsx index ae78d7c..78282fa 100644 --- a/src/components/clients/client-form-dialog.tsx +++ b/src/components/clients/client-form-dialog.tsx @@ -12,6 +12,7 @@ import { supabase } from "@/integrations/supabase/client"; import { useAuth } from "@/lib/auth"; import { Loader2, Plus, Trash2 } from "lucide-react"; import { toast } from "sonner"; +import { ContactPickerPopover } from "./contact-picker-popover"; const boardMember = z.object({ name: z.string().trim().min(1, "Required").max(120), @@ -299,9 +300,25 @@ export function ClientFormDialog({
No matching contacts.
+ ) : ( +