aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css
diff options
context:
space:
mode:
authorpuni9869 <80308335+puni9869@users.noreply.github.com>2023-10-01 18:34:39 +0530
committerGitHub <noreply@github.com>2023-10-01 09:04:39 -0400
commit50070550a8798dba2f1758d39923f0f4ef09acb5 (patch)
treeabf639fed7101821a1d478c4bfb09caacd58cac6 /web_src/css
parent87aa552531c7845d7d82b004490e48f6aa80e85a (diff)
downloadgitea-50070550a8798dba2f1758d39923f0f4ef09acb5.tar.gz
gitea-50070550a8798dba2f1758d39923f0f4ef09acb5.zip
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>
Diffstat (limited to 'web_src/css')
-rw-r--r--web_src/css/repo.css6
-rw-r--r--web_src/css/repo/issue-list.css8
2 files changed, 12 insertions, 2 deletions
diff --git a/web_src/css/repo.css b/web_src/css/repo.css
index d0d001bf52..562fb4a345 100644
--- a/web_src/css/repo.css
+++ b/web_src/css/repo.css
@@ -129,11 +129,13 @@
.repository .filter.menu.labels .label-filter .menu .info {
display: inline-block;
- padding: 0.5rem 0.25rem;
+ padding: 0.5rem 0;
font-size: 12px;
width: 100%;
white-space: nowrap;
- text-align: center;
+ margin-left: 10px;
+ margin-right: 8px;
+ text-align: left;
}
.repository .filter.menu.labels .label-filter .menu .info code {
diff --git a/web_src/css/repo/issue-list.css b/web_src/css/repo/issue-list.css
index 17ae6ea38f..d2f8e429f5 100644
--- a/web_src/css/repo/issue-list.css
+++ b/web_src/css/repo/issue-list.css
@@ -80,3 +80,11 @@
#issue-list .flex-item-body .checklist progress::-moz-progress-bar {
background-color: var(--color-secondary-dark-4);
}
+
+.archived-label-filter {
+ margin-left: 10px;
+ font-size: 12px;
+ display: flex !important;
+ margin-bottom: 8px;
+ min-width: fit-content;
+}