diff --git a/CHANGELOG.md b/CHANGELOG.md index b0fff98f99..efb4d8a054 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ The types of changes are: - Remove the `fides-js` banner from tab order when it is hidden and move the overlay components to the top of the tab order. [#3510](https://github.com/ethyca/fides/pull/3510) - Disable connector dropdown in integration tab on save [#3552](https://github.com/ethyca/fides/pull/3552) - Handles an edge case for non-existent identities with the Kustomer API [#3513](https://github.com/ethyca/fides/pull/3513) +- remove the configure privacy request tile from the home screen [#3555](https://github.com/ethyca/fides/pull/3555) ### Developer Experience diff --git a/clients/admin-ui/cypress/e2e/home.cy.ts b/clients/admin-ui/cypress/e2e/home.cy.ts index a238ed454a..405121f554 100644 --- a/clients/admin-ui/cypress/e2e/home.cy.ts +++ b/clients/admin-ui/cypress/e2e/home.cy.ts @@ -6,7 +6,6 @@ const ALL_TILES = [ "View data map", "Add systems", "View systems", - "Configure privacy requests", "Review privacy requests", ]; diff --git a/clients/admin-ui/src/home/constants.ts b/clients/admin-ui/src/home/constants.ts index 25e90805e1..0b7e9d8c51 100644 --- a/clients/admin-ui/src/home/constants.ts +++ b/clients/admin-ui/src/home/constants.ts @@ -1,7 +1,6 @@ import { ADD_SYSTEMS_ROUTE, DATAMAP_ROUTE, - DATASTORE_CONNECTION_ROUTE, PRIVACY_REQUESTS_ROUTE, SYSTEM_ROUTE, } from "~/features/common/nav/v2/routes"; @@ -15,9 +14,8 @@ import { ModuleCardConfig } from "./types"; export enum ModuleCardKeys { ADD_SYSTEMS = 1, VIEW_SYSTEMS = 2, - CONFIGURE_PRIVACY_REQUESTS = 3, - REVIEW_PRIVACY_REQUESTS = 4, - VIEW_MAP = 5, + REVIEW_PRIVACY_REQUESTS = 3, + VIEW_MAP = 4, } export const MODULE_CARD_ITEMS: ModuleCardConfig[] = [ @@ -57,18 +55,6 @@ export const MODULE_CARD_ITEMS: ModuleCardConfig[] = [ scopes: [ScopeRegistryEnum.SYSTEM_READ], requiresSystems: true, }, - { - color: "teal", - description: - "Connect your systems and configure privacy request processing for DSRs (access and erasure).", - href: `${DATASTORE_CONNECTION_ROUTE}/new?step=1`, - key: ModuleCardKeys.CONFIGURE_PRIVACY_REQUESTS, - name: "Configure privacy requests", - sortOrder: 3, - title: "PR", - scopes: [ScopeRegistryEnum.CONNECTION_CREATE_OR_UPDATE], - }, - { color: "pink", description: diff --git a/clients/admin-ui/src/home/tile-config.test.ts b/clients/admin-ui/src/home/tile-config.test.ts index 1e928911bf..a4e3f388f6 100644 --- a/clients/admin-ui/src/home/tile-config.test.ts +++ b/clients/admin-ui/src/home/tile-config.test.ts @@ -60,14 +60,6 @@ describe("configureTiles", () => { expect(tiles.map((t) => t.name)).toEqual(["Add systems"]); }); - it("conditionally shows configure privacy requests", () => { - const tiles = configureTiles({ - config: MODULE_CARD_ITEMS, - userScopes: [ScopeRegistryEnum.CONNECTION_CREATE_OR_UPDATE], - }); - expect(tiles.map((t) => t.name)).toEqual(["Configure privacy requests"]); - }); - it("conditionally shows view datamap", () => { const tiles = configureTiles({ config: MODULE_CARD_ITEMS, @@ -93,10 +85,7 @@ describe("configureTiles", () => { ScopeRegistryEnum.CONNECTION_CREATE_OR_UPDATE, ], }); - expect(tiles.map((t) => t.name)).toEqual([ - "Configure privacy requests", - "Review privacy requests", - ]); + expect(tiles.map((t) => t.name)).toEqual(["Review privacy requests"]); }); }); }); diff --git a/clients/cypress-e2e/cypress/e2e/smoke_test.cy.ts b/clients/cypress-e2e/cypress/e2e/smoke_test.cy.ts index 1c4940120a..ec80e1095d 100644 --- a/clients/cypress-e2e/cypress/e2e/smoke_test.cy.ts +++ b/clients/cypress-e2e/cypress/e2e/smoke_test.cy.ts @@ -63,8 +63,7 @@ describe("Smoke test", () => { cy.visit(ADMIN_UI_URL); cy.login(); - cy.get("div").contains("Configure privacy requests").click(); - cy.wait("@getConnections"); + cy.get("a").contains("Privacy requests").click(); cy.get("a").contains("Connection manager").click(); cy.wait("@getConnectionType"); cy.getByTestId("connection-grid-item-MongoDB Connector").within(() => {