New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Milestones filter if there are no milestones #421
Comments
👍 |
I took a stab at this, but the milestone list isn't loaded until you attempt to filter on it. Is there another way we can determine if they're using milestones outside of what's in the list and if not, do we want to call the list all the time just to remove it? |
@busches Use |
@sindresorhus that seems clunky though. I'd click on |
Ok, I misunderstood how it worked. |
This requires a fetch to the API to check if a project has any Milestones. Is it worth it? |
@bfred-it |
When there are no milestones the filter in issues and PRs listing page in a repo still have a filter for milestones which is not useful at all. There's just one option which just shows all issues/PRs with no milestones which are basically every issue/PR.
I think this would reduce clutter for projects not using milestones and not change anything if you're using milestones.
The text was updated successfully, but these errors were encountered: