Skip to content
Snippets Groups Projects

Rename RuleDrawer to AccessLevelsDrawer

Merged Jacques Erasmus requested to merge 498702-br-squash-settings-rename-drawer into master
All threads resolved!

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 :point_left: 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 (closed)

Edited by Jacques Erasmus

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • E2E Test Result Summary

    allure-report-publisher generated test report!

    e2e-test-on-gdk: :white_check_mark: test report for a6f2fc23

    expand test summary
    +------------------------------------------------------------------+
    |                          suites summary                          |
    +-------------+--------+--------+---------+-------+-------+--------+
    |             | passed | failed | skipped | flaky | total | result |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Plan        | 82     | 0      | 8       | 0     | 90    | ✅     |
    | Create      | 135    | 0      | 20      | 0     | 155   | ✅     |
    | Govern      | 80     | 0      | 12      | 0     | 92    | ✅     |
    | Configure   | 0      | 0      | 3       | 0     | 3     | ➖     |
    | Verify      | 48     | 0      | 17      | 0     | 65    | ✅     |
    | Package     | 25     | 0      | 13      | 0     | 38    | ✅     |
    | Monitor     | 8      | 0      | 12      | 0     | 20    | ✅     |
    | Data Stores | 33     | 0      | 10      | 0     | 43    | ✅     |
    | Growth      | 0      | 0      | 2       | 0     | 2     | ➖     |
    | Release     | 5      | 0      | 1       | 0     | 6     | ✅     |
    | Manage      | 1      | 0      | 9       | 0     | 10    | ✅     |
    | Fulfillment | 2      | 0      | 7       | 0     | 9     | ✅     |
    | Analytics   | 2      | 0      | 0       | 0     | 2     | ✅     |
    | Secure      | 4      | 0      | 3       | 0     | 7     | ✅     |
    | Ai-powered  | 0      | 0      | 2       | 0     | 2     | ➖     |
    | ModelOps    | 0      | 0      | 1       | 0     | 1     | ➖     |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Total       | 425    | 0      | 120     | 0     | 545   | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+

    e2e-test-on-cng: :white_check_mark: test report for a6f2fc23

    expand test summary
    +------------------------------------------------------------------+
    |                          suites summary                          |
    +-------------+--------+--------+---------+-------+-------+--------+
    |             | passed | failed | skipped | flaky | total | result |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Govern      | 84     | 0      | 10      | 0     | 94    | ✅     |
    | Create      | 140    | 0      | 19      | 1     | 159   | ✅     |
    | Monitor     | 8      | 0      | 12      | 0     | 20    | ✅     |
    | Plan        | 86     | 0      | 8       | 0     | 94    | ✅     |
    | Data Stores | 33     | 0      | 10      | 0     | 43    | ✅     |
    | Verify      | 49     | 0      | 16      | 0     | 65    | ✅     |
    | Package     | 30     | 0      | 14      | 0     | 44    | ✅     |
    | ModelOps    | 0      | 0      | 1       | 0     | 1     | ➖     |
    | Manage      | 1      | 0      | 9       | 0     | 10    | ✅     |
    | Secure      | 2      | 0      | 5       | 0     | 7     | ✅     |
    | Fulfillment | 2      | 0      | 7       | 0     | 9     | ✅     |
    | Ai-powered  | 0      | 0      | 2       | 0     | 2     | ➖     |
    | Growth      | 0      | 0      | 2       | 0     | 2     | ➖     |
    | Release     | 5      | 0      | 1       | 0     | 6     | ✅     |
    | Analytics   | 2      | 0      | 0       | 0     | 2     | ✅     |
    | Configure   | 0      | 0      | 3       | 0     | 3     | ➖     |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Total       | 442    | 0      | 119     | 1     | 561   | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+
  • added 1 commit

    Compare with previous version

  • Paulina Sedlak-Jakubowska approved this merge request

    approved this merge request

  • resolved all threads

  • Paulina Sedlak-Jakubowska enabled automatic add to merge train when checks pass

    enabled automatic add to merge train when checks pass

  • mentioned in commit 2c01a78e

  • added workflowstaging label and removed workflowcanary label

  • Jacques Erasmus mentioned in merge request !176971 (merged)

    mentioned in merge request !176971 (merged)

  • Please register or sign in to reply
    Loading