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

Organization display names are not respected #6138

Open
netthier opened this issue Mar 3, 2023 · 0 comments
Open

Organization display names are not respected #6138

netthier opened this issue Mar 3, 2023 · 0 comments
Labels
A-frontend 🐹 C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works

Comments

@netthier
Copy link

netthier commented Mar 3, 2023

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:
image
vs
image

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 or SenseLabs/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

  1. Create an organization with a display name different from the "proper" name
  2. Create a team in said organization
  3. Invite that team as an owner on a crate
  4. Be saddened by the way the organization name is displayed

Environment

(Not applicable)

Anything else?

No response

@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-frontend 🐹 labels Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend 🐹 C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

No branches or pull requests

2 participants