Loading
Draft: Convert Authentication bootstraps to initVueApp
Stacked on !247299 (merged) (the boring initVueApp wave) — retarget to master when it merges.
The wave defers all files touching the [Authentication] CODEOWNERS section (owner @gitlab-org/software-supply-chain-security/authentication/approvers) into this dedicated MR, so that required approval doesn't gate the rest of the mechanical conversion.
Same single mechanical codemod shape as the wave: new Vue({ el, render }) → initVueApp({ el, component, props, events }). No behavior change on Vue 2 (production).
Files converted:
app/assets/javascripts/access_tokens/index.jsapp/assets/javascripts/authentication/mount_2fa.jsapp/assets/javascripts/authentication/password/index.jsapp/assets/javascripts/authentication/sessions/index.jsapp/assets/javascripts/authentication/sign_in/index.jsapp/assets/javascripts/authentication/two_factor_auth/index.jsapp/assets/javascripts/authentication/webauthn/index.jsapp/assets/javascripts/authentication/webauthn/registration.jsapp/assets/javascripts/oauth_application/index.jsee/app/assets/javascripts/ldap/index.jsee/app/assets/javascripts/password/password_validator.js
Verification
- No spec files needed changes (none of these bootstraps had dedicated spec coverage in the wave).
- Diff against the target branch is limited to exactly these 11 files.
Edited by Illya Klymov