sourcegraph/client/web/dev/utils
Anish Lakhwara 856e41eff3
fix(appliance): Make Appliance URL envvars strings (#64227)
<!-- PR description tips:
https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e
-->
Changes `APPLIANCE_MANAGED` -> `APPLIANCE_UPDATE_TARGET`, and creates
`APPLIANCE_MENU_TARGET`. Both are stringly typed env vars, that when set
will create / redirect the update buttons / menu links in the site admin
and nav item pages.

Paired with @nelsonjr and @DaedalusG on this 

## Test plan

<!-- REQUIRED; info at
https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles
-->
Manually Tested

## Changelog

<!-- OPTIONAL; info at
https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c
-->
- **fix(appliance): make environment variables strings to be passed
around**
2024-08-01 15:45:25 -07:00
..
constants.ts Revert "use vite for web builds (#58228)" (#59132) 2023-12-20 16:23:45 -03:00
create-js-context.ts fix(appliance): Make Appliance URL envvars strings (#64227) 2024-08-01 15:45:25 -07:00
environment-config.ts remove unused CODY_APP esbuild config and entrypoint (#63438) 2024-06-24 08:38:40 -07:00
get-api-proxy-settings.ts fix/client/dev: update proxy overwrite to respect authProviders (#63624) 2024-07-09 10:27:54 -07:00
get-index-html.ts web: Fix settings editor completion/validation (#60808) 2024-03-11 13:48:31 +01:00
get-site-config.ts disable slow eslint rules, remove unused disable directives (#57788) 2023-10-23 13:23:44 -07:00
index.ts Revert "use vite for web builds (#58228)" (#59132) 2023-12-20 16:23:45 -03:00
should-compress-response.ts Eslint fix type imports (#54920) 2023-08-10 21:12:31 +02:00
success-banner.ts web: review environment variables before the Datadog integration (#33994) 2022-04-19 02:22:48 -07:00