go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.11k stars 5.49k forks source link

Org and repo labels with same prefix are not being grouped #25250

Open stuzer05 opened 1 year ago

stuzer05 commented 1 year ago

Description

If you create an organization level label. let's say test/1 (exclusive), then create repo livel label test/2 (also excusive). And go to issues list, you'll see that test/ labels are in a separate groups.

I think all labels, both org and repo sould be sorted and merged into groups together.

Gitea Version

trunk

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

None

yardenshoham commented 1 year ago

cc @brechtvl

brechtvl commented 1 year ago

Org and repo labels are displayed separately with a divider between them. Also before scoped labels you might have expected them to be merged into a single list and sorted alphabetically.

I don't know if there is a design reason for separating them, or if it's just what was most convenient to implement.

yp05327 commented 8 months ago

Org and repo labels are displayed separately with a divider between them.

It seems that this feature is broken. image version: 1.22.0+dev-1013-g857243bed7