- Shipped
- August 15, 2026 at 6:18 AM UTC
- Author
- kamo
- Commit
- 1bf6c0e
The Assigned Agent field is now the same control as Manager on a member's profile: a read-only field that opens the searchable member picker. A dropdown could only ever hold one page, and the list behind this one was loaded whole on every lead view whether or not anybody opened the card — two directory fetches per page load, one of which had been dead since the field last changed hands. Eligibility is unchanged in substance and better enforced: the picker asks the directory for holders of VIEW_LEADS, which is the same right the old endpoint resolved, and it stays on team members because that is the default scope. The "keep the current assignee selectable" special case is gone with the dropdown — the picker pins the current pick above the results, so it survives a search instead of needing a hand-made option. Unassigning works now. The empty option always existed but the patch collapsed it to undefined, which buildUpdateLeadRequest skips, so choosing it sent an empty patch and the lead kept its owner. The picker's Remove sends the empty id the server now reads as an explicit unassign.