-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Allow to archive labels #26478
Allow to archive labels #26478
Conversation
By the way, what's missing that makes this PR WIP? |
I good description of PR, which you have already drafted, --> removing WIP. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, some nits, approve ahead.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Thanks @wxiaoguang for taking a look into. |
I think this is the fastest we have ever merged a new feature. |
more followup functionality pr coming on the way |
* upstream/main: Use `object-fit: contain` for oauth2 custom icons (go-gitea#26493) add disable workflow feature (go-gitea#26413) Move dropzone progress bar to bottom to show filename when uploading (go-gitea#26492) Handle base64 decoding correctly to avoid panic (go-gitea#26483) Allow to archive labels (go-gitea#26478)
Followup #26478 ## Archived labels UI Changed: * Enhanced the Filtered UI page to seamlessly incorporate a list of archived labels. Outsourced: * Defer the implementation of specialized handling for archived labels to upcoming pull requests. This step will be undertaken subsequent to the successful merge of this pull request. Screenshots ![image](https://github.com/go-gitea/gitea/assets/80308335/1f33cfb2-2bac-46f0-9103-9e62d235b1d2) ![image](https://github.com/go-gitea/gitea/assets/80308335/3609acd0-b1ba-4ee9-8c4e-1a34dbc37dd7) ![image](https://github.com/go-gitea/gitea/assets/80308335/9860196d-2391-409b-a9a0-1205ab4b412b) --- Part of #25237 --------- Co-authored-by: Giteabot <teabot@gitea.io> Co-authored-by: silverwind <me@silverwind.io>
Archived labels
This PR adds the structure to allow for archived labels.
Archived labels are, just like closed milestones or projects, a medium to hide information without deleting it.
It is especially useful if there are outdated labels that should no longer be used without deleting the label entirely.
Changes in this PR
Outsourced to future PRs
There's no special handling for archived labels at the moment.
This will be done once this PR has been merged.
Screenshots
Part of #25237