People data labs app: remove navigation menu items (#21478)
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. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/twentyhq/twenty/pull/21478?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
This commit is contained in:
@@ -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',
|
||||
|
||||
-17
@@ -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,
|
||||
});
|
||||
-17
@@ -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,
|
||||
});
|
||||
-14
@@ -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,
|
||||
});
|
||||
Reference in New Issue
Block a user