Skip to content

Rename RuleDrawer to AccessLevelsDrawer

Jacques Erasmus requested to merge 498702-br-squash-settings-rename-drawer into master

What does this MR do and why?

This is part of a bigger effort to Create a form to edit squash settings in branch rule.

Context: currently, the drawer that is being used in this view is generically named RuleDrawer. Now that we'll introduce another drawer to this view, this MR renames to existing drawer to something less generic (i.e. AccessLevelsDrawer). Eventually we'll end up with two drawer components for this view - AccessLevelsDrawer and SquashSettingsDrawer.

Implementation breakdown

description MR
Rename RuleDrawer to AccessLevelsDrawer 👈 this MR
Create a SquashSettingsDrawer component follow-up MR
Edit squash settings backend/frontend integration follow-up MR

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

No visual changes are expected, editing Branch Rule details should work exactly as it did before.

How to set up and validate locally

  1. Navigate to Project > Settings > Repository > Branch rules
  2. Select or create a branch rule
  3. On the Branch rule details page, editing Allowed to merge and Allowed to push and merge should work just as it did before

Related to #498702

Edited by Jacques Erasmus

Merge request reports

Loading