Loading
Migrate Organizations app entrypoints to Vue 3
What does this MR do?
Rolls out Vue 3 (via @vue/compat, Option 1 of the Vue 3 migration guide) for the Organizations app page entrypoints, the organization groups and projects pages, and the admin Organizations index and settings pages. This is a rollout mechanism only — no Vue components were rewritten. Each entrypoint gets a vue3_migration.yml so the bundler builds both a Vue 2 and a Vue 3 chunk; Rails serves the Vue 3 chunk only when the feature flag is enabled.
Migrated entrypoints
app/assets/javascripts/pages/organizations/organizations/indexapp/assets/javascripts/pages/organizations/organizations/newapp/assets/javascripts/pages/organizations/organizations/showapp/assets/javascripts/pages/organizations/organizations/activityapp/assets/javascripts/pages/organizations/organizations/groups_and_projectsapp/assets/javascripts/pages/organizations/organizations/usersapp/assets/javascripts/pages/organizations/groups/newapp/assets/javascripts/pages/organizations/groups/editapp/assets/javascripts/pages/organizations/projects/editapp/assets/javascripts/pages/admin/organizations/settings/generalee/app/assets/javascripts/pages/admin/organizations/index(EE-only)
Feature flag
Gated behind vue3_migrate_organizations (type: beta, default_enabled: false). Vue 2 remains the default until the flag is enabled.
Verification
node scripts/frontend/codemods/vue3_init_vue_app.mjs --list <entrypoints>reports No residual sites — every entrypoint delegates to aninit*function rather than a rawnew Vue({ el, render })root mount, so noinitVueAppconversion is needed.- The flag YAML parses and all 11
vue3_migration.ymlfiles passconfig/vue3migration/migration_schema.jsandspec/lib/gitlab/vue3_migration_files_spec.rb.
No genuine logic regressions were found independent of the compat flags.
Closes #608124 (closed)
Edited by Shane Maglangit