Skip to content
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

[PROPOSAL] Issue groups - refer to GitLab #13117

Closed
1 of 7 tasks
bryanpedini opened this issue Oct 12, 2020 · 10 comments
Closed
1 of 7 tasks

[PROPOSAL] Issue groups - refer to GitLab #13117

bryanpedini opened this issue Oct 12, 2020 · 10 comments
Labels
type/enhancement An improvement of existing functionality

Comments

@bryanpedini
Copy link

bryanpedini commented Oct 12, 2020

  • Gitea version (or commit ref): master
  • Git version: N/A
  • Operating system: N/A
  • Database (use [x]): N/A
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist: N/A

Description

It would be nice to have in a distant future, for better management and bot integrations like on single categories, label groups via :: in the middle of a label name, signaling the software "use the first part before the "keyword" as group name and the second part as the group member", or something like that.
See attached screenshots of GitLab.com:

Screenshots

Screenshot_20201012_194954

@lafriks
Copy link
Member

lafriks commented Oct 13, 2020

imho we should use / as label group separator. Does this only affect how they are displayed?

@lafriks lafriks added the type/enhancement An improvement of existing functionality label Oct 13, 2020
@bryanpedini
Copy link
Author

bryanpedini commented Oct 13, 2020

imho we should use / as label group separator.

Whatever makes the backend distinguish between the group name and the group member should be all right to me...

Does this only affect how they are displayed?

I think so, it is just a graphical enhancement, in fact in the list they're still the same (complete text also with separator):

Screenshot from 2020-10-13 11-40-57

@koalp
Copy link
Contributor

koalp commented Oct 13, 2020

I may use label groups to interact with kanban/projects in the future (with a bot) : for example, putting the label scope/X would automatically send the issue in the project X and status/Y would be set when moving the issue in the column.
Therefore, I think that having a way to display those groups in the interface would be a nice feature.
I also use scoped labels for priorities. (and currently use the "::" separator from gitlab)

@bryanpedini
Copy link
Author

It is useless to note, that better integrations would benefit everyone, using :: as delimiter, exactly like GitLab would render bots and plugins much easier for both parties since they share the same "principle technology behind" 😃

@koalp
Copy link
Contributor

koalp commented Oct 13, 2020

Does this only affect how they are displayed?

Actually, in gitlab labels that are in the same "scope/group" are mutually exclusive and can't be present on the same issue. But a display-only would be enough I think.

@bryanpedini
Copy link
Author

But a display-only would be enough I think.

I agree, with the ability to perform external hooks when a label gets added / removed to an issue, but that I think it's probably a different issue altogether.

@bryanpedini
Copy link
Author

is bumping legal here?
on a more serious note: is this FR still in consideration in the future? it would be a nice-to-have

(no, I haven't learned Go that well yet to even draft a PR... sadly...)

@wxiaoguang
Copy link
Contributor

I think #17189 is also related.

Since Gitea is an open source project, most features heavily depend users' contributions. ps: there are some issues like #17244 to attract attentions.

@bryanpedini
Copy link
Author

Thank you for pointing that out.

@brechtvl
Copy link
Contributor

I believe this can be closed now, further improvements to this are being tracked in #22974.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/enhancement An improvement of existing functionality
Projects
None yet
Development

No branches or pull requests

6 participants