Merge User#GetDisplayName into User#DisplayName #13331

Open
opened 2025-11-02 10:38:47 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @delvh on GitHub (Jul 25, 2024).

Feature Description

As seen for example in #31687, we currently have two different methods to display a user name, and both doing similar things.
I don't see a reason why we should keep both.
I think keeping DisplayName and merging the body of GetDisplayName would make the most sense.

Or is there any reason why we need both methods, where we once ignore the [ui].DEFAULT_SHOW_FULL_NAME setting?

Screenshots

No response

Originally created by @delvh on GitHub (Jul 25, 2024). ### Feature Description As seen for example in #31687, we currently have two different methods to display a user name, and both doing similar things. I don't see a reason why we should keep both. I think keeping `DisplayName` and merging the body of `GetDisplayName` would make the most sense. Or is there any reason why we need both methods, where we once ignore the `[ui].DEFAULT_SHOW_FULL_NAME` setting? ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 10:38:47 -06:00
Author
Owner

@wolfogre commented on GitHub (Jul 30, 2024):

I agree. I believe it's just historical baggage.

@wolfogre commented on GitHub (Jul 30, 2024): I agree. I believe it's just historical baggage.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13331