Provide an option to include private contributions in contribution graph
✅ Merged and ready for GitLab 11.3
- Merge request: Include private contributions in user contribution graph
Currently, it is not possible to see contributions to private projects in your public contribution calendar.
- Provide checkbox setting to enable this feature in:
User Settings > Profile
- By default, this option should be turned off
Private contributions Include private contributions on my profile Choose to show contributions to private projects on your public profile without any project, repository or organization information
- Showing this off on the profile contribution calendar
Also see the Mr discussion from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17296#note_62092483
We have recent contributions and contributions dedicated to a selected day. Both are displayed differently.
Get rid of the following red boxed text elements and replace it with
in a private project
This would result in:
Of course, there is more to this than just this contribution...
Administrator created project Administrator / gke-demo would need to be changed to
Administrator created a private project
We need to solve this for each kind of contribution with a little bit of common sense as to how to dictate the copy for it. Let's discuss this in the merge request.
- Setting on profile page
Use following icons from http://gitlab-org.gitlab.io/gitlab-svgs/
This would look like:
With the dropdown looking like:
So I have my personal profile page here:
To the public user, my commit history looks like this:
I would love to link to GitLab in my resume/portfolio, etc. And the second graph looks much better from that standpoint with respect to my work. I would LOVE to be able to get that graph on my public page, with maybe some info on the number of repositories I've committed to in total, etc. I can see some users having issue with this and privacy, so maybe an opt-in?
Something like having my private graph, with a line under that said "CBanga has made X commits to Y repositories over the past 365 days." would be a really neat and powerful way for me to link my GitLab in my portfolios/resume, and much better than GitHub, etc. I know this number is totally useless, easily manipulated, etc. But some people actually care about this (unfortunately), so a blank profile just looks bad, and I would never share it.