Skip to content

Migrate provider_details_form submit button to pajamas component

Taras Tadai requested to merge 439445-migrate-provider-details-button into master

What does this MR do and why?

Migrate submit button in app/views/clusters/clusters/_provider_details_form.html.haml to pajamas component. It's a part of Pajamas adoption project

Changed according to migration guide available in next epic: &8153

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
provider_details_form_old provider_details_form_new

How to set up and validate locally

  1. Allow to use clusters UI, I just remove(comment) render_404 unless clusterable.certificate_based_clusters_enabled? in app/controllers/clusters/clusters_controller.rb to skip check.
  2. Go to some group clusters: http://127.0.0.1:3000/groups/gitlab-org/-/clusters (Docs: https://docs.gitlab.com/ee/user/group/clusters/index.html )
  3. Create new cluster Connect a cluster (deprecated) with any values
  4. Once you save this new cluster (click on Add Kubernetes cluster) you will be redirected to edit cluster page.
  5. Check the Save button on edit cluster page.

Also covered by spec/features/groups/clusters/user_spec.rb

Related to #439445 (closed)

Edited by Taras Tadai

Merge request reports