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

Commit

Permalink
DEVPROD-754: Remove legacy URL on distro settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
minnakt committed Feb 9, 2024
1 parent 768910f commit d390c43
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 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
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
2 changes: 0 additions & 2 deletions src/gql/generated/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2784,8 +2784,6 @@ export type TestLog = {
lineNum?: Maybe<Scalars["Int"]["output"]>;
renderingType?: Maybe<Scalars["String"]["output"]>;
url?: Maybe<Scalars["String"]["output"]>;
/** @deprecated Use urlParsley instead */
urlLobster?: Maybe<Scalars["String"]["output"]>;
urlParsley?: Maybe<Scalars["String"]["output"]>;
urlRaw?: Maybe<Scalars["String"]["output"]>;
version?: Maybe<Scalars["Int"]["output"]>;
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 d390c43

Please sign in to comment.