Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
GitLab FOSS
GitLab FOSS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #14078

You need to sign in or sign up before continuing.
Closed
Open
Opened Mar 07, 2016 by Cameron Banga@cbanga🏊🏻Contributor

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

Problem description

Currently, it is not possible to see contributions to private projects in your public contribution calendar.

Design

  • Provide checkbox setting to enable this feature in: User Settings > Profile
  • By default, this option should be turned off

image

copy:

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

image

This would result in:

image

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/

image

This would look like:

image

With the dropdown looking like:

Bitmap

Original proposal/description

So I have my personal profile page here:

https://gitlab.com/u/cbanga

To the public user, my commit history looks like this:

Screen_Shot_2016-03-07_at_12.02.19_PM

But for me privately, it looks like this: Screen_Shot_2016-03-07_at_12.02.36_PM

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.

Edited Sep 20, 2018 by George Tsiolis
Assignee
Assign to
11.3
Milestone
11.3 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: gitlab-org/gitlab-foss#14078