Skip to content

Replace multi.js #19302

@KarenKonou

Description

@KarenKonou

Describe the problem

multi.js is one of the last remaining jQuery based dependencies. Additionally, it has been unmaintained since 2020. Replacing it with a suitable alternative is therefore important both for security and maintainability reasons, and is also a required step in gradually moving away from jQuery.

However, I wasn't able to find a replacement library that would support the current multi-pane UI. Therefore, we will either have to reimplement the current UX ourselves, or the UX will have to be changed.

Solution brainstorm

One replacement options could be tom-select with the checkbox options plugin, enabling a searchable tag style UX. This could also be used for other things, such as license select or flags.

Describe alternatives you have considered

The alternative solution could be a lightweight in-house implementation of the current UX, similarly as we did for the date picker. Since we only need to implement the features that we need for Weblate, it might be relatively code-light.

Screenshots

No response

Additional context

Sub issue of #16042
Feedback and ideas welcome!

Metadata

Metadata

Assignees

Labels

Waiting for: ImplementationAdded to a milestone, will be resolved according to the milestone timeline.

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions