Repository navigation
Description
Description
Can we enhance the user and organization hovercards with some more useful information:
- Add company name.
- Add website/blog url.
- Add joined date (relative-time).
- For users (similar to organizations) show (and link to) number of:
- Followers
- Following
- Repos
- Orgs
- Gists
- Location can be linkified to Google Maps.
Use case
The company name can be useful to find out for which company the user works for [..]if the user works for GitHub. Their users are not always shown as staff on their cards. See test case below. (this issue has been fixed by GitHub)
The website/blog url is interesting for both users and organizations.
Joined date and counts are useful to know how active that person is on public repos.
Test case
User:
- Hover over any user in this issue (mine for example).
Admin user:
Go to GitHub org https://github.com/orgs/github/peopleIn the members section, hover over "Alejandro Cadavid".His hovercard says he's not staff, but his api says he'ssite_admin: https://api.github.com/users/acadavid
Organization:
- Go to my profile https://github.com/jerone
- Hover over any organization.
Ref
Long time ago I created my own hovercard as an userscript, GitHub User Info, before GitHub implemented their own. I still use mine (using them together does conflict a little, see screenie), but I love to see those features implemented in GitHub Refined. The source is probably not so useful anymore, as it's old and still uses REST API v3, but it might give an idea how the default hovercard can be enhanced.
Doc
https://api.github.com/users/jerone
https://api.github.com/users/jerone/orgs
https://api.github.com/orgs/github
https://api.github.com/orgs/github/members
Hovercards element (one element at the bottom of the HTML): .Popover.js-hovercard-content.position-absolute
Hovercards are loaded with a fetch https://github.com/hovercards?user_id=1402241&subject=pull_request%3A284448295¤t_path=%2Fsindresorhus%2Frefined-github%2Fpull%2F2115
IssueHunt Summary
tiramisu77 has been rewarded.
Backers (Total: $10.00)
jerone ($10.00)
Submitted pull Requests
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.
IssueHunt has been backed by the following sponsors. Become a sponsor

Activity
sindresorhus commentedon Jun 24, 2019
They fixed that. That user now shows as "Staff": https://github.com/orgs/github/people
jerone commentedon Jun 24, 2019
Thanks for letting me know; adjusted the description.
fregante commentedon Sep 8, 2019
I think that the hovercard is already rather large and full of info. There's only one suggestion I'd take:
PR welcome just for that
arnaudvalle commentedon Oct 11, 2019
Would it make sense to "linkify" the location on the user profile page as well (as a separate feature)?
jerone commentedon Oct 11, 2019
The HTML of the hovercard of some random user is as following:
hovercard HTML...
Trigger an hovercard in the console with:
issuehunt-oss commentedon Nov 3, 2019
@jerone has funded $10.00 to this issue.
issuehunt-oss commentedon Jan 21, 2020
@sindresorhus has rewarded $9.00 to @tiramisu77. See it on IssueHunt