mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
* Add first raw implementation * Add caching and multifunction for non-exclusive filters * Add comment and refactor the dynamic search UI * Fix useCachedSearchResults call * Add icons to dynamic filter items * Add filtering to dynamic filter section * Fix typo * Add Symbol filters section * Add commit date filtes * Fix ordering problem for static filter sections * Add icons to symbol filters * Add utility filters section * Add footer link to doc * Add author filters section * Add avatars to author filter section * Fix avatar styles * Put new search filters UI behind feature flag * Update bazel builds * Fix eslint problems * Fix titles and search content layout * Fix streaming search results units * Fix language icon after rebasing main * Fix ts problems * Remove left over comment from lang icon * Extract dynamic filter item into separate component * Fixes by PR review comments * bazel configure * Fix import * Adjust language icon UI to the new icon system * Update bazel build files * Fix lint problems * Update outdated snapshots tests * Fix feature flag for filter button * Fix repository integration tests mock * Fix graphql type problem * Update snapshots after main rebase |
||
|---|---|---|
| .. | ||
| aws_codecommit.schema.json | ||
| azuredevops.schema.json | ||
| batch_spec.schema.json | ||
| bitbucket_cloud.schema.json | ||
| bitbucket_server_util.go | ||
| bitbucket_server.schema.json | ||
| bitbucketcloud_util.go | ||
| BUILD.bazel | ||
| changeset_spec.schema.json | ||
| extension_schema.go | ||
| gerrit.schema.json | ||
| github_util.go | ||
| github.schema.json | ||
| gitlab_util.go | ||
| gitlab.schema.json | ||
| gitolite.schema.json | ||
| go-modules.schema.json | ||
| json-schema-draft-07.schema.json | ||
| jvm-packages.schema.json | ||
| npm-packages.schema.json | ||
| onboardingtour.schema.json | ||
| opencodegraph-protocol.schema.json | ||
| opencodegraph.schema.json | ||
| other_external_service.schema.json | ||
| package.json | ||
| pagure.schema.json | ||
| perforce.schema.json | ||
| phabricator.schema.json | ||
| python-packages.schema.json | ||
| README.md | ||
| ruby-packages.schema.json | ||
| rust-packages.schema.json | ||
| schema.go | ||
| settings.schema.json | ||
| site.schema.json | ||
| stringdata.go | ||
| tsconfig.json | ||
| validation_test.go | ||
Sourcegraph JSON Schemas
JSON Schema is a way to define the structure of a JSON document. It enables typechecking and code intelligence on JSON documents.
Sourcegraph uses the following JSON Schemas:
Modifying a schema
- Edit the
*.schema.jsonfile in this directory. - Run
bazel run //schema:write_generated_schema. - Commit the changes to both files.
- Run
sg startto automatically update TypeScript schema files.
Known issues
- The JSON Schema IDs (URIs) are of the form
https://sourcegraph.com/v1/*.schema.json#, but these are not actually valid URLs. This means you generally need to supply them to JSON Schema validation libraries manually instead of having the validator fetch the schema from the web.