FUll name in issue/PR pages #5238

Closed
opened 2025-11-02 06:18:48 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @maieul on GitHub (Apr 15, 2020).

  • Gitea version (or commit ref):
    1.12.0+dev-153-g70fab7e26
  • Git version: try.gitea.net
  • Operating system:try.gitea.net
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • [X ] Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

In pulle request and issue pages and lists, the user name is printed instead of full, while the full name is printed in the repository page.

Example
https://try.gitea.io/Maieul/test/ (full Name)
https://try.gitea.io/Maieul/test/issues (User Name)
https://try.gitea.io/Maieul/test/issues/1 (idem)
https://try.gitea.io/Maieul/test/pulls (idem)
https://try.gitea.io/Maieul/test/pulls/1 (idem)

My user name is "Maieul" while my full name is "Maïeul Rouquette".

The main probblem is inconstitency.

...

Screenshots

image

image
image
image
image

Originally created by @maieul on GitHub (Apr 15, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.12.0+dev-153-g70fab7e26 - Git version: try.gitea.net - Operating system:try.gitea.net - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [X ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description In pulle request and issue pages and lists, the user name is printed instead of full, while the full name is printed in the repository page. Example https://try.gitea.io/Maieul/test/ (full Name) https://try.gitea.io/Maieul/test/issues (User Name) https://try.gitea.io/Maieul/test/issues/1 (idem) https://try.gitea.io/Maieul/test/pulls (idem) https://try.gitea.io/Maieul/test/pulls/1 (idem) My user name is "Maieul" while my full name is "Maïeul Rouquette". The main probblem is inconstitency. ... ## Screenshots ![image](https://user-images.githubusercontent.com/636640/79366704-f30a4500-7f4c-11ea-8f7b-8a483adabbfd.png) ![image](https://user-images.githubusercontent.com/636640/79366771-0d442300-7f4d-11ea-838e-603c4bfbd47f.png) ![image](https://user-images.githubusercontent.com/636640/79366818-1e8d2f80-7f4d-11ea-8c56-8014f8f82c5b.png) ![image](https://user-images.githubusercontent.com/636640/79366856-2cdb4b80-7f4d-11ea-9dc8-1279dec6e74f.png) ![image](https://user-images.githubusercontent.com/636640/79366889-3a90d100-7f4d-11ea-8788-88a6ca3746bf.png)
GiteaMirror added the topic/uiissue/stale labels 2025-11-02 06:18:48 -06:00
Author
Owner

@a1012112796 commented on GitHub (Apr 16, 2020):

I think all names on UI should use user.GetDisplayName to get . name is only use to make link.
0040f8bf67/models/user.go (L738-L750)

@a1012112796 commented on GitHub (Apr 16, 2020): I think all names on UI should use ``user.GetDisplayName`` to get . name is only use to make link. https://github.com/go-gitea/gitea/blob/0040f8bf67f29e9666c7562172bb38207296e8cd/models/user.go#L738-L750
Author
Owner

@guillep2k commented on GitHub (Apr 17, 2020):

@a1012112796 Maybe there are some places where we need the name to remain compact? But mostly yes, GetDisplayName() should be used when possible. 👍

@guillep2k commented on GitHub (Apr 17, 2020): @a1012112796 Maybe there are some places where we need the name to remain compact? But mostly yes, `GetDisplayName()` should be used when possible. 👍
Author
Owner

@stale[bot] commented on GitHub (Jun 17, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Jun 17, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@stale[bot] commented on GitHub (Jul 3, 2020):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Jul 3, 2020): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5238