sourcegraph/client/shared
Vova Kulikov 5915788ef0
Svelte: Add telemetry v2 to svelte client (#63041)
* Svelte: Add telemetry v2 to svelte client

* Run format

* Add telemetry to the bazel config
2024-06-04 11:12:32 +02:00
..
dev bazel: refactor percy mocha tests to js_test instead of js_run_binary + build_test (#60983) 2024-03-26 10:58:20 +00:00
src Svelte: Add telemetry v2 to svelte client (#63041) 2024-06-04 11:12:32 +02:00
.bazelignore bazel: remove schema.ts entries (#48976) 2023-03-08 20:25:29 -08:00
.eslintignore bazel: remove schema.ts entries (#48976) 2023-03-08 20:25:29 -08:00
.stylelintrc.json web: integrate @sourcegraph/stylelint-plugin-sourcegraph and ban bootstrap imports (#34956) 2022-05-05 04:27:26 +00:00
BUILD.bazel feat(search): Add inline file search to Svelte app (#62961) 2024-05-31 11:14:06 +00:00
NOTICE Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
package.json v2t: add v2 telemetry to the client/shared folder (#62586) 2024-06-03 16:34:28 -07:00
README.md web: drop bootstrap depenedency (#41401) 2022-09-07 03:11:26 -07:00
tsconfig.json reapply "switch from jest to vitest for faster, simpler tests (#57886)" (#58145) 2023-11-07 12:00:18 +02:00
vitest.config.ts reapply "switch from jest to vitest for faster, simpler tests (#57886)" (#58145) 2023-11-07 12:00:18 +02:00

Shared

This folder contains common TypeScript/React/SCSS client code shared between the browser extension and the web app.

Everything in this folder is code-host agnostic and cannot make assumptions about whether it is running inside the Sourcegraph web app, in the browser extension on GitHub, Gitlab, Phabricator, Bitbucket Server, etc. In particular, components cannot make use of global CSS classes but must accept CSS classes as props and/or have their own code host agnostic SCSS stylesheets. For more details, see Styling UI in the handbook.

Code that is only used in branded contexts (web app, options menu of the browser extension, ...) should go into ../branded instead.