Skip to content

Add actions to organization groups list

Peter Hegman requested to merge 421473-organization-group-list-add-actions into master

What does this MR do and why?

Related to #421473 (closed)

The grouptenant scale team is starting to build out an Organization MVC. For more information about what an "Organization" will be see https://docs.gitlab.com/ee/user/organization/

This MR continues to build the Groups and projects page by adding edit and delete actions to the groups view. Note that the Delete action doesn't actually delete the group yet. That will come in a follow-up MR when the API is ready.

What is implemented in this MR

  • Add actions dropdown with edit and delete actions
  • Show confirmation modal when clicking delete action

What will be implemented in future MRs

Screenshots or screen recordings

Desktop

Screenshot_2023-08-11_at_9.51.02_AM Screenshot_2023-08-30_at_7.53.48_AM

Mobile

Screenshot_2023-08-11_at_9.52.55_AM Screenshot_2023-08-11_at_9.53.12_AM

How to set up and validate locally

  1. Open Rails console
    • bin/rails console
  2. Enable the feature flag
    • Feature.enable(:ui_for_organizations)
  3. Navigate to /-/organizations/default/groups_and_projects

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 Peter Hegman

Merge request reports

Loading