Refined-github: Add links to issues and pull requests next to repo title

Created on 3 Mar 2018  路  20Comments  路  Source: sindresorhus/refined-github

When working in organization with multiple repos... the org home page lists all the repos. clicking on the repo name will take to code and then we click on issues / pull requests. Being a maintainer, most of the times I work on issues / prs. It would be very handy if I can directly go on the repo's issues / prs page from the organization home page.

One way to do is to have links to /issues and /pull requests next to the repo name itself.

Let me know your comments and suggestions. Would be happy to do a pr 馃槃

enhancement good first issue help wanted

Most helpful comment

Looks a bit cluttered. If this is added, it should probably be just the PR and Issue icons on the third line, not large text next to the title

All 20 comments

Looks a bit cluttered. If this is added, it should probably be just the PR and Issue icons on the third line, not large text next to the title

@bfred-it Adding icons is a good idea, just wondering if we can add them next to the title 馃

That sounds great, did a small mockup!

  • Bugs Icon should list the issues count and clicking it should take to issues page
  • PR Icon should list the open pr count and clicking it should take to pull requests page.
  • That鈥檚 a misiconer (misnomer), not all issues are bugs. It鈥檚 best to use the regular icon.
  • For the counts you need API calls, one per repo, unless someone adds the API key to the options and uses the GraphQL API
  • Sure, what would be the regular icon for issues ?
  • Others usage may vary but I usually don't depend on the count of issues or pr, am happy with just the link.

Sure, what would be the regular icon for issues

https://octicons.github.com/icon/issue-opened/

Thanks for the link @hkdobrev.

Here is the latest mockup!

mock

Can you try sending a PR?

@bfred-it on it 馃憤

Make sure to also send this feature request to GitHub: [email protected]

Has this been addressed or is it still outstanding? I would also like to see this (and having the counts included would be glorious as well!, but direct links would also be better than current).

It will look very congested when more details are present. e.g.
congested

I've made a small adhoc change to display issues and PR. I've kept the look and feel the same as displayed in the navbar. How about this?

Screen Shot 2019-04-18 at 9 51 23 PM

OMG I love it.

What do you think about it? @bfred-it

Honestly I think we can just replace that X issues need help and display it there instead. It's not a very useful copy now that everyone uses the label as _"up for grabs"_ rather than _"we actually need someone who knows more than us to fix it"_.

Plus I'd stick to the just show the icons, no counts. If anyone wants the counts, you can use Mottie's userscript.

Hello - has this not been done by GitHub?

Screenshot 2019-11-04 22 03 55

I'm not seeing it on profiles: https://github.com/sindresorhus?tab=repositories&type=source

Only on organizations: https://github.com/h5bp?type=source

Maybe soon!

Ah yes you're right, I thought we were talking about orgs only here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hkdobrev picture hkdobrev  路  3Comments

vanniktech picture vanniktech  路  3Comments

sompylasar picture sompylasar  路  3Comments

alexanderadam picture alexanderadam  路  3Comments

olso picture olso  路  3Comments