sourcegraph/cmd
Felix Kling 0959fbda1a
fix(svelte): Make /cody/dashboard work with the new web app (#64295)
Fixes srch-765

When navigating to `/cody/dashboard` and the new web app is enabled, the
user gets a "Not found" error. This doesn't happen in the React app.

The page doesn't exist in the new web app, hence the server should fall
back to the old web app but that doesn't happen.

Why? Because the server doesn't know about `/cody/dashboard` either. It
only exists in the React app.
Instead the server interprets this path as a (non-existing) repository
page. When the new web app is enabled, repository pages are handled by
the new web app, but since neither the repo nor the page exist in the
new web app, the aforementioned error is thrown.

Configuring this route on the server makes it so that the React app is
served instead.

## Test plan

Manual testing. Going to https://sourcegraph.test:3443/cody/dashboard
loads the React app.
2024-08-06 15:33:24 +02:00
..
appliance feat(appliance): self-update can update multiple deployments (#64132) 2024-07-30 08:30:26 +00:00
batcheshelper bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
blobstore chore: Remove unused TTL in object.Storage config (#63947) 2024-07-22 02:58:57 +00:00
bundled-executor bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
cody-gateway feat(cody): add circuit breaker to handle timed-out requests and rate limit hits (#64133) 2024-08-05 11:38:58 +00:00
cody-gateway-config Several fixes around merging modelconfig, and the current Cody Gateway data (#63814) 2024-07-15 17:14:28 +00:00
customer-2315 Improving Azure errors for customer containers (#64278) 2024-08-06 01:19:09 +00:00
customer-4512 Improving Azure errors for customer containers (#64278) 2024-08-06 01:19:09 +00:00
embeddings authz: Drop requirement for installing authz providers in every service (#63743) 2024-07-31 01:23:34 +02:00
enterprise-portal feat/enterpriseportal: ignore context cancellation error in GetCodyGatewayUsage (#64016) 2024-07-24 11:50:21 -07:00
executor chore/executors: Native Kubernetes Executors default to use single job pod (#64088) 2024-07-31 08:07:06 -07:00
executor-kubernetes bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
frontend fix(svelte): Make /cody/dashboard work with the new web app (#64295) 2024-08-06 15:33:24 +02:00
gitserver gitserver: RawDiff checks if commits exist (#64245) 2024-08-02 13:10:04 +00:00
loadtest chore(bazel): update ownership tags to increase coverage (#63001) 2024-05-31 14:10:29 +00:00
migrator chore(ci): conditionally stamp genrules (#63204) 2024-06-12 15:04:43 +02:00
msp-example msp/runtime: split contract into JobContract and ServiceContract (#63494) 2024-06-26 19:46:10 +00:00
pings msp/runtime: split contract into JobContract and ServiceContract (#63494) 2024-06-26 19:46:10 +00:00
precise-code-intel-worker authz: Drop requirement for installing authz providers in every service (#63743) 2024-07-31 01:23:34 +02:00
repo-updater chore: Remove global externalURL watcher (#64058) 2024-07-31 03:43:28 +02:00
searcher searcher: fix benchmarks (#64292) 2024-08-06 11:33:52 +02:00
server feat(frontend): do not embed frontend assets anymore (#63946) 2024-07-31 15:17:52 +02:00
sourcegraph support fast, simple sg start single-program-experimental-blame-sqs for local dev (#63435) 2024-06-24 21:12:47 +00:00
symbols feat(search): Enable improved symbol parsing for large repos (when using Rockskip) (#63988) 2024-07-31 15:27:31 -04:00
syntactic-code-intel-worker authz: Drop requirement for installing authz providers in every service (#63743) 2024-07-31 01:23:34 +02:00
telemetry-gateway chore/telemetrygateway: gracefully handle sams introspectToken cancelation (#63809) 2024-07-15 10:45:00 -07:00
worker chore: Reduce frequency of COUNT(*) on lsif_indexes (#64288) 2024-08-06 10:39:20 +02:00
README.md Reminder to keep architecture diagram in-sync (#36869) 2022-06-08 19:40:36 -07:00

This directory contains Sourcegraph services and binaries.

When a services is added, removed, or when a service's dependencies change, update our architecture diagram.