mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
Closes srch-838 This commit extends the search progress popover and adds the search jobs section. In the React version the UI for the popover differs slightly when search jobs are enabled vs not enabled. I decided to ignore the differences and only impolemented the style used for the 'search jobs enabled' version, which makes the popover a bit more compact. The logic for validating and creating a search job is encapsulated in a class which makes it easy to conditionally show the search jobs UI. Additional changes: - Skipped items is now a list and uses `<details>` elements which is semantically more correct. We loose the styling of the chevron but I think that's OK. - LoadingSpinner was updated to work inline. - Logging was fixed (?) in the React version to send the correct meta-data. - Added integration tests for the search job popover behavior ## Test plan Integration tests and manual testing. |
||
|---|---|---|
| .. | ||
| src | ||
| .bazelignore | ||
| .stylelintrc.json | ||
| BUILD.bazel | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vitest.config.ts | ||
Branded
This folder contains client code that is branded, i.e. it implements the visual design language we use across our web app and e.g. in the options menu of the browser extension. Code here can use global classes and must not adapt styles of the code host (for more details, see Styling UI in the handbook).
Any code that is code host agnostic should go into ../shared instead.