Skip to content

Swap organizationUpdate mock mutation for real one

What does this MR do and why?

Related to #429416 (closed) and #431937 (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/architecture/blueprints/organization/

In Organization settings page (#419075 - closed) and Ability to change the Organization URL path (#419076 - closed) we built the organization general settings page but used a mock GraphQL mutation because the real one wasn't available yet. Now that GraphQL mutation for updating organization (#419608 - closed) has been closed we have access to the real mutation. This MR swaps the mock mutation for the real one.

Screenshots or screen recordings

Changing name

Screen_Recording_2023-12-11_at_1.22.29_PM

Changing URL

Screen_Recording_2023-12-11_at_10.21.51_AM

URL has already been taken

Screen_Recording_2023-12-11_at_10.25.45_AM

How to set up and validate locally

  1. Open the rails console
    • bin/rails console
  2. Enable the :ui_for_organizations feature flag
    • Feature.enable(:ui_for_organizations)
  3. Navigate to /-/organizations/new and create an organization
  4. Navigate to Settings -> General and change the name and URL

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