Skip to content

Hide irrelevant issue/PR filters #2016

Closed

Description

@FloEdelmann

Issuehunt badges

In a repo's issue/PR list, some filters are irrelevant for specific repos:

  • Labels if there are no labels in the repo
  • Projects if there are no projects in the repo
  • Milestones if there are no milestones in the repo
  • Status if there is no CI in the repo

These filter buttons can be hidden to unclutter the UI (and maybe make space for more useful features).


IssueHunt Summary

[
<
i
m
g

s
r
c

'
h
t
t
p
s
:
/
/
a
v
a
t
a
r
s
0
.
g
i
t
h
u
b
u
s
e
r
c
o
n
t
e
n
t
.
c
o
m
/
u
/
3
7
7
6
9
9
7
4
?
v

4
'

a
l
t

'
n
o
t
l
m
n
'

w
i
d
t
h

2
4

h
e
i
g
h
t

2
4

n
o
t
l
m
n
]
(
h
t
t
p
s
:
/
/
i
s
s
u
e
h
u
n
t
.
i
o
/
u
/
n
o
t
l
m
n
)

h
a
s

b
e
e
n

r
e
w
a
r
d
e
d
.

Backers (Total: $40.00)

Submitted pull Requests


Tips


IssueHunt has been backed by the following sponsors. Become a sponsor

Activity

  1. fregante commented on May 7, 2019

    @fregante
    Member

    Labels if there are no labels in the repo

    Vast majority of repos have labels.

    Projects if there are no projects in the repo

    Issues can now also have personal and organizational projects.


    For all of these, the only way this can work effectively is to create a single v4 API call to query if ANY issues have ANY of the above. And I don't know if that's possible. If it is, maybe it's worth a try, there are definitely a lot of filters now.

  2. added
    💵 Funded on Issuehunt
    on May 30, 2019
  3. IssueHuntBot commented on May 30, 2019

    @IssueHuntBot

    @IssueHunt has funded $40.00 to this issue.


  4. fregante commented on May 30, 2019

    @fregante
    Member

    Important part from my previous comment:

    the only way this can work effectively is to create a single v4 API call to query if ANY issues have ANY of the above

  5. issuehunt-oss commented on Jun 24, 2019

    @issuehunt-oss

    @sindresorhus has rewarded $36.00 to @notlmn. See it on IssueHunt

    • 💰 Total deposit: $40.00
    • 🎉 Repository reward(0%): $0.00
    • 🔧 Service fee(10%): $4.00
  6. added and removed
    💵 Funded on Issuehunt
    on Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions