* Stub in basic example Tooltip compound component
* Add new Wildcard Tooltip using Radix, basic Storybook story
* Simplify Tooltip API, add Wildcard styles
* Updates from PR feedback
* Finalize Tooltip tests, ESLint rule
* Additional PR feedback, support conditional tooltips
* Fix existing Tooltip imports
* Remove old ESLint rule disabling import of Tooltip component from Wildcard
* Update which Tooltip component is used in main JetBrains app file
This PR fixes a lot if bugs that we had with our preview component. Specifically we:
- Change the content encoding in our JS -> Java bridge to be a base64 representation to avoid issues in the JSON parsing libraries (it would through before we could even do any workarounds in user space).
- Use a proper base64 encoding library on the JS side that handles all Unicode characters (`btoa()` would error on some files with `[Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.](https://stackoverflow.com/questions/23223718/failed-to-execute-btoa-on-window-the-string-to-be-encoded-contains-characte)`).
- Make the `content` field optional in the JS -> Java bridge to support files with no preview out of the box (We use this for when previewing binary files but also for types that do not have a preview). **Note: We need to change the Java side rendering to use a label instead of the editor component when content is null.**
- We fix `getCharacterCountUntilLine` to ignore `\r\n` the same way that our content preparation is doing so that index match again.
- We query `highlight` in the Blob query to get a server-side error when the file we download is a binary file. We can use this to:
- Avoid downloading the file when it's a binary
- Know when we do not want to render a preview
- Add all support match types to `getFirstResultId()` to properly select the right match to preview automatically (previously this would either be the first content match if one content match was in the search result list or _nothing_).
* Update TS version to 4.7.2
* Update gql types and revert handling error type problems
* Update ts-loader
* Use T|null instead of Partial<T>| undefined for the GQL response data
* Add diff for a TypeScript file to trigger CI job
* Rename job
* Delete unnecessary TypeScript file after validating CI job
* Remove unused "LSIF Typed" code
This code got moved to a separate repo github.com/sourcegraph/scip.
CodeMirror has been updated to v0.20, which introduces a new package structure (and other changes) as outlined here: https://discuss.codemirror.net/t/release-0-20-0/4302
This PR also introduces proper undo/redo to the search query input by adding the corresponding extension and keymaps.
* Create InsightCard component (abstraction for building insight card for the dashboard page)
* Migrate BuiltIn (runtime insight) card component
* Improve type safety over data fetching state
* Revamp backend insight api methods
* Move locked chart view to insight folder
* Update some of @visx packages
* [site-admin] Add feature flag override management to site admin
* Fix graphql operation naming for gulp generate
* Fix linting problem in SCSS
* Add error handling for updating and deleting overrides
* Fix yarn build-ts errors
* Fix ESLint errors
* Change add override modal based on PR feedback
* Change label based on override type
This commit introduces CodeMirror for the search query input, which is gated behind the new `editor` experimental feature flag. `LazyMonacoQueryInput` uses that value to determine which editor to load. If set to `codemirror6`, CodeMirror will be used for the search query input. For more information about this change, please see the PR description: https://github.com/sourcegraph/sourcegraph/pull/32446 .
* Index tabs and tab panels for the panel blob component
* Revert "Revert "Webapp: Update @reach-ui and react-focus packages versions (#30845)" (#31132)"
This reverts commit 4a84d83503.
* Move StatoscopePlugin to the build-config package