Skip to content

feat: Show F3 name in Manage Access user search results#155

Draft
Copilot wants to merge 3 commits intodevfrom
copilot/show-f3-name-in-user-search
Draft

feat: Show F3 name in Manage Access user search results#155
Copilot wants to merge 3 commits intodevfrom
copilot/show-f3-name-in-user-search

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 24, 2026

The Manage Access user search was displaying email (First Last), making it hard to identify users since F3 names are how members know each other.

Changes

  • Modal dropdown format (admin-manage-access-modal.tsx): Already updated to display results as two lines:

    F3Name (First Last)   ← bold label
    email@example.com     ← muted sublabel
    

    Falls back gracefully: if no F3 name, shows full name; if no name at all, shows email only.

  • API (packages/api/src/lib/user.ts): f3Name, firstName, lastName are included in the base (non-PII) select, so they're always returned by byEmail regardless of includePii flag.

  • Test (packages/api/src/router/user.test.ts): Added test to describe("byEmail") that creates a user with known name fields and asserts all three name fields plus email are present in the response.

Original prompt

This section details on the original issue you should resolve

<issue_title>feat: Show F3 Name on Manage Access user search</issue_title>
<issue_description>### Describe the feature you'd like to request

When searching for a user by email to give them access it returns their email and first/last name. It should also return F3 name - as no one knows people's actual name.

Image

Describe the solution you'd like to see

Right now the search returns

<email> (<First Name> <Last Name>)

Can it be something like

<f3_name> (<First Name> <Last Name>)
<email>

Additional information

No response</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…r search

Co-authored-by: taterhead247 <26818765+taterhead247@users.noreply.github.com>
Copilot AI changed the title [WIP] Add F3 name display in Manage Access user search feat: Show F3 name in Manage Access user search results Feb 24, 2026
Copilot AI requested a review from taterhead247 February 24, 2026 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Draft

Development

Successfully merging this pull request may close these issues.

feat: Show F3 Name on Manage Access user search

2 participants