Skip to content

Refactor: Rename and Update Model Type Checking in User Action Dropdown

Arnav Goel requested to merge arnvgl/gitlab:arnvgl-master-patch-ced6 into master

What does this MR do and why?

Fixes #387377 (closed)

Changes Made

  1. File Name Change:
    • Renamed leave_group_dropdown_item.vue to leave_dropdown_item.vue to maintain consistency with the file naming convention.
  2. Model Type Checking Update:
    • Updated the showDropdown() method in user_action_dropdown.vue (line 81) to check the model type.
    • Now, it uses “Leave Group” for group members and “Leave Project” for project members.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Arnav Goel

Merge request reports