In community-driven open-source portals like GitLab, developers explore issues based on their technical skills—whether they write Go, Ruby, Vue/TypeScript, or Python. Providing clean, multi-select search facets allows contributors to filter hundreds of opportunities down to the exact technologies they care about.
In my recent contribution to GitLab's Contributors Platform ( MR !3198 ), I converted the LanguageFilter component and its test suite to strict TypeScript.
Here is a look at building type-safe multi-select filters in Vue 3, managing two-way array state, and ensuring robust test coverage.
1. Multi-Select State: Moving Beyond Primitive Models
Single-value inputs (like text boxes or radio buttons) usually bind to string or number .…