Refactor: Rename and Update Model Type Checking in User Action Dropdown
What does this MR do and why?
#387377 (closed)
FixesChanges Made
-
File Name Change:
- Renamed
leave_group_dropdown_item.vue
toleave_dropdown_item.vue
to maintain consistency with the file naming convention.
- Renamed
-
Model Type Checking Update:
- Updated the
showDropdown()
method inuser_action_dropdown.vue
(line 81) to check the model type. - Now, it uses “Leave Group” for group members and “Leave Project” for project members.
- Updated the
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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Arnav Goel