Skip to content

Remove unneeded select2 subscription in project namespace selector

What does this MR do and why?

Import projects -> Namespace selector was migrated to Vue

This MR removes select2 subscription, while keeping rest of the logic - update-visibility event is now emitted on Vue side:

https://gitlab.com/gitlab-org/gitlab/-/blob/739a145d1f8f4791d846e27aa0d5c06015b906af/app/assets/javascripts/projects/new/components/new_project_url_select.vue#L115

Screenshots or screen recordings

Screencast_from_2023-01-11_07-54-41

How to set up and validate locally

  1. Open new project creation
  2. Switch namespace selector to private group
  3. Observe options being disabled

MR acceptance checklist

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

Related to #373852 (closed)

Edited by Illya Klymov

Merge request reports

Loading