From b4a8029fb035224aa06668efeceef36c092af27a Mon Sep 17 00:00:00 2001 From: Joyce <26967919+Joyce-O@users.noreply.github.com> Date: Thu, 5 Feb 2026 17:19:51 -0500 Subject: [PATCH] update --- .../src/components/ParticipantSelector.tsx | 84 +++++++++---------- 1 file changed, 40 insertions(+), 44 deletions(-) diff --git a/frontend/src/components/ParticipantSelector.tsx b/frontend/src/components/ParticipantSelector.tsx index 7c695ef..a3538e4 100644 --- a/frontend/src/components/ParticipantSelector.tsx +++ b/frontend/src/components/ParticipantSelector.tsx @@ -94,11 +94,46 @@ export const ParticipantSelector = ({ return (
-
- +
inputRef.current?.focus()} + > + + + {selectedParticipants.map((participant) => ( +
e.stopPropagation()} + > +
+ {getInitials(participant.name)} +
+ {participant.name.split(' ')[0]} + {!participant.icsLink && ( + + )} + +
+ ))} + { setSearchQuery(e.target.value); @@ -107,11 +142,11 @@ export const ParticipantSelector = ({ }} onFocus={() => setIsDropdownOpen(true)} onKeyDown={handleKeyDown} - className="pl-10 h-12 bg-background border-border" + className="flex-1 min-w-[100px] h-7 border-none shadow-none focus-visible:ring-0 p-0 text-sm bg-transparent placeholder:text-muted-foreground/70" /> {isDropdownOpen && filteredParticipants.length > 0 && ( -
+
{filteredParticipants.map((participant, index) => (
- - {selectedParticipants.length > 0 && ( -
- {selectedParticipants.map((participant, index) => ( -
-
- {getInitials(participant.name)} -
- {participant.name.split(' ')[0]} - {!participant.icsLink && ( - - )} - -
- ))} - -
- )}
); }; -- 2.49.1