mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:51:50 +00:00
This PR mainly does two things to increase the visibility of Own: - It adds to the landing page examples (Slightly outdated, now replaces "get advanced" if own is on) <img width="1299" alt="Screenshot 2023-02-26 at 04 48 53@2x" src="https://user-images.githubusercontent.com/19534377/221391306-9dd679a9-9906-48fa-9731-84efae9c1122.png"> - And also adds a new banner to the Own panel, with a short description of it and also more hints towards trying search, too.  I am not sure if we want to merge this ~as is or want to make more changes, but we need to find _some_ consensus soon so I'm just putting it out here and I'll let you comment what you think about it, how we should adjust wording, and I shouldn't have removed another example to make room for this one. All of these things only appear when Own is enabled, so no one gets confused. For non-enabled instances, the visibility should be solved by an in-app page instead. Closes https://github.com/sourcegraph/sourcegraph/issues/48518 Co-authored-by: Malo Marrec <malo.marrec@gmail.com> |
||
|---|---|---|
| .. | ||
| dev | ||
| src | ||
| .bazelignore | ||
| .eslintignore | ||
| .eslintrc.js | ||
| .stylelintrc.json | ||
| babel.config.js | ||
| BUILD.bazel | ||
| gulpfile.js | ||
| jest.config.js | ||
| LICENSE | ||
| NOTICE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
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.