[COMMAND MENU ITEMS] Remove object metadata name from search commands (#19435)

Command menu items label become "Search" instead of "Search companies"
or "Search people" since the search is made across all objects.
This commit is contained in:
Raphaël Bosi
2026-04-08 15:15:26 +02:00
committed by GitHub
parent 3306d66f5b
commit 31b6dbc583
3 changed files with 143 additions and 2 deletions
@@ -605,7 +605,7 @@ export const STANDARD_COMMAND_MENU_ITEMS = {
},
searchRecords: {
universalIdentifier: 'fa24e25e-68f8-4548-82ff-c7b5168b7c7d',
label: 'Search ${capitalize(objectMetadataItem.labelPlural)}',
label: 'Search',
icon: 'IconSearch',
isPinned: false,
position: 40,
@@ -619,7 +619,7 @@ export const STANDARD_COMMAND_MENU_ITEMS = {
},
searchRecordsFallback: {
universalIdentifier: 'c659890c-7266-46c9-bfe1-75cefff8b6d0',
label: 'Search ${capitalize(objectMetadataItem.labelPlural)}',
label: 'Search',
icon: 'IconSearch',
isPinned: false,
position: 41,