Skip to content

Revert "Respect smartSearchField feature flag on TreePage (#8888)"

Warren Gifford requested to merge lg/revert-smart-search-field-tree-page into master

Created by: lguychard

This reverts commit cf5c5f67e5a8568397f8e10f776b9c3bb2a4084b.

Fixes #8922 (closed)

The way providers are registered (https://sourcegraph.com/github.com/sourcegraph/sourcegraph@5e592f2a70992a3226662df63fc573f7ffc60c24/-/blob/web/src/search/input/MonacoQueryInput.tsx#L47-134) needs to be changed if we have more than one search field on the page, otherwise duplicate providers are registered, leading to undefined behaviours (exceptions when getting completions, incorrect tokens returned. duh).

Reverting the problematic commit while working on the right fix.

Merge request reports

Loading