Skip to content

Enhance Reviewer Search: Support Display Name/Profile Name in Search Field #34344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
localleon opened this issue May 2, 2025 · 1 comment
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@localleon
Copy link

localleon commented May 2, 2025

Feature Description

Currently, when opening a new Pull Request in Gitea and selecting the field for assigning Reviewers, the search functionality only matches against the user's username.

In our organization, usernames are cryptic ID numbers (e.g., u4829103), which makes identifying team members difficult. However, users have meaningful Display Names/Profile Names set in their profiles (e.g., Jane Doe), which would significantly improve the identification process if searchable.

Feature Request:

Enhance the Reviewer search input to allow searching by:

  • username (existing functionality)
  • display name / profile name (new functionality)

This dual search approach would greatly improve usability for organizations using non-human-readable usernames.

Potential Solution:

We're open to contributing a PR to implement this functionality, pending guidance from the maintainers on preferred design or any potential constraints.

Benefits:

  • Improves UX by making it easier to find and assign reviewers
  • Reduces user error in selecting the wrong individuals
  • Aligns with common expectations from other Git platforms

Let us know if there are any design considerations or existing discussions around this feature. Would you like me to help you draft the initial implementation plan or search if a similar feature has already been requested?

Screenshots

One of the possible could include returning the possible Reviewers in the format "Name (FullName)" like in the edited screenshot below. This would enable with the existing code searching for the FullName in addition to the username

Image

@localleon localleon added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label May 2, 2025
@localleon
Copy link
Author

It seem's like there's an option ui.DEFAULT_SHOW_FULL_NAME = true to enable the behaviour we wnat. The UI then becomes the following (e.g. without any modifications from my side)

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

1 participant