We are grouping labels by color to indicate that these belong together. Would it not be better to see the choices next to one another per colour?
Here's a comparison for one of our private repos' use of labels:
| Current sorting | Sorting based on color |
| - | - |
|
|
|
I personally think the sorting based on color is more readable. We could start to sort alphabetically and then show the labels with the same color:
This approach makes it easier to find labels that you're searching for because you memorise colours very easily. You'd find yourself scrolling until you see the colour after which you can immediately click on the label you wanted to use because you memorised the colour.
Additionally what I'd like to propose is a replacement of the "Filter labels" field. Because labels are now grouped by colour, you might find yourself wanting to click on a different label with the same colour. So you search for 1 label by name, but currently it hides all of the other results. What I'd do is filter them, but still show the other results. It'd just scroll to the best result(s). If multiple are found, maybe the best one is shown or they're reordered and those are shown at the top.
Example of how I'd imagine it looked:

It might also be interesting to be able to group labels by hue and sorted by saturation/value, or something. That way you could have, for example, your "undiscussed, discussing, finalised" group, but each level would make the color brighter or more saturated, perhaps.

The problem with this is that it assumes everyone groups by color instead of by name. That isn't always the case.
Sorting this list by color would make no sense: https://github.com/babel/babel/labels
馃憥 because this would have to be a per-repo setting and that kills it.
Most helpful comment
The problem with this is that it assumes everyone groups by color instead of by name. That isn't always the case.
Sorting this list by color would make no sense: https://github.com/babel/babel/labels
馃憥 because this would have to be a per-repo setting and that kills it.