You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/web_src/js
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>
1 year ago
..
components Fix tooltip of commit select button (#26472) 1 year ago
features Allow to archive labels (#26478) 1 year ago
markup Fix task list checkbox toggle to work with YAML front matter (#25184) 2 years ago
modules Use frontend fetch for branch dropdown component (#25719) 2 years ago
render Add custom ansi colors and CSS variables for them (#25546) 2 years ago
standalone Add toasts to UI (#25449) 2 years ago
test rename tributeValues to mentionValues (#25375) 2 years ago
utils Avoiding accessing undefined mentionValues (#26461) 2 years ago
webcomponents Refactor locale number (#24134) 2 years ago
bootstrap.js Improve template system and panic recovery (#24461) 2 years ago
index.js Show branches and tags that contain a commit (#25180) 2 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 5 years ago
svg.js Add commits dropdown in PR files view and allow commit by commit review (#25528) 2 years ago
svg.test.js Improve `<SvgIcon>` to make it output `svg` node and optimize performance (#23570) 2 years ago
utils.js Remove hacky patch for "safari emoji glitch fix" (#25208) 2 years ago
utils.test.js Fix webauthn regression and improve code (#25113) 2 years ago