question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove projects tab when 0 (empty?) from repos not working

See original GitHub issue

Found similar issues, but they are quite old, so opening a new one.

It’s is checked on the options, it shows it on the devtools as enabled, but it stills stays there as Projects (0). It’s not working only on a repo pages and org page (should it be removed from there too?), correctly hides the profile projects tab.

I have more-dropdown and releases-tab disabled/unchecked.

Example: https://github.com/tunnckoCore/resources refined-github-fkjshdfjksdhfkjshdfkjhsdfkj

I know GitHub added an option to hide that tab from the settings, but you should do it for every single repo, which is kind of too much for me.

Also, a good thing will be to have hide-wiki too.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
kidonngcommented, Aug 22, 2019

@tunnckoCore CSS is our friend:

.reponav a[data-selected-links^="repo_projects"],
.reponav a[data-selected-links^="repo_wiki"] {
  display: none;
}
2reactions
buschescommented, Aug 21, 2019

This is working as designed. As you suggested, the current code is written to display when you have the option to turn it off in the repo.

https://github.com/sindresorhus/refined-github/blob/master/source/features/remove-projects-tab.tsx#L54-L55

I’ll leave this open to discuss changing that behavior and hiding it all the time now.

The same is true for Wikis, if you disable the feature in the repo, GH will remove the tab.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remove projects tab when 0 (empty?) from repos not working
It's is checked on the options, it shows it on the devtools as enabled, but it stills stays there as Projects (0) ....
Read more >
How can i remove projects tab - github - Stack Overflow
According to this GitHub issue post it doesn't seem that it is possible to remove the projects tab just like the pull requests...
Read more >
Manage projects - GitLab Docs
If a project or repository has been updated but the state is not reflected in the UI, you may need to clear the...
Read more >
How to Delete a Repository in GitHub - Zapier
From this page, find the repository you want to delete, and click on the title. Then, locate the toolbar at the top and...
Read more >
Pipeline options for Git repositories - Azure - Microsoft Learn
While editing a pipeline that uses a Git repo—in an Azure DevOps project, GitHub, GitHub Enterprise Server, Bitbucket Cloud, or another Git ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found