Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' of https://github.com/evergreen-ci/spruce into de…
Browse files Browse the repository at this point in the history
…pendabot/npm_and_yarn/leafygreen-ui/text-input-12.1.24
  • Loading branch information
sophstad committed Feb 12, 2024
2 parents e52261a + e3b288b commit 11e5e44
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion cypress/integration/nav_bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const SPRUCE_URLS = {
const LEGACY_URLS = {
version: `${EVG_BASE_URL}/version/${PATCH_ID}`,
userPatches: `${EVG_BASE_URL}/patches/user/${USER_ID}`,
distros: `${EVG_BASE_URL}/distros`,
admin: `${EVG_BASE_URL}/admin`,
};
describe("Nav Bar", () => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spruce",
"version": "3.0.202",
"version": "3.0.203",
"private": true,
"scripts": {
"bootstrap-logkeeper": "./scripts/bootstrap-logkeeper.sh",
Expand Down
6 changes: 0 additions & 6 deletions src/constants/externalResources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ export const getJiraBugUrl = (jiraHost: string) =>
export const getJiraImprovementUrl = (jiraHost: string) =>
`https://${jiraHost}/secure/CreateIssueDetails!init.jspa?pid=22786&issuetype=4&priority=4&labels=user-feedback`;

export const legacyRoutes = {
distros: "/distros",
hosts: "/spawn",
projects: "/projects",
};

export const getIdeUrl = (hostId: string) => `${getUiUrl()}/host/${hostId}/ide`;

export const getJiraSearchUrl = (jiraHost: string, jqlEscaped: string) =>
Expand Down
1 change: 0 additions & 1 deletion src/hooks/useLegacyUIURL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export const useLegacyUIURL = (): string | null => {
[routes.spawnHost]: `${uiURL}/spawn#?resourcetype=hosts`,
[routes.spawnVolume]: `${uiURL}/spawn#?resourcetype=volumes`,
[`${routes.commits}/:id`]: `${uiURL}/waterfall/${id}`,
[`${routes.distroSettings}/*`]: `${uiURL}/distros##${id}`,
[routes.hosts]: `${uiURL}/hosts`,
[routes.host]: `${uiURL}/host/${id}`,
};
Expand Down

0 comments on commit 11e5e44

Please sign in to comment.