forgejo/routers/web/org
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
..
setting
home.go Count only visible repos on profile (#25928) 2023-08-11 13:08:05 -04:00
main_test.go
members.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
org.go
org_labels.go Allow to archive labels (#26478) 2023-08-14 11:56:14 +02:00
projects.go Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
projects_test.go
setting.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
setting_oauth2.go
setting_packages.go
teams.go Fix 404 error when remove self from an organization (#26362) 2023-08-12 07:02:22 +00:00