sourcegraph/client/shared
Camden Cheek 154ca95e7c
Search: break dependencies on pre-formatted markdown (#32346)
Currently, for commit matches, we generate label and detail in the backend as markdown-formatted strings. This adds the information needed to generate these fields to the commit match stream type cuts markdown out of the loop.
2022-03-09 19:08:45 -06:00
..
dev [SG-31914] Fix failing unit tests on client/common, client/codeintellify packages (#32241) 2022-03-08 21:55:50 +07:00
src Search: break dependencies on pre-formatted markdown (#32346) 2022-03-09 19:08:45 -06:00
.eslintignore [cloud] Make org invite URLs unique (#30498) 2022-02-04 10:05:59 +01:00
.eslintrc.js Enable eslint-plugin-wildcard globally (#30830) 2022-03-02 21:19:54 +07:00
.stylelintrc.json web: seal CSS modules migration with linter rules (#30354) 2022-01-28 07:25:17 -08:00
babel.config.js Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
gulpfile.js Create search and search-ui packages (#29773) 2022-01-20 12:56:23 -05:00
jest.config.js fix types for jest.config.base.js (using @jest/types package) (#24339) 2021-08-26 02:33:21 -07:00
LICENSE Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
NOTICE Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
package.json tests: Remove download-puppeteer-browser script (#29104) 2021-12-16 05:33:25 -07:00
README.md Update handbook links in doc (#26848) 2021-11-02 00:09:49 +08:00
tsconfig.json [SG-28893] refactor: extract graphql folder into a new http-client package. (#29346) 2022-01-13 18:40:35 +01:00

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 Bootstrap 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.