Something went wrong while fetching comments. Please try again.
Created by: limitedmage
Fixes #17320
FormTriggerArea
now uses MonacoQueryInput
for the search query.
isLIghtTheme
and isSourcegraphDotCom
had to be added as props because they are required by MonacoQueryInput
. This added a bunch of prop drilling of these props through the code monitoring codebase.window.matchMedia
in hover.test.ts
was moved to a place where it would always be executed by adding it to the Jes config. Monaco requires matchMedia
but the version of Jest/JSDom we are using does not provide it.setTimeout
because it was not working with the hiding/reappearing MonacoQueryInput
in the FromTriggerArea
.FormTriggerArea
snapshot test was removed since the existing unit tests and storybook tests already provide that coverage from functional and visual standpoints.