Organization display names are not respected #6138
Labels
A-frontend 🐹
C-enhancement ✨
Category: Adding new behavior or a change to the way an existing feature works
Current Behavior
On GitHub, organizations and users have two names.
Not sure what the correct terminology is, but one of them shows up in places like URLs and commits (for me that's 'netthier') and the other one, the display name, shows up in other places such as the profile or e-mails (which in my case is 'nett_hier' instead).
While my crates.io user page shows the former name, I'm listed with the latter name in any crates where I'm the owner:
vs
However, for organizations, the former name is used in both cases, as can be seen in the above screenshot.
Expected Behavior
As can be seen here, the display name of the organization is "SenseLabs", not "senselabsde": https://github.com/SenseLabsDE
My expectation would be that the organization owning the crate here is rendered as
SenseLabs
orSenseLabs/crate-owners
instead (I'm not sure what the ideal way to include the team name here is) for consistency reasons.Another option would be to allow making the display name of a team freely configurable.
Since the display name of a user on crates.io can be set to anything by simply changing it on GitHub and logging in again, the same should be possible for organizations.
A third option would be to at least respect the casing (i.e. "SenseLabsDE" instead of "senselabsde"), as that is what GitHub does in URLs as well.
Steps To Reproduce
Environment
(Not applicable)
Anything else?
No response
The text was updated successfully, but these errors were encountered: