Skip to content

Hiding the organization's repository label set #31898

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

Open
kebox7 opened this issue Aug 21, 2024 · 8 comments
Open

Hiding the organization's repository label set #31898

kebox7 opened this issue Aug 21, 2024 · 8 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@kebox7
Copy link

kebox7 commented Aug 21, 2024

Feature Description

In some cases, there may be a need for centralized management of labels for the organization's repositories. Therefore, it would be nice to have settings to disable the ability to add predefined label sets for the organization's repositories.

Screenshots

Sample

@kebox7 kebox7 added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Aug 21, 2024
@yp05327
Copy link
Contributor

yp05327 commented Aug 21, 2024

I'm sorry I don't understand your needs.
This default label set is for a quick start. If you added a new label, this quick start will disappeared.
You can add organization level labels for all repositories in organization's settings.
You can also add additional labels for the specific repositories.

@kebox7
Copy link
Author

kebox7 commented Aug 22, 2024

Hi @yp05327.

I'll try to clarify the situation. There is an organization, and we have added a set of labels for it.
Organization level labels

Now we are adding a set of labels to the repository itself.
Repository  level labels

This will lead to duplicate labels and confusion. I would like to avoid such situations.
Duplicate labels

@yp05327
Copy link
Contributor

yp05327 commented Aug 27, 2024

I see. If some organization labels are same to the repo labels, then we need something like priority to avoid displaying same label twice. This is a good issue. 👍

@stuzer05
Copy link
Contributor

stuzer05 commented Dec 9, 2024

I see. If some organization labels are same to the repo labels, then we need something like priority to avoid displaying same label twice. This is a good issue. 👍

Probably there shouldn't be a "crutch" to hide lables, instead administrators can remove duplicate labels from repo settings and call it a day. Extra logic on top of that is excess IMO

@yp05327
Copy link
Contributor

yp05327 commented Dec 9, 2024

That comment is about 4 month ago, and I want to update my comment.

Instead of hiding same labels, I think we can:

  • avoid creating same labels
  • quick move repo/org label to org/repo feature
    very nice feature in GitLab, I don't need to change the existing issue's label

But this maybe a breaking change.

@stuzer05
Copy link
Contributor

stuzer05 commented Dec 9, 2024

That comment is about 4 month ago, and I want to update my comment.

Instead of hiding same labels, I think we can:

  • avoid creating same labels
  • quick move repo/org label to org/repo feature
    very nice feature in GitLab, I don't need to change the existing issue's label

But this maybe a breaking change.

No need to restrict anything, it's administrator's work to configure labels. Why add constaints, this should be human's job

@yp05327
Copy link
Contributor

yp05327 commented Dec 9, 2024

If you do not add some limitations, for experienced admins, yes, they can handle this.
But for fresh man, or someone not familiar with the management of this, they will be confused and that's why there's a issue here.

Same labels is confusing, and it depends on the admin's knowledge to handle it.
With a limitation, they can easily know how to design it. If you want to have bug label in both of them, like the original design, just rename org level labels into org/bug or something else, can also cover this use case I think, this is also a human's job.

@yp05327
Copy link
Contributor

yp05327 commented Dec 9, 2024

@lunny
how do you think about this comment: #7406 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

3 participants