Skip to content

When changing project visibility setting, change other dropdowns automatically

Resources

FE @mikegreiling

Problem

The project visibility setting is confusing because it is not obvious that other the other settings (repository, merge requests, etc.) are independent.

Existing defaults

Private Internal Public
Screenshot_2017-01-24_14.19.16 Screenshot_2017-01-24_14.19.38 Screenshot_2017-01-24_14.19.54

Solution

When you make a selection in the project visibility setting, the other associated dropdowns are changed automatically to their defaults. And then they are highlighted. This just happens in the browser. Nothing is persisted to the system until you hit save. E.g.

Step 1 Step 2 Step 3
I created a private project Screenshot_2017-01-24_14.19.16 Later on, I decide to switch it to a public project. When I switch it, all the appropriate permissions adjust, highlighting the ones that changed. Screenshot_2017-01-24_14.28.29 Next time I return to the page, I just see the typical public settings. However, I am always in control and can change them. Screenshot_2017-01-24_14.19.54