Skip to content

Commit bc13341

Browse files
authored
Issues Table improvements (#116)
* Filter out issues in archived repos * Indicate the current page in the issues table
1 parent 72ba9e7 commit bc13341

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

issues.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func issueSearch(ctx context.Context, label, token string, ch chan<- Issue) erro
134134
// Tell the request to use our context so we can cancel it in-flight if needed
135135
req = req.WithContext(ctx)
136136

137-
q := fmt.Sprintf(`is:open type:issue label:"%s"`, label)
137+
q := fmt.Sprintf(`is:open type:issue archived:false label:"%s"`, label)
138138
for k, v := range orgs {
139139
if v.Visible == true {
140140
q += " org:" + k

resources/css/app.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
@tailwind components;
33
@tailwind utilities;
44

5-
.paging_simple_numbers {
5+
.dataTables_paginate {
66
border-radius: theme('borderRadius.DEFAULT');
77
overflow: hidden;
88
border: 1px solid theme('colors.gray.200');
99
border-right: none;
1010
display: inline-flex;
1111
}
1212

13-
.paging_simple_numbers>span {
13+
.dataTables_paginate>span {
1414
display: flex;
1515
}
1616

17-
.paging_simple_numbers a {
17+
.dataTables_paginate a {
1818
display: block;
1919
font-size: .875rem;
2020
padding: .5rem .75rem;
@@ -23,6 +23,10 @@
2323
border: 1px solid theme('colors.gray.200');
2424
}
2525

26+
.dataTables_paginate a.current {
27+
background-color: theme('colors.teal.100');
28+
}
29+
2630
.dataTables_filter label {
2731
font-size: .875rem;
2832
font-weight: 500;
@@ -35,3 +39,7 @@
3539
box-shadow: theme('boxShadow.sm');
3640
border: 1px solid theme('colors.gray.300');
3741
}
42+
43+
.dataTables_wrapper table a {
44+
text-decoration: underline;
45+
}

0 commit comments

Comments
 (0)