Skip to content

Create new section in merge request approval policy editor for non-standard modifications

Proposal

The policy editor for the Merge Request Approval policy contains a lot of options that may be overwhelming to the average user (e.g. bot comment action, settings, fallback). To make the policy more approachable, these sections could be hidden in an Advanced section.

Inside the new section would go the settings and fallback behavior. The bot comment action would also go inside under a new section called Additional actions

The new section would load as collapsed, but could be loaded as expanded if the yaml contains any differences from the default yaml for the contained sections (e.g. if a user has changed a setting from its default value, changed the fallback behavior, removed the bot comment action)

Current Proposed
image image

Design

Design

Implementation

Edited by Alexander Turinske