-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Scoped label improvements #22974
Comments
Created PR #22976 to allow creating labels from yaml template files that allows exclusive scope option set |
One thing I noticed (could be bug?) - non-exclusive scoped labels should also be rendered same as exclusive |
Communicating which labels are exclusive seems important. So even if we render non-exclusive ones in a similar style, there should probably be some visual difference still? I don't immediately have a good idea for what that would look like. |
I don't think it's important to see it's exclusive or not when displaying issue or in issue list. It's only important when displaying label selection menu where it's already understandable which are exclusive and which are not |
Alt doesn't work on all browsers, the simplest solution for v1.19 is to just not require it and toggle the label by just clicking. Part of go-gitea#22974
It is convenient to be able to toggle off this option after removing / from the name. This ensures the muted state is communicated to blind users even when the input is not fully disabled. Part of go-gitea#22974
Part of #22974 --------- Co-authored-by: delvh <[email protected]>
…#23304) Part of go-gitea#22974 --------- Co-authored-by: delvh <[email protected]>
…23309) Backport #23304 Part of #22974 Co-authored-by: Brecht Van Lommel <[email protected]> Co-authored-by: delvh <[email protected]>
…23306) It is convenient to be able to toggle off this option after removing / from the name. This ensures the muted state is communicated to blind users even when the input is not fully disabled. Part of #22974 Co-authored-by: Lunny Xiao <[email protected]>
…o-gitea#23306) It is convenient to be able to toggle off this option after removing / from the name. This ensures the muted state is communicated to blind users even when the input is not fully disabled. Part of go-gitea#22974 Co-authored-by: Lunny Xiao <[email protected]>
…23306) (#23311) Backport #23306 It is convenient to be able to toggle off this option after removing / from the name. This ensures the muted state is communicated to blind users even when the input is not fully disabled. Part of #22974 Co-authored-by: Brecht Van Lommel <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
Alt doesn't work on all browsers, the simplest solution for v1.19 is to just not require it and toggle the label by just clicking. Part of #22974 Co-authored-by: Lauris BH <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
Alt doesn't work on all browsers, the simplest solution for v1.19 is to just not require it and toggle the label by just clicking. Part of go-gitea#22974 Co-authored-by: Lauris BH <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
Backport #23303 Alt doesn't work on all browsers, the simplest solution for v1.19 is to just not require it and toggle the label by just clicking. Part of #22974 Co-authored-by: Brecht Van Lommel <[email protected]>
Quoted from the release note:
This should probably mark as breaking since existing labels may already contain Also, could we re-consider making the scope delimiter configurable? A per-instance option could be enough IMO. Some reason:
|
As I already mentioned in PR configurable delimiters will make it problematic especially in following cases:
|
NB, if you do not explicitly set that this scoped label is explicit only display will be affected not functionality so nothing will break for existing instances |
IMHO it's the instance maintainer's responsibility to keep the label not breaking.
For the current configuration, migrating issues from GitLab to Gitea might break the scoped labels since the delimiter is different and we cannot change it to the same one if intended to keep labels not breaking.
Honestly, if we insist to keep this unconfigurable, I'll +1 for using
Existing labels that contain |
I don't think it's a break current implementation? There is a new column |
Sorry for not actually trying the feature, this feature looks like this: If user mark it as btw, a use-case, do we support escaping the delimiter? For example, the label I mentioned above: (p.s. the reason I think |
As we know that GitLab will always have |
For example, how it will be if the original label in GitLab is |
Another idea:
If we do this, then:
|
Personally my preference was to use I don't think changing Personally I think it's reasonable that in the (rare) case a label contains |
Just ensure all API will always get
I honestly don't think the usage of |
Hopefully this is a good place to mention: has any work been done on sorting by scoped label value in the issues list? The specific use case I have is to sort on |
To my knowledge, no work has been done on such sorting. |
Yes, I'm slowly working on this for 3y now 😅 #11669 |
Feature Description
Now that there is an initial implementation of scoped labels (#22585), there are some things to improve. Aimed at v1.19:
/
was removed from the label name, however there is no communication for blind users that the exclusive checkbox is grayed out. (Scoped labels: set aria-disabled on muted Exclusive option for a11y #23306)Important (for v1.20?):
Nice to haves:
/
in the text.The text was updated successfully, but these errors were encountered: