Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On the GitHub front page there is a sidebar with a second level heading for “Repositories”. Next to the heading there is a:

    <a class="btn btn-primary" href="/new">
      New
    </a>
Below the heading there is a list of repos which had a recent activity by you. Each list item has a link to an that repo.

   <a class="dashbord-underlined-link" href="/namespace/repo">
     namespace/repo
   </a>
There is a substantial difference between these two links. One takes you to a location, the other one starts a process which ends with an action.

As a user you are not going to be clicking the “New” button everyday. Maybe once a month, maybe once a year. So you are likely not going to remember where it is from the last time you clicked it. If you don’t find it when you need it, you will get frustrated. It needs a lot of visual weight relative to the other links in this nav section. Giving the same weight as a button is a reasonable decision.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: