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.
puni9869 50070550a8
Hide archived labels when filtering by labels on the issue list (#27115)
Followup  https://github.com/go-gitea/gitea/pull/26820
## Archived labels UI for issue filter and issue filter actions for
issues/pull request pages.

Changed:
* Enhanced the Issue filter and Issue filter actions UI page to
seamlessly incorporate a list of archived labels.
* Pagination functionality is same as before. If archived label checkbox
is checked then we are adding a query string`archived=true` in the url
to save the state of page.
* Issue filter actions menu is separated into different template.
* Adding the archived flag in issue url labels.
* Pull Request page is also work the same.

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
### Issue page
<img width="1360" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/d7efb2ef-5b2b-449d-83f0-d430a32ec432">

### Issue page with label filter on archived label checkbox when not
checked --> No archived label is there in list
<img width="1249" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/ceea68ef-91f2-4693-910f-2e25e236bfc9">

### Issue page with label filter on archived label checkbox when checked
--> Show archived label in the list.
<img width="710" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/2414d26b-2079-4c3c-bd9e-f2f5411bcabf">

### Issue page with label filter on issue action menu on archived label
checkbox when checked --> Show archived label in the list.
<img width="409" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/259cac87-3e21-4778-99a2-a6a0b8c81178">


### Applied the archived=true in Issue labels when archived checkbox is
checked.
<img width="984" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/657ce3db-c0ae-402e-b12d-3b580d3c2ed0">

---




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

---------

Signed-off-by: puni9869 <punitinani1@hotmail.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io>
9 months ago
..
actions Fix template bug (#27362) 9 months ago
branch Improve branch list UI (#27319) 9 months ago
cite Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago
code Fix more "locale" usages (#27259) 9 months ago
diff Fix review UI (#27322) 9 months ago
editor Fix more "locale" usages (#27259) 9 months ago
find Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago
graph Use `print` instead of `printf` (#27093) 10 months ago
issue Hide archived labels when filtering by labels on the issue list (#27115) 9 months ago
migrate Fix more "locale" usages (#27259) 9 months ago
projects Change green buttons to primary color (#27099) 10 months ago
pulls Add support for forking single branch (#25821) 9 months ago
release Fix more "locale" usages (#27259) 9 months ago
settings Add protected branch name description (#27257) 9 months ago
tag Fix more "locale" usages (#27259) 9 months ago
wiki Fix more "locale" usages (#27259) 9 months ago
activity.tmpl Fix more "locale" usages (#27259) 9 months ago
blame.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago
branch_dropdown.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago
clone_buttons.tmpl Fix more "locale" usages (#27259) 9 months ago
clone_script.tmpl Rework button coloring, add focus and active colors (#24507) 1 year ago
commit_load_branches_and_tags.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago
commit_page.tmpl Fix more "locale" usages (#27259) 9 months ago
commit_status.tmpl Improve branch list UI (#27319) 9 months ago
commit_statuses.tmpl cleanup locale function usage (#27227) 9 months ago
commits.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago
commits_list.tmpl Fix more "locale" usages (#27259) 9 months ago
commits_list_small.tmpl Use `print` instead of `printf` (#27093) 10 months ago
commits_table.tmpl Fix more "locale" usages (#27259) 9 months ago
create.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago
create_helper.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago
empty.tmpl Fix more "locale" usages (#27259) 9 months ago
file_info.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago
forks.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago
graph.tmpl Fix more "locale" usages (#27259) 9 months ago
header.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago
home.tmpl Fix more "locale" usages (#27259) 9 months ago
icon.tmpl Refactor some CSS styles and simplify code (#26771) 10 months ago
packages.tmpl Fix inconsistent user profile layout across tabs (#25625) 1 year ago
release_tag_header.tmpl Fix more "locale" usages (#27259) 9 months ago
search.tmpl Fix more "locale" usages (#27259) 9 months ago
search_name.tmpl Clean template/helper.go (#23922) 1 year ago
shabox_badge.tmpl cleanup locale function usage (#27227) 9 months ago
sub_menu.tmpl Fix more "locale" usages (#27259) 9 months ago
unicode_escape_prompt.tmpl cleanup locale function usage (#27227) 9 months ago
upload.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago
user_cards.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago
view_file.tmpl Fix more "locale" usages (#27259) 9 months ago
view_list.tmpl Fix more "locale" usages (#27259) 9 months ago
watchers.tmpl Fix user-cards format (#24428) 1 year ago