Page MenuHomePhabricator

[WtC-M2] [QB] Migrate Vue 2 to Vue 3
Closed, ResolvedPublic8 Estimated Story Points

Description

Problem

The Query Builder tool is currently built using Vue 2. This makes it vulnerable to the consequences of Vue 2's end of life, and prevents us from replacing the WiKit components, used to compose its UI, with Codex components. This step is key to deprecate the former, legacy design system. Use the PoC of the Query Builder Wikit to Codex migration for reference.

Solution

In order to ease the Query Builder's code base away from Vue 2 and into Vue 3, and avoid the consequences of Vue 2's EOL, we'll use the Vue 3 migration build. This process requires updating various peer dependencies, such as Vue Banana.

Acceptance criteria
  • Vue is updated to version 3 with @vue/compat enabled
  • All peer dependencies install without a problem
  • Build settings (vite.config.js) are updated
  • Blocking typescript incompatibilities are fixed
Notes

Event Timeline

Sarai-WMDE renamed this task from [SW] [WtC-M1] [QB] Migrate Vue 2 to Vue 3 to [WtC-M1] [QB] Migrate Vue 2 to Vue 3.Mar 18 2024, 10:59 AM
Arian_Bozorg renamed this task from [WtC-M1] [QB] Migrate Vue 2 to Vue 3 to [WtC-M2] [QB] Migrate Vue 2 to Vue 3.Mar 18 2024, 10:59 AM
Arian_Bozorg claimed this task.