Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(views): widen assignee picker and add text truncation (#2947) (#3044)

DorothyWoolfa5582198ab6c
diff --git a/packages/views/issues/components/pickers/assignee-picker.tsx b/packages/views/issues/components/pickers/assignee-picker.tsx
index 001093b77a..d71bc8105f 100644
--- a/packages/views/issues/components/pickers/assignee-picker.tsx
+++ b/packages/views/issues/components/pickers/assignee-picker.tsx
@@ -109,7 +109,7 @@ export function AssigneePicker({
setOpen(v);
if (!v) setFilter("");
}}
- width="w-52"
+ width="w-64"
align={align}
searchable
searchPlaceholder={t(($) => $.pickers.assignee.search_placeholder)}
@@ -156,7 +156,7 @@ export function AssigneePicker({
}}
>
<ActorAvatar actorType="member" actorId={m.user_id} size={18} />
- <span>{m.name}</span>
+ <span className="truncate">{m.name}</span>
</PickerItem>
))}
</PickerSection>
@@ -192,7 +192,7 @@ export function AssigneePicker({
}}
>
<ActorAvatar actorType="agent" actorId={a.id} size={18} showStatusDot />
- <span className={allowed ? "" : "text-muted-foreground"}>{a.name}</span>
+ <span className={`truncate ${allowed ? "" : "text-muted-foreground"}`}>{a.name}</span>
{a.visibility === "private" && (
<Lock className="ml-auto h-3 w-3 text-muted-foreground" />
)}
@@ -219,7 +219,7 @@ export function AssigneePicker({
}}
>
<ActorAvatar actorType="squad" actorId={s.id} size={18} />
- <span>{s.name}</span>
+ <span className="truncate">{s.name}</span>
</PickerItem>
))}
</PickerSection>