1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 23:54:25 +00:00
gitea/services/forms
puni9869 cafce3b4b5
Allow to archive labels (#26478)
## Archived labels 

This 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

1. UI and API have been equipped with the support to mark a label as archived
2. The time when a label has been archived will be stored in the DB

## Outsourced for the future

There's no special handling for archived labels at the moment.
This will be done in the future.

## Screenshots

![image](https://github.com/go-gitea/gitea/assets/80308335/208f95cd-42e4-4ed7-9a1f-cd2050a645d4)

![image](https://github.com/go-gitea/gitea/assets/80308335/746428e0-40bb-45b3-b992-85602feb371d)

Part of https://github.com/go-gitea/gitea/issues/25237

---------

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-08-14 11:56:14 +02:00
..
admin.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
auth_form.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
org.go Allow Organisations to have a E-Mail (#25082) 2023-07-25 08:26:27 +00:00
package_form.go Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
repo_branch_form.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
repo_form_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo_form.go Allow to archive labels (#26478) 2023-08-14 11:56:14 +02:00
repo_tag_form.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
runner.go Support changing labels of Actions runner without re-registration (#24806) 2023-06-13 22:28:31 +08:00
user_form_auth_openid.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
user_form_hidden_comments.go Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
user_form_test.go Redesign Scoped Access Tokens (#24767) 2023-06-04 20:57:16 +02:00
user_form.go Remove "CHARSET" config option for MySQL, always use "utf8mb4" (#25413) 2023-06-21 10:49:25 +00:00