From a0e3c43234faecdcbaacef3cda00260f6f62cb70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bosi?= <71827178+bosiraphael@users.noreply.github.com> Date: Fri, 12 Jun 2026 10:24:06 +0200 Subject: [PATCH] People data labs app: remove navigation menu items (#21478) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes the People Data Labs app navigation menu — the "People Data Labs" folder and its two view entries (Enriched People, Enriched Companies) — from the sidebar, along with the now-unused navigation menu item identifiers. The "Enriched (PDL)" view definitions are kept and remain available on the Person and Company objects; they just no longer appear as a folder in the navigation menu. Review in cubic --- .../src/constants/universal-identifiers.ts | 6 ------ .../enriched-companies.navigation-menu-item.ts | 17 ----------------- .../enriched-people.navigation-menu-item.ts | 17 ----------------- ...ple-data-labs-folder.navigation-menu-item.ts | 14 -------------- 4 files changed, 54 deletions(-) delete mode 100644 packages/twenty-apps/internal/people-data-labs/src/navigation-menu-items/enriched-companies.navigation-menu-item.ts delete mode 100644 packages/twenty-apps/internal/people-data-labs/src/navigation-menu-items/enriched-people.navigation-menu-item.ts delete mode 100644 packages/twenty-apps/internal/people-data-labs/src/navigation-menu-items/people-data-labs-folder.navigation-menu-item.ts diff --git a/packages/twenty-apps/internal/people-data-labs/src/constants/universal-identifiers.ts b/packages/twenty-apps/internal/people-data-labs/src/constants/universal-identifiers.ts index 2635aeeed4..f27cb54962 100644 --- a/packages/twenty-apps/internal/people-data-labs/src/constants/universal-identifiers.ts +++ b/packages/twenty-apps/internal/people-data-labs/src/constants/universal-identifiers.ts @@ -91,12 +91,6 @@ export const PDL_VIEW_UNIVERSAL_IDENTIFIERS = { enrichedPeople: '2866db8e-086a-4b2e-8b89-a583c4181936', } as const; -export const PDL_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIERS = { - folder: '0a8fe0ea-7a97-41d7-8741-511d69ebe71b', - enrichedCompanies: 'b31eced0-0b68-444f-b823-594694b758f0', - enrichedPeople: 'ddf5b795-283a-4d5d-885c-c47f0bd11fd0', -} as const; - export const PDL_SELECT_OPTION_UNIVERSAL_IDENTIFIERS = { personEnrichmentStatus: { matched: '59f2df76-5798-42e2-b647-5091b08a43f1', diff --git a/packages/twenty-apps/internal/people-data-labs/src/navigation-menu-items/enriched-companies.navigation-menu-item.ts b/packages/twenty-apps/internal/people-data-labs/src/navigation-menu-items/enriched-companies.navigation-menu-item.ts deleted file mode 100644 index 3e4a41a8df..0000000000 --- a/packages/twenty-apps/internal/people-data-labs/src/navigation-menu-items/enriched-companies.navigation-menu-item.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { NavigationMenuItemType, defineNavigationMenuItem } from 'twenty-sdk/define'; - -import { - PDL_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIERS, - PDL_VIEW_UNIVERSAL_IDENTIFIERS, -} from 'src/constants/universal-identifiers'; - -export default defineNavigationMenuItem({ - universalIdentifier: - PDL_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIERS.enrichedCompanies, - type: NavigationMenuItemType.VIEW, - icon: 'IconSparkles', - position: 1, - folderUniversalIdentifier: - PDL_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIERS.folder, - viewUniversalIdentifier: PDL_VIEW_UNIVERSAL_IDENTIFIERS.enrichedCompanies, -}); diff --git a/packages/twenty-apps/internal/people-data-labs/src/navigation-menu-items/enriched-people.navigation-menu-item.ts b/packages/twenty-apps/internal/people-data-labs/src/navigation-menu-items/enriched-people.navigation-menu-item.ts deleted file mode 100644 index 375ba7e7b4..0000000000 --- a/packages/twenty-apps/internal/people-data-labs/src/navigation-menu-items/enriched-people.navigation-menu-item.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { NavigationMenuItemType, defineNavigationMenuItem } from 'twenty-sdk/define'; - -import { - PDL_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIERS, - PDL_VIEW_UNIVERSAL_IDENTIFIERS, -} from 'src/constants/universal-identifiers'; - -export default defineNavigationMenuItem({ - universalIdentifier: - PDL_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIERS.enrichedPeople, - type: NavigationMenuItemType.VIEW, - icon: 'IconSparkles', - position: 0, - folderUniversalIdentifier: - PDL_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIERS.folder, - viewUniversalIdentifier: PDL_VIEW_UNIVERSAL_IDENTIFIERS.enrichedPeople, -}); diff --git a/packages/twenty-apps/internal/people-data-labs/src/navigation-menu-items/people-data-labs-folder.navigation-menu-item.ts b/packages/twenty-apps/internal/people-data-labs/src/navigation-menu-items/people-data-labs-folder.navigation-menu-item.ts deleted file mode 100644 index 101245ed75..0000000000 --- a/packages/twenty-apps/internal/people-data-labs/src/navigation-menu-items/people-data-labs-folder.navigation-menu-item.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { - NavigationMenuItemType, - defineNavigationMenuItem, -} from 'twenty-sdk/define'; - -import { PDL_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIERS } from 'src/constants/universal-identifiers'; - -export default defineNavigationMenuItem({ - universalIdentifier: PDL_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIERS.folder, - type: NavigationMenuItemType.FOLDER, - name: 'People Data Labs', - icon: 'IconSparkles', - position: 0, -});