Show role/user when protecting a branch
Description
When protecting a branch, we have this awesome way to select roles, users, and groups, but when the dropdown is collapsed, it just shows the counts rather than the actual roles, users, groups. This is especially bad when there's only one item selected and there's clearly enough room to show it. And to make it worse, when the two fields have different roles selected, you can't tell at a glance.
Proposal
Option 1:
- If there's only 1 item selected, show it. If there's more than one, then show counts.
Option 2:
- Show as many items that fit as tokenized items. The tokens would then be deleteble, or add more by typing or selecting from a dropdown.