Skip to content

Migrate providers buttons to pajama component

Taras Tadai requested to merge 416022-migrate-provider-buttons into master

What does this MR do and why?

Migrate buttons in app/views/profiles/accounts/_providers.html.haml to pajamas component.

It's a part of Pajamas adoption project

  • Migrated buttons to pajamas component
  • Moved label one lvl down so that buttons are not inside of that label tag otherwise it highlight all buttons inside of this label on mouse over

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
providers_old providers_new

How to set up and validate locally

  1. Goto current User settings -> Account
  2. Verify providers buttons. Stub conditions here to see all related buttons https://gitlab.com/gitlab-org/gitlab/-/blob/ef02b3ada7e941eddf865085ccbb7d762daf6a6b/app/views/profiles/accounts/_providers.html.haml#L10

Also covered by spec/features/profiles/account_spec.rb

Related to #416022 (closed)

Edited by Taras Tadai

Merge request reports