Problem
The Query Builder's user interface was composed using a combination of Vue 2 custom components and WiKit elements, such as Dropdown. The WiKit design system is now on its deprecation path, as it has been superseded by Codex, the official Wikimedia design system. The utilization of WiKit components is not recommended, and they should be replaced in order to reduce maintenance costs and ensure consistency.
Solution
We have to replace WiKit's Dropdown component by the Codex equivalent: cdx-select (Link to demo). This will take us a step closer to switching to the new design system and deprecating the old.
Considerations
- Should the styles in L69 of ValueTypeDropDown.vue be removed now that the Codex component will be used? (Check comment in L70)
- Note: The "References" Select will need to be wrapped in the Field component in order for it to display a label.
Acceptance criteria
- The WiKit Dropdown component used in the Query Builder is replaced by its Codex equivalent