Skip to content

Commit 3cf89da

Browse files
committed
fix: remove the /_/runtime-updates deeplink alias
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a34976c commit 3cf89da

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

apps/webapp/app/utils/deeplinkPages.test.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,9 @@ describe("resolveDeeplinkPage", () => {
172172
expect(resolveDeeplinkPage("projects")).toBeUndefined();
173173
});
174174

175-
it("keeps the legacy runtime-updates deeplink pointing at the projects page", () => {
176-
expect(ORG_PAGE_TARGETS.get("runtime-updates")).toEqual({
177-
landing: "projects",
178-
prefix: "projects",
179-
});
180-
expect(resolveOrganizationDeeplinkPage("runtime-updates")).toBe("projects");
175+
it("does not carry a runtime-updates alias", () => {
176+
expect(ORG_PAGE_TARGETS.has("runtime-updates")).toBe(false);
177+
expect(resolveOrganizationDeeplinkPage("runtime-updates")).toBeUndefined();
181178
expect(resolveDeeplinkPage("runtime-updates")).toBeUndefined();
182179
});
183180

apps/webapp/app/utils/deeplinkPages.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ export const ENV_PAGE_TARGETS: ReadonlyMap<string, DeeplinkTarget> = new Map([
4040

4141
export const ORG_PAGE_TARGETS: ReadonlyMap<string, DeeplinkTarget> = new Map([
4242
["projects", page("projects")],
43-
// Alias: `/_/runtime-updates` links are already out in the wild, so keep them landing on the
44-
// same page as `/_/projects`.
45-
["runtime-updates", page("projects")],
4643
]);
4744

4845
export const DEEPLINK_PATH_PREFIX = "/_";

0 commit comments

Comments
 (0)