Page MenuHomePhabricator

[WtC-M2] [QB] Migrate to Pinia
Open, Needs TriagePublic13 Estimated Story Points


Blocked by T359828


In order to migrate the Query Builder's code base away from Vue 2 to Vue 3 and avoid the consequences of Vue 2's EOL, we will have to migrate various peer dependencies such as Vuex (@4.0).


As part of the preparation work to migrate the Query Builder's front-end from Vue to Vue Compat layer, we'll replace Vuex by Pinia. The latter store library brings certain advantages, such as a simpler API or better Typescript support.

Acceptance criteria
  • We migrate from Vuex to Pinia
  • Here's the Vuex to Pinia migration guide for reference
  • Considerations for the migration:
  • Typescript incompatibilities are fixed
  • Relevant code points are updated

Event Timeline

Arian_Bozorg renamed this task from [SW] [WtC-M1] [QB] Migrate to Pinia to [WtC-M2] [QB] Migrate to Pinia.Mar 18 2024, 11:04 AM
Arian_Bozorg updated the task description. (Show Details)

Change #1019736 had a related patch set uploaded (by Guergana Tzatchkova; author: Guergana Tzatchkova):

[wikidata/query-builder@master] Migrate to Pinia

Change #1019736 merged by jenkins-bot:

[wikidata/query-builder@master] Migrate to Pinia

Change #1036200 had a related patch set uploaded (by Hasan Akgün (WMDE); author: Hasan Akgün (WMDE)):

[wikidata/query-builder@master] Remove unnecessary comments and code