Usability improvement bug/request -> settings/repository page

Summary

There is a usability challenge when you work with the repository settings page (protected branches in particular), where the page refreshes and the expanded area collapses on button click.

This makes it a awkward when trying to make multiple branch protection setting at a time.

This isn't a big deal when working with a single project, but for one of my teams there are 60+ projects where branch protection needs to be reviewed/altered and the additional clicking is tedious.

Steps to reproduce

  • Go to this page settings > repository
  • Expand the protected branches > click "expand"
  • Add a protection setting for a branch and click "protect"

What is the current bug behavior?

On click of protect (or unprotect) the page will reload and end up looking like the attached image, instead of staying expanded so you can perform additional actions

What is the expected correct behavior?

Stay expanded

Relevant logs and/or screenshots

image

Results of GitLab environment info

GitLab Enterprise Edition 9.3.8-ee 791cb43b

Assignee Loading
Time tracking Loading