Skip to content

Add avatar field when creating/editing an organization

What does this MR do and why?

Related to #422418 (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/

This MR adds an avatar field when creating/editing an organization.

Notes for reviewers

  • Organizations are still in early stage of development so there is still some mock data being used. If the data shown in the UI doesn't make sense it is most likely mock data.
  • There is a bugux with the slide animation on the settings page. I have #436419 (closed) open to fix this.

Screenshots or screen recordings

Screen_Recording_2023-12-12_at_10.34.11_PM

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
  4. Fill out the form and select an avatar
  5. Navigate to Settings -> General
  6. Change avatar and click Save changes

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