mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:31:54 +00:00
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. |
||
|---|---|---|
| .. | ||
| dev | ||
| src | ||
| .eslintignore | ||
| .eslintrc.js | ||
| .stylelintrc.json | ||
| babel.config.js | ||
| gulpfile.js | ||
| jest.config.js | ||
| LICENSE | ||
| NOTICE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
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.