Make the approval rule “Name” field optional

From gitlab-design#441 (closed).

The approval rule “Name” field can be confusing: what is one supposed to fill in? What if I only have one rule, should I just write “Approvers”? It can also lead to a form error if it's not filled in.

image

Proposal

Can we make the approval rule “Name” field optional? For example, if I select only 1 group/person, use that as the name.

Or, you could go with adding the first one as is and appending a suffix like + X more. For example, John Smith + 1 more, UX Team + 4 more, etc. It will scale this way and the only convention is that the first one added will play the role of context indicator. There is a slightly similar behavior in selecting labels in the right sidebar.

Edited by Pedro Moreira da Silva