mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:51:59 +00:00
* Add Input component to svelte wildcard * Add replaceRevisionInURL to shared * Fix tabs UI (svelte) * Extend badge with link mode * Re-export Input UI * Add branch revision picker * Remove badge and use plain text for branch name * Add reexport to avoid web consumer import migration * Support loading UI in the input component * Adjust wildcard API * Adjust repository branches picker * Add commit and tag picker UI * Fix close/open popover logic * Revert bazel example builds * Fix Input actions API ts problem * Address visual problems by design review's comments * Prevent tab's jumps * Simplify picker API (make it more generic) * Add reset rev UI * Remove extra fragment * Fix repo rev picker attribute problem * Fix error state in picker * Switch from node to repository query in rev pickers UI * Fix global picker style selectors * Reset grid styles * Fix ts types * Use more flex types for data query handlers |
||
|---|---|---|
| .. | ||
| dev | ||
| src | ||
| .bazelignore | ||
| .eslintignore | ||
| .stylelintrc.json | ||
| BUILD.bazel | ||
| NOTICE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vitest.config.ts | ||
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.