Page MenuHomePhabricator

Search for tools when building list works differently than type ahead search for tools generally
Closed, ResolvedPublicBUG REPORT

Description

First reported by @Anthere

The backend search api used is the same for bot, but it seems that when used from the multi-select widget for adding tools to a list whitespace splitting is done differently.

An easy way to see the difference is by searching for "xtools edit" in both widgets:

Event Timeline

bd808 added a subscriber: Anthere.
Slst2020 triaged this task as High priority.

Change 803565 had a related patch set uploaded (by Raymond Ndibe; author: Raymond Ndibe):

[wikimedia/toolhub@main] ui: Add no-filter to v-combobox components

https://gerrit.wikimedia.org/r/803565

This was interesting to track down. It turns out this wasn't from the backend at all. I thought the v-combobox default filter algorithm has no effect on what is displayed. Not only does it has effect, it seems to behave differently for when the v-combobox component has a "multiple" props vs when it doesn't have the "multiple" props. Once figured out, the solution was to use the "no-filter" props. We don't need the filter since all filtering are already being done on the backend.

Change 803565 merged by jenkins-bot:

[wikimedia/toolhub@main] ui: Add no-filter to v-combobox components

https://gerrit.wikimedia.org/r/803565

Change 810079 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[operations/deployment-charts@master] toolhub: Bump container version to 2022-06-30-170012-production

https://gerrit.wikimedia.org/r/810079

Change 810079 merged by jenkins-bot:

[operations/deployment-charts@master] toolhub: Bump container version to 2022-06-30-170012-production

https://gerrit.wikimedia.org/r/810079