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
44.41k stars 5.43k forks source link

Archived label visual bug in labels select #27466

Open stuzer05 opened 1 year ago

stuzer05 commented 1 year ago

Description

When you have archived non-exclusive label between exclusive label groups the double divider is shown in the place of archived label

Gitea Version

trunk

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image image

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

None

neel1996 commented 11 months ago

The issue is due to the divider being rendered unconditionally

This has been fixed as part of #27668

delvh commented 11 months ago

I think the easiest approach to completely fix the problem is by refactoring the code completely. As far as I know, @puni9869 is already working on sorting archived labels to the bottom of the search results, which will fix this problem as well and it will be much less error-prone.

puni9869 commented 11 months ago

The issue is due to the divider being rendered unconditionally

This has been fixed as part of #27668

This is known issue.