Loading
Add Vue 3 migration config for the dependency list
What does this MR do and why?
Adds the Vue 3 migration config for the project and group dependency list pages. This is a feature flag plus a vue3_migration.yml per entrypoint, following Option 1 of the Vue 3 migration guide.
It also fixes the Project token on the group page. Under Vue 3 it sent project names instead of IDs.
Checklist
- Add the feature flag file
- Add a
vue3_migration.ymlper entrypoint - Fix anything the specs or manual testing find
- Add the
pipeline:run-rspec-vue3label to the MR - Roll out the flag, then set the files to
status: migrated
References
- Closes Vue 3 migration: dependency list (#607915) • Samantha Ming • 19.6
- Parent epic: Vue 3 migration: Vulnerability Management and A... (gitlab-org#23064) • Lorenz van Herwaarden • 19.4
- Rollout issue: [FF] `vue3_migrate_dependency_list` (#631505) • Samantha Ming • 19.6
- Similar MRs: !255331 (merged) (security dashboard), !252094 (merged) (vulnerability report)
Screenshots or screen recordings
Summary
| Page | Flag disabled (Vue 2) | Flag enabled (Vue 3) |
|---|---|---|
| Group | 9/9 | 9/9 (after the Project token fix; 8/9 before) |
| Project | 10/10 | 10/10 |
Flag combinations
| # | Entrypoint | Page | Flag enabled (Vue 3) | Flag disabled (Vue 2) |
|---|---|---|---|---|
| 1 | groups/dependencies |
Group dependency list | ![]() |
![]() |
| 2 | projects/dependencies/index |
Project dependency list | ![]() |
![]() |
Group page
Project page
Console: no new errors under Vue 3.
Not covered
The Tracked ref token and the ref count column. Both need the project_dependency_tracked_ref feature flag, which is off.
How to set up and validate locally
- Enable the flag:
Feature.enable(:vue3_migrate_dependency_list) - Restart Vite:
gdk restart vite - Open the group and project dependency list pages.
- Check the console shows
[gitlab] [V] Using Vue.js 3 for DependenciesAppRoot. - On the group page, filter by a project and check the request sends a numeric
project_ids[]value.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Samantha Ming













































