Commit Graph

676 Commits

Author SHA1 Message Date
Quinn Slack
1fe876e89c
finish removing chromatic (#63966)
We removed Chromatic in
https://github.com/sourcegraph/sourcegraph/pull/62228, but there were
still some remnants.

## Test plan

CI
2024-07-21 18:37:02 -07:00
Quinn Slack
238831741e
use the viewerSettings GraphQL API instead of the 5y+-deprecated viewerConfiguration API (#63949)
This API is deprecated (see
https://github.com/sourcegraph/sourcegraph/pull/63935). The browser
extension is still using it, and we need this PR to remove its usage,
and then we need to publish it. Then we can pick up
https://github.com/sourcegraph/sourcegraph/pull/63935 again.

## Test plan

Confirm that the browser extension uses the new GraphQL query (in the
background page network devtools tab).
2024-07-19 11:42:25 +00:00
Dan Adler
4c824b4aa8
Add v2 telemetry infrastructure to browser extensions and native inte… (#63458)
…grations

This PR adds v2t telemetry infrastructure to the Sourcegraph browser
extensions and native integrations code base.

## Test plan

- Tested locally using instructions at
https://github.com/sourcegraph/sourcegraph/tree/main/client/browser
- CI

## Changelog

---------

Co-authored-by: Dan Adler <5589410+dadlerj@users.noreply.github.com>
2024-07-03 16:47:37 -07:00
Quinn Slack
dc478c82dd
chore(ci): remove Percy visual tests (#63515)
These are more frequently erroneous than helpful.

See
https://sourcegraph.slack.com/archives/C04MYFW01NV/p1719209633005499.

This eliminates a source of frustration and flakiness in pull requests
and removes a lot of code and Bazel complexity.

If we want to revive them, we can revert this commit. Note that
`client/web-sveltekit` does not use Percy, and if we want it to, we can
always revert this commit or start over from scratch if that's easier.


<!-- PR description tips:
https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e
-->

## Test plan

CI

Co-authored-by: Jean-Hadrien Chabran <jean-hadrien.chabran@sourcegraph.com>
2024-06-27 16:20:06 +02:00
Matthew Manela
92b8ffb8e1
fix(Source): Fix documentation URLs for code hosts help pages (#63274)
It seems many of our doc links for code hosts are broken in production
due to a url changed from external_services to code_hosts. I did a find
an replace to update all the ones I could find.
2024-06-17 14:32:46 -04:00
James McNamara
4077b3ec22
feat(ci): Adds playwright tests for sveltekit to bazel (#62560)
This runs playwright tests with bazel. This changes how the
app is served in the tests, specifically playwright will intercept all
network calls to the local server and serve the static assets directly
or serve root index.html file if nothing is matched.

---------

Co-authored-by: bahrmichael <michael.bahr@sourcegraph.com>
Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr>
Co-authored-by: Michael Bahr <1830132+bahrmichael@users.noreply.github.com>
Co-authored-by: Jean-Hadrien Chabran <jean-hadrien.chabran@sourcegraph.com>
Co-authored-by: Camden Cheek <camden@ccheek.com>
2024-06-06 12:45:05 -06:00
Dan Adler
8275054987
v2t: add v2 telemetry to the client/shared folder (#62586) 2024-06-03 16:34:28 -07:00
Greg Magolan
bbae7a4954
build(bazel): bump to rules_esbuild 0.16.0 (#63005)
* build(bazel): pin bazel fetched esbuild version to 0.19.2

* build(bazel): bump to rules_esbuild 0.16.0

* Update WORKSPACE

Co-authored-by: Noah S-C <noah@sourcegraph.com>

---------

Co-authored-by: Noah S-C <noah@sourcegraph.com>
2024-05-31 11:20:23 -07:00
Michael Bahr
e85028b8bd
fix: update links for dev docs (#62758)
* fix: license checker info is in docs-legacy

* fix: update remaining dev links
2024-05-17 13:47:34 +02:00
Noah S-C
9b6ba7741e
bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
Felix Kling
db3e905242
Migrate deprecated rxjs functions/methods (#61222)
As a follow up to https://github.com/sourcegraph/sourcegraph/pull/61122 this commit updates the deprecated methods with the suggested replacements.

**Note**

This only migrates functions/methods that are replaced with something else, or whose deprecated call signature can easily be identified (e.g. `throwError(error)` -> `throwError(() => error)`). It's possible that there are more functions which deprecate a specific signature that we are using. I'll migrate those as I encounter them.

**Notes about `.toPromise`**

The instances of `.toPromise` converted here are all instances where the updated return value of `Promise<X|undefined>` did not produce a TS error (the ones with errors have been converted in #61122). However that doesn't mean that they can simply be replaced with `firstValueFrom`, `lastValueFrom` (these two methods throw errors when the source observable hasn't emitted a value before closing).
I update the callsites under two assumptions:
- Callsites that involve GraphQL requests will always emit a value and thus can be converted to using `lastValueFrom`/`firstValueFrom`.
- For other callsites we cannot make the assumption that the source observable emits before closing and thus they need a default value.
2024-04-08 11:23:34 +02:00
Felix Kling
b985fabf4a
Refactor URL helpers (#61290)
* Refactor URL helpers

We currently have quite a few URL helpers for which is not obvious how
they are supposed to be used. Additionally we often "prettify" certain
parts of URL when generating one but that's easy to forget.

This commit attempts to improve this situation in various ways:

- Reduce the number of helper functions. Instead provide a
  `SourcegraphURL` class that should be used for parsing, manipulating
  and converting a URL to a string.
- Rename helper functions that operate on `git:` URLs to make their
  purpose clearer.
- Reduce the scope/visibility of certain helpers.

* Fix lint

* Fix lint issues

* Fix lint issues

* Fix lint issues

* Cleanup

* Fix lint issues

* More cleanup

* Fix lint issues

* Remove stray character
2024-04-01 16:05:16 +02:00
Felix Kling
f37146057a
web: Fix codeintel hovercards not working on first load (#61286)
Codeintel hovercards are not appearing when the file page initially
loads. The codeintel CodeMirror extension is never created because
`getOrCreateCodeIntelAPI` never resolves.
That's because the `platform.settings` observable never completes, which
is necessary for `lastValueFrom` to work.

The simple fix would be to use `firstValueFrom`, but upon closer
inspection, `getOrCreateCodeIntelAPI` is only used by the codemirror
blob. I refactored it to avoid having to rely on platform context, which lets
us remove platform context from a bunch of places.
2024-03-20 19:30:55 +01:00
Felix Kling
c529631483
web: Update rxjs to v7 (#61122)
A side goal for the web rewrite is to leave the existing code base in a better state than before. I recently [added a hacky workaround](da5ddc99b6/client/web-sveltekit/vite.config.ts (L82-L101)) to make the Svelte version work properly with different rxjs versions. But the whole point of the rewrite is to not have to do these things anymore. So this is my attempt of upgrading rsjx in the main repo to v7.

I worked through the list of breaking changes in the [rxjs documentation](https://rxjs.dev/deprecations/breaking-changes) and fixed TypeScript issues to the best of my abilities.

Most notable changes:

- The custom `combineLatestOrDefault` operator was rewritten to avoid using rxjs internals, and the `.lift` method (side note: the corresponding tests do not cover all expected behavior, but issues had been caught through other tests)
- Where necessary `.toPromise()` was replaced with `lastValueFrom` or `firstValueFrom`. My assumption was that since we don't get runtime errors for the existing code, it's save to assume that the corresponding observables emit at least one value, i.e. `.toPromise()` did not return `undefined`. Only in some places I added a default value where it was easy to deduce what it should be.
- The generic type in `of()` was removed
- The generic type in `concat()` was removed
- `Subject.next` seemed to have allowed `undefined` to be passed even if the subject's types didn't allow that. If the subject's type couldn't be extended to include `undefined` I changed the code to not pass `undefined`.
- The generic type signature of `defaultIfEmpty` changed.
- Where possible I replaced `Subscribable` with `ObservableInput`, but we also have a copy of the old `Subscribable` interface in the `sourcegraph` package, and that makes things more complicated.
- I simplified unnecessary Promise/Observable interop where necessary.

A lot of the complex rxjs logic and usage of changed interfaces, such as `Subscribable`, is in extensions related code, which is not used in the web app anymore, but is still at least imported in the browser extensions code. Most of it is probably not used anymore, which makes the migration somewhat simpler.
2024-03-18 14:02:57 +01:00
Camden Cheek
1ead945267
Docs: update links to point to new site (#60381)
We have a number of docs links in the product that point to the old doc site. 

Method:
- Search the repo for `docs.sourcegraph.com`
- Exclude the `doc/` dir, all test fixtures, and `CHANGELOG.md`
- For each, replace `docs.sourcegraph.com` with `sourcegraph.com/docs`
- Navigate to the resulting URL ensuring it's not a dead link, updating the URL if necessary

Many of the URLs updated are just comments, but since I'm doing a manual audit of each URL anyways, I felt it was worth it to update these while I was at it.
2024-02-13 00:23:47 +00:00
Noah S-C
ec40e72e63
bazel: fetch code-intel-extensions bundle as bazel repository (#59708)
Reimplement fetching & building code-intel-extension bundle as a bazel `http_archive` repository & refactored `js_run_binary`. This should allow the extensions bundle to be cached in the repository cache, instead of being affected by changing action environments

## Test plan

`bazel build //client/browser:code-intel-extensions` and `cd client/browser && pnpm run create-source-zip` run without error
2024-01-25 04:50:54 -08:00
James McNamara
dab9f31e97
Added ts_projects for storybook files in client/* (#59400)
* added ts_projects for storybook files in client/*

* re-ran configure

* moved custom_js group up to top level
2024-01-09 10:37:53 -08:00
Vova Kulikov
1485b06473
Search Results: Add new filters panel (#59178)
* Add first raw implementation

* Add caching and multifunction for non-exclusive filters

* Add comment and refactor the dynamic search UI

* Fix useCachedSearchResults call

* Add icons to dynamic filter items

* Add filtering to dynamic filter section

* Fix typo

* Add Symbol filters section

* Add commit date filtes

* Fix ordering problem for static filter sections

* Add icons to symbol filters

* Add utility filters section

* Add footer link to doc

* Add author filters section

* Add avatars to author filter section

* Fix avatar styles

* Put new search filters UI behind feature flag

* Update bazel builds

* Fix eslint problems

* Fix titles and search content layout

* Fix streaming search results units

* Fix language icon after rebasing main

* Fix ts problems

* Remove left over comment from lang icon

* Extract dynamic filter item into separate component

* Fixes by PR review comments

* bazel configure

* Fix import

* Adjust language icon UI to the new icon system

* Update bazel build files

* Fix lint problems

* Update outdated snapshots tests

* Fix feature flag for filter button

* Fix repository integration tests mock

* Fix graphql type problem

* Update snapshots after main rebase
2024-01-03 15:39:14 -03:00
Greg Magolan
fd50106a34
chore: upgrade to Aspect CLI 5.8.19 (#59203)
Co-authored-by: Jason Bedard <jason@aspect.dev>
2024-01-02 15:13:24 +01:00
Vova Kulikov
9b829847b9
Gitlab Native integration: Fix code element target selector (#58931)
* Fix code element target selector

* Support div and span like lines
2023-12-12 15:34:01 -03:00
Vova Kulikov
1d17611649
Use document element for class theme in code hosts integrations (#58809) 2023-12-07 11:16:14 -03:00
Bolaji Olajide
568e5b2c1c
Update marketing website link in monorepo (#58449)
Co-authored-by: Alex Isken <alex.isken@sourcegraph.com>
Co-authored-by: Joe Chen <joe@sourcegraph.com>
2023-12-01 22:22:34 +00:00
Noah S-C
d6147e670b
bazel: fix vitest_test in Bazel in sandbox mode (#58274)
Co-authored-by: Jean-Hadrien Chabran <jean-hadrien.chabran@sourcegraph.com>
2023-11-15 10:14:41 +01:00
Quinn Slack
4002774429
reapply "switch from jest to vitest for faster, simpler tests (#57886)" (#58145)
* reapply "switch from jest to vitest for faster, simpler tests (https://github.com/sourcegraph/sourcegraph/pull/57886)"

This was reverted in https://github.com/sourcegraph/sourcegraph/pull/58116 due to an issue with the browser tests.

* include fetch-mock

* fix flakiness

* rm mock that did not work in experimentalVmThreads

* fix

* timeout

* fixup

---------

Co-authored-by: William Bezuidenhout <william.bezuidenhout@sourcegraph.com>
2023-11-07 12:00:18 +02:00
William Bezuidenhout
7f4bebe29d
Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116)
When running vitests concurrently the target //client/browser:test fails

Revert "switch from jest to vitest for faster, simpler tests (#57886)"

This reverts commit ae5325e432.
2023-11-06 14:02:35 +02:00
William Bezuidenhout
d87e86aee6
codehost tests: improve error description (#58113) 2023-11-06 11:30:44 +02:00
Quinn Slack
ae5325e432
switch from jest to vitest for faster, simpler tests (#57886)
Replaces our usage of jest with vitest. Also removes the babel transpiler. This simplifies our test configuration by a lot, makes tests run 10% faster, and makes further modernizations to our build/test stuff possible (such as using vite for frontend builds).

This removes some of the junit exporting for Buildkite, and the vitest bazel defs don't really cleanly implement bazel testing guidelines (like sharding). But vitest is only used for unit tests (all integration/e2e/regression tests have always run in mocha), so none of them are very slow anyway.

## Codemods for vitest imports

fastmod -e js,ts,tsx @jest/globals vitest client/ dev/release/
fastmod -e js,ts,tsx 'jest\.(\w+)\(' 'vi.$1(' client/ dev/release/
fastmod -e js,ts,tsx 'jest,' 'vi,' client/ dev/release/
fastmod -e js,ts,tsx 'jest }' 'vi }' client/ dev/release/
git diff --diff-filter=M --name-only | xargs pnpm exec prettier --write
2023-11-05 21:57:04 -10:00
Quinn Slack
5cd8bf53a6
use swc instead of babel for faster bazel typescript transpilation (#57912)
swc is a very fast TypeScript transpiler.

Instead of using Babel for TypeScript transpilation in Bazel, we now use swc, which is much faster. We still use Babel in Jest (for tests), but in the future we intend to move away from Jest.

See https://docs.aspect.build/rulesets/aspect_rules_ts/docs/transpiler#swc-recommended for more information about using swc in Bazel, and https://swc.rs/ for general information about swc.
2023-11-02 22:49:03 -07:00
Robert Lin
726a5aff95
client/web: add telemetry v2 client (#57939)
Brings something like https://github.com/sourcegraph/cody/pull/1192 to Sourcegraph's web client, injected as a new `telemetryRecorder` in `PlatformContext`. Because we want to use the only non-deprecated way to make GraphQL requests, Apollo clients, a global events recorder is not provided ([thread](https://sourcegraph.slack.com/archives/C01C3NCGD40/p1698376463350449)) - the shared one can only retrieved from `PlatformContext`.

In non-`web` platforms (`client/browser`) the recorder is currently set to a no-op recorder that errors upon use, as for this PR intended for backport, we only want to add some usages to `web` for Cody events.

To start off, this change adds some new usage of this on a rather out-of-the-way section `permissions-center`, tested manually below.

Closes https://github.com/sourcegraph/sourcegraph/issues/56920
2023-11-02 08:57:03 -07:00
Greg Magolan
98563e5830
chore: upgrade to Aspect CLI 5.8.5 (#57961)
Co-authored-by: William Bezuidenhout <william.bezuidenhout@sourcegraph.com>
2023-10-30 17:01:58 +02:00
Jean-Hadrien Chabran
7817b9b435
bzl: re-enable sandbox for browser tests (#57981) 2023-10-30 12:48:23 +01:00
Quinn Slack
90c6683218
remove gulp (task runner) (#57963)
Removed usage of gulp for running commands. Instead, we just use `package.json` scripts (that mostly invoke `ts-node -T ...`). The purpose of removing gulp is to remove a layer of duplication/indirection between the tasks we need to run and where they are defined.

The code generation tasks (GraphQL operations, CSS modules types, and schema/ JSON Schema types) no longer run in watch mode in local dev. If you make changes that require regeneration of this code, run `pnpm run generate` from the root. This is for simplicity and speed (they would run on many unrelated changes and slow down local dev).
2023-10-29 12:09:50 -07:00
Quinn Slack
27e796e64d
upgrade nodejs to 20.8 (#57910)
Going from version 18 to 20 means we get better perf and the built-in WebCrypto API, which makes a crypto test polyfill no longer needed.
2023-10-26 22:25:24 -07:00
Quinn Slack
f21d3ec68c
misc test cleanups (#57914)
* eliminate cross-package SCSS import

* avoid window.location modification (which jsdom forbids)

* don't complain if no tests

* clean up dev/update-embeddings-list

* fix client/observability-server test
2023-10-26 03:26:32 -07:00
Quinn Slack
6bdcd5e59c
simplify tsconfig.json files (#57913) 2023-10-26 03:03:11 -07:00
Quinn Slack
85818110a7
misc improvements to tests to prep for vitest switch (#57904)
* stub method to avoid unhandled exception in test from pretendRemote

* less flaky ActionItem test that checks condition before snapshotting

* rename *.{spec => test}.ts

This simplifies the test filename pattern.

* rename top-level tsconfig.all.json to tsconfig.json

* upgrade to pnpm 8.9.2

* avoid usage of jsdom.reconfigure

* more robust linkClickHandler.test.tsx

* make getBundleSizeStats.test.ts not need to use mocks

* extract createBarrier() to @sourcegraph/testing

* more robust fromObservableQuery.test.ts

* avoid jsdom.reconfigure

* do not attempt to request assets from assets.gitlab-static.net

fastmod -F assets.gitlab-static.net example.com client/browser/src/

* avoid "incorrect casing" for mocked React components

* use createBarrier

* fix SurveyToast mock GraphQL query

* fix classNames typo
2023-10-26 01:47:40 +00:00
Camden Cheek
55fdf1b105
Browser extension: disable inline extensions firefox (#57881)
This disables the bundling of code intel extensions with the firefox browser extension. The bundled files are minified, and I failed to run the build steps for the extensions locally (they're pretty out of date), so I can't really test the changes needed to build a non-minified version.

For now, rather than spending more time on extensions that live in a hazy state of support, this just removes the extensions from the firefox addon so we don't get removed from the store.
2023-10-26 00:43:45 +00:00
Quinn Slack
07f29c98d6
use @typescript-eslint projectService for faster eslint (#57851)
See https://github.com/typescript-eslint/typescript-eslint/pull/6754.

Also removes needless `.eslintrc.js` files (now that we can use the root `tsconfig.all.json` for linting and it's still fast enough).

Some of our eslint rules were unintentionally made ineffective in `client/web`, and this commit also re-enables them and in some cases suppresses the eslint warning where a fix is not urgent.
2023-10-24 01:40:40 +00:00
Quinn Slack
131ad5019f
upgrade @sourcegraph/eslint-config and fix all auto-fixable issues (#57847)
Also configures to `warn` for some rules that require manual code fixes and that are not urgent.
2023-10-24 00:52:12 +00:00
Quinn Slack
f160c5c041
explicitly import @jest/globals and mocha (#57786)
Previously bindings like `expect`, `describe`, `afterAll`, etc., were imported implicitly by Jest or Mocha. We should import them explicitly to reduce magic. (Also this makes it easier to migrate to another test runner in the future if we want.)
2023-10-23 21:40:17 +00:00
Quinn Slack
59c82bcfb1
disable frontend code coverage tracking (#57820)
Our tracking of frontend (TypeScript) code coverage has decayed and was no longer being used. The Codecov report at https://app.codecov.io/gh/sourcegraph/sourcegraph significantly under-counts coverage, and what coverage tasks we did have were flaky in CI and relied on old libraries that have not been updated recently to keep with modern practices (such as `@storybook/addon-storyshots` only supporting Jest with `injectGlobals`).

From https://sourcegraph.slack.com/archives/C04MYFW01NV/p1698059032863009?thread_ts=1698054092.709309&cid=C04MYFW01NV, the proposal is to remove coverage tracking for now and prioritize getting tests to run really fast and smooth locally first, including upgrading our testing infra, and then reenable code coverage tracking.
2023-10-23 21:29:40 +00:00
Quinn Slack
c0442a2e9f
disable slow eslint rules, remove unused disable directives (#57788)
* disable slow eslint rules, remove unused disable directives

Disabling these eslint rules makes saving significantly faster. These rules are not worthless, but they are usually ignored anyway, and I can't recall a specific instance when they would have caught a bug. I am proposing we disable them and then set a checkpoint in 14 days to rerun eslint with the rules enabled and see if they would have caught any bad practices. In the meantime, we will all benefit from instant saves (with eslint fixes) instead of waiting 3-5 seconds or more after each save in VS Code, which is destructive to productivity.

* upgrade eslint
2023-10-23 13:23:44 -07:00
Quinn Slack
de613e92b6
use esbuild for client/web builds (#57365)
Use [esbuild](https://esbuild.github.io/) instead of Webpack for builds of `client/web`, for faster builds (dev and prod) and greater dev-prod parity. This PR completely removes all use of Webpack in this repository.

`client/web` is the last build target that still uses Webpack; all others have been recently migrated to esbuild. Most devs here have been using esbuild for local dev of `client/web` for the last 6-12 months anyway. The change here is that now our production builds will be built by esbuild.

All sg commands, integration/e2e tests, etc., continue to work as-is. The bundlesize report will take a while to stabilize because the new build products use different filenames.

## Benchmarks

Running `pnpm run generate && time pnpm -C client/web run task:gulp webBuild` and taking the `time` output from the last command:

- Webpack: 62.5s
- esbuild: 6.7s

Note: This understates esbuild's victory for 2 reasons: (1) because esbuild is building both the main and embed entrypoints, whereas Webpack only builds the main entrypoint in this benchmark) and (2) because a lot of it is in the fixed startup time of `gulp`; esbuild incremental rebuilds during local dev only take ~1s.

## Notes

We no longer use Babel to produce web builds (we use esbuild), so we don't need any Babel plugins that optimize the output or improve browser compatibility. Right now, Babel is only used by Jest (for tests) and by Bazel as an intermediate step.
2023-10-23 10:59:06 -07:00
Quinn Slack
0452361969
fix storybook types (#57784)
Use StoryFn instead of Story (which is deprecated and unresolvable, causing a type error).
2023-10-22 21:59:45 -07:00
Quinn Slack
10d0224bbc
fix passing multiple args to jest --testPathIgnorePatterns (#57780)
To pass multiple ignore patterns to Jest, you need to use `--testPathIgnorePatterns pattern1 --testPathIgnorePatterns pattern2 ...`. Otherwise, `--testPathIgnorePatterns pattern1 pattern2` treats `pattern2` as a test pattern to run, not to ignore.

The consequence of this is that some npm scripts and CI steps were running tests that they didn't need to run.
2023-10-21 21:40:10 +00:00
Felix Kling
a4ff8b0040
web: Consolidate server and client side feature flag overrides (#57663)
It turned out that we have two different ways of overriding feature
flags:
- `?feat=foo` overrides the feature flag on the server for this request
- `?feature-flag-key=foo&feature-flag-value=true` overrides the feature
  flag on the client side only and persists the setting in local storage

This commit does three things:

1. It consolidates the two systems. `feature-flag-{key,value}` have been
   removed in favor of `feat`. The client side logic will now use the
   same parameter. An additional prefix has been added, `~` to indicate
   the client to remove the override.
2. The header logic for GraphQL queries has been reworked to include
   headers for overridden feature flags. This ensures that the server
   uses the same overrides as the client.
3. The developer settings dialog and navbar entry now feature a reload
   button which appends `flag` to the current URL for overridden feature
   flags and reloads the page. Additionally the keyboard shortcut for
   reloading the page (`Mod-r`) is hijacked to perform the same action.
   NOTE: Unlike the first two, this functionality is only available in
   development builds.
2023-10-20 12:34:19 +02:00
Felix Kling
b16f8adf32
bext: Fix SG button in file page header (#57695)
For reasons unknown I looked at the browser extension. This seems to fix the issues of showing the "open in sourcegraph" button in the file header.

I modified the E2E test to make hovercard testing optional so that we can at least test the toolbar button.

Addendum: I also updated the pipline generate to run browser extension tests when code inside client/browser/ changes.
2023-10-19 17:04:50 +02:00
Bolaji Olajide
6e43eb2031
Replace deprecated storybook types (Story & DecoratorFn) (#57604)
The types `Story` and `DecoratorFn` have been deprecated in storybook v7. This batch change ensures we are using the correct types.

[Storybook Migration guide](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#renamed-decoratorfn-to-decorator)

### Test Plan

Ensured storybooks are loading fine.
2023-10-16 15:35:14 +00:00
Camden Cheek
3b23f1dc93
e2e tests: update sourcegraph group name (#57492)
update sourcegraph group name
2023-10-09 16:38:13 -06:00
Quinn Slack
fb3c9c6015
use esbuild for browser extension builds (#57231)
* move bext-only extension host worker to client/browser

* use esbuild for browser extension build

esbuild is much faster and simpler than Webpack.
2023-10-08 14:18:52 +09:00