Skip to content

Remove Projects (0) from repo navigation #309

Closed

Description

@hkdobrev

Since GitHub has introduced projects there is this Projects tab on every repo. I am yet to see a repository using them. So I'd suggest removing the tab if there are 0 projects. It would reduce clutter and you will only see it when a repository is actually using projects.

That said I understand why GitHub did it like that - showing it for every repository even though nobody is using it at first - they want people to know about the feature, to open the tab and see the intro copy there. However I think users of Refined GitHub are heavy GitHub users and already know about it.

Implementation should be fairly easy as GitHub already show the number of projects in the tab button.

Activity

  1. sindresorhus commented on Sep 30, 2016

    @sindresorhus
    Member

    👍

  2. paulmolluzzo commented on Sep 30, 2016

    @paulmolluzzo
    Contributor

    If we take out the navigation then how else will people discover Projects? We'd be kneecapping the discovery of a new feature that people worked hard on. 😢

  3. sindresorhus commented on Sep 30, 2016

    @sindresorhus
    Member

    @paulmolluzzo We don't have to do it right now, but eventually I'd like to see it gone when unused.

  4. paulmolluzzo commented on Sep 30, 2016

    @paulmolluzzo
    Contributor

    @paulmolluzzo We don't have to do it right now, but eventually I'd like to see it gone when unused.

    OK, I'm just offering a counterpoint. Again, I don't want to take away the opportunity for all the GH people that worked on this feature to have their work gain traction.

  5. sindresorhus commented on Sep 30, 2016

    @sindresorhus
    Member

    @paulmolluzzo It's a good point. I just assumed everyone knew about it from the blog post, but I'm sure that's only a small portion of users.

  6. added
    small
    on Sep 30, 2016
  7. hkdobrev commented on Sep 30, 2016

    @hkdobrev
    ContributorAuthor

    @paulmolluzzo I get your argument, but I don't think we're actually preventing people to know about it. Here are the two use cases I think about:

    1. People using the extension already: They are certainly heavy users of GitHub, they might have even read the blog post or watched the GitHub Universe keynote. They certainly look at GitHub repositories at least a few days a week. I assume they already know about the projects feature, because they are used to how the tabs are ordered there. They saw that Refined GitHub has removed Pulse and added Releases. So they have also noticed the Projects tab and clicked it to look around. If they have started using it, this change would not affect the repositories where they already have projects.
    2. People who are yet to install the extension: If they are heavy GitHub users arguments for 1. apply for them as well. If they are new to GitHub they would spend quite some time dealing with GitHub and repository pages before finding and installing Refined GitHub extension. I wouldn't entertain the idea that they would discover GitHub through the extension or they'd install it in the first few days of GitHub usage. I'm quite certain that most users of the extension would have become GitHub regulars before installing any GitHub extension and especially one such as Refined GitHub which changes a lot of things in a lot of different places.

    In both cases however the thing which actually concerns me is that even if people know about projects would not be easily able to create a new project. They could either guess the URL, disable the extension to create the project or copy the URL from another repo with projects, but none of these are straightforward. Perhaps we shouldn't do this change or at least should add a button for adding a new project. I haven't found a good solution to this yet.

    I just know that I won't use the projects feature for the foreseeable future - excluding the cases where someone is using them on an open-source repository I'm interacting with, but that case won't be affected. So I wanted to suggest this change and see what others think about it. I'm glad there's a discussion :)

  8. sindresorhus commented on Oct 3, 2016

    @sindresorhus
    Member

    If we decide to go for this, we could simply add a button in the Settings page that points to https://github.com/sindresorhus/refined-github/projects/new. That's really where GitHub should have put the button, instead of littering the main nav with something most repos won't use.

  9. hkdobrev commented on Oct 24, 2016

    @hkdobrev
    ContributorAuthor

    FWIW this is the first repo I've seen to use projects and I admit their use case is quite nice: https://github.com/algolia/instantsearch.js/projects

    I've used Trello boards almost since the launch of Trello and I'm a big fan of such layouts, but what I don't understand is why GitHub launched this in addition to milestones instead of upgrading milestones to that.

  10. superkhau commented on Mar 21, 2017

    @superkhau

    I think user should be allowed to disable the projects tab just like the Wiki tab. I don't mind if it's left it on by default, but allow users to turn it off like you already do for wiki/issues, etc.

  11. hkdobrev commented on Mar 21, 2017

    @hkdobrev
    ContributorAuthor

    allow users to turn it off like you already do for wiki/issues, etc.

    To clarify disabling of the wiki and issues is a functionality provided by GitHub. This is just a browser extension changing the DOM on the page.

  12. 1 remaining item

  13. hkdobrev commented on Mar 29, 2017

    @hkdobrev
    ContributorAuthor
  14. paulmolluzzo commented on Mar 29, 2017

    @paulmolluzzo
    Contributor

    So we can close this issue then?

  15. sindresorhus commented on Mar 29, 2017

    @sindresorhus
    Member

    @paulmolluzzo No, it only works if everyone disables it if they don't use it, which very few will.

    I just don't want unnecessary noise in general, and maybe 1 out of 1000 repos I visit actually use Projects.

  16. paulmolluzzo commented on Mar 29, 2017

    @paulmolluzzo
    Contributor

    @paulmolluzzo No, it only works if everyone disables it if they don't use it, which very few will.

    I just don't want unnecessary noise in general, and maybe 1 out of 1000 repos I visit actually use Projects.

    @sindresorhus Fair point and you're probably right that most people won't bother disabling it.

  17. added and removed
    small
    on Mar 29, 2017
  18. sindresorhus commented on Mar 29, 2017

    @sindresorhus
    Member

    I'm marking this issue as pull request welcome. We can add a Create Project button in the the Settings where you can turn off Projects.

  19. paulmolluzzo commented on Mar 29, 2017

    @paulmolluzzo
    Contributor

    @sindresorhus you think we need to remove the good for beginner label? I think this is still pretty accessible for a beginner and we have a lot of info in this issue for someone to use in the solution. Just a 💡 .

  20. added
    small
    on Mar 29, 2017
  21. sindresorhus commented on Mar 29, 2017

    @sindresorhus
    Member

    I guess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementsmall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions