From af33b9235018f6f08750a87e13af0c590568b7fd Mon Sep 17 00:00:00 2001 From: Chandrasekhar Ramakrishnan Date: Tue, 4 Feb 2025 11:34:19 +0100 Subject: [PATCH] rename connectedServices to integrations --- client/src/components/navbar/NavBarItems.tsx | 2 +- .../CodeRepositories/CodeRepositoryDisplay.tsx | 4 ++-- client/src/features/rootV2/RootV2.tsx | 2 +- client/src/routing/routes.constants.ts | 4 ++-- tests/cypress/e2e/connectedServicesV2.spec.ts | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/client/src/components/navbar/NavBarItems.tsx b/client/src/components/navbar/NavBarItems.tsx index 3538edf61..5529bb5fb 100644 --- a/client/src/components/navbar/NavBarItems.tsx +++ b/client/src/components/navbar/NavBarItems.tsx @@ -345,7 +345,7 @@ export function RenkuToolbarItemUser({ {isV2 && ( <> Integrations diff --git a/client/src/features/ProjectPageV2/ProjectPageContent/CodeRepositories/CodeRepositoryDisplay.tsx b/client/src/features/ProjectPageV2/ProjectPageContent/CodeRepositories/CodeRepositoryDisplay.tsx index bb99d53c4..db9bef1d6 100644 --- a/client/src/features/ProjectPageV2/ProjectPageContent/CodeRepositories/CodeRepositoryDisplay.tsx +++ b/client/src/features/ProjectPageV2/ProjectPageContent/CodeRepositories/CodeRepositoryDisplay.tsx @@ -792,7 +792,7 @@ function RepositoryPermissionsAlert({

Your user account is not currently connected to{" "} {provider.display_name}. See{" "} - + connected services . @@ -819,7 +819,7 @@ function RepositoryPermissionsAlert({

Your user account is not currently connected to{" "} {provider.display_name}. See{" "} - + connected services . diff --git a/client/src/features/rootV2/RootV2.tsx b/client/src/features/rootV2/RootV2.tsx index cd752c35d..9ee7c6b43 100644 --- a/client/src/features/rootV2/RootV2.tsx +++ b/client/src/features/rootV2/RootV2.tsx @@ -120,7 +120,7 @@ export default function RootV2() { } /> diff --git a/client/src/routing/routes.constants.ts b/client/src/routing/routes.constants.ts index 133aac6a8..9ac2a17ae 100644 --- a/client/src/routing/routes.constants.ts +++ b/client/src/routing/routes.constants.ts @@ -45,7 +45,7 @@ export const ABSOLUTE_ROUTES = { }, v2: { root: "/", - connectedServices: "/connected-services", + integrations: "/integrations", groups: { show: { root: "/g/:slug", @@ -103,7 +103,7 @@ export const RELATIVE_ROUTES = { }, v2: { root: "/*", - connectedServices: "connected-services", + integrations: "integrations", groups: { root: "g/*", new: "new", diff --git a/tests/cypress/e2e/connectedServicesV2.spec.ts b/tests/cypress/e2e/connectedServicesV2.spec.ts index 4b1f96d73..68fd52649 100644 --- a/tests/cypress/e2e/connectedServicesV2.spec.ts +++ b/tests/cypress/e2e/connectedServicesV2.spec.ts @@ -27,7 +27,7 @@ describe("Interact with Connected services", () => { }); it("Shows an empty page when no services are available", () => { - cy.visit("/connected-services"); + cy.visit("/integrations"); cy.getDataCy("connected-services-page").should( "contain.text", "There are currently no external services" @@ -36,7 +36,7 @@ describe("Interact with Connected services", () => { it("Connect GitHub user", () => { fixtures.listConnectedServicesProviders(); - cy.visit("/connected-services"); + cy.visit("/integrations"); cy.getDataCy("connected-services-card").should("have.length", 2); cy.getDataCy("connected-services-card").contains("GitHub.com"); cy.getDataCy("connected-services-card") @@ -49,7 +49,7 @@ describe("Interact with Connected services", () => { // ? Instead of clicking the Connect link, we just load the connection. fixtures.listConnectedServicesConnections(); cy.reload(); - cy.visit("/connected-services"); + cy.visit("/integrations"); cy.getDataCy("connected-services-card") .filter(`:contains("GitHub.com")`) .contains("Connected"); @@ -64,7 +64,7 @@ describe("Interact with Connected services", () => { .listConnectedServicesConnections() .listConnectedServicesAccount() .listConnectedServicesInstallations({ empty: true }); - cy.visit("/connected-services"); + cy.visit("/integrations"); cy.getDataCy("connected-services-card") .should("contain", "@my-github-user")