Skip to content
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

Display full name (#20171) #20246

Merged
merged 3 commits into from
Jul 5, 2022

Conversation

zeripath
Copy link
Contributor

@zeripath zeripath commented Jul 5, 2022

Backport #20171

The setting DEFAULT_SHOW_FULL_NAME promises to use the user's full name everywhere it can be used.

Unfortunately the function *user_model.User.ShortName() currently uses the .Name instead - but this should also use the .FullName().

Therefore we should make *user_model.User.ShortName() base its pre-shortened name on the .FullName() function.

Backport go-gitea#20171

The setting `DEFAULT_SHOW_FULL_NAME` promises to use the user's full name everywhere it can be used.

Unfortunately the function `*user_model.User.ShortName()` currently uses the `.Name` instead - but this should also use the `.FullName()`.

Therefore we should make `*user_model.User.ShortName()` base its pre-shortened name on the `.FullName()` function.
@zeripath zeripath added the topic/ui Change the appearance of the Gitea UI label Jul 5, 2022
@zeripath zeripath added this to the 1.17.0 milestone Jul 5, 2022
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jul 5, 2022
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jul 5, 2022
@zeripath zeripath merged commit 76ba23a into go-gitea:release/v1.17 Jul 5, 2022
@zeripath zeripath deleted the backport-20171-v1.17 branch July 5, 2022 15:58
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants