Add back pickers on all pages, fix command menu (#2662)

* Add back pickers on all pages, fix command menu

* Fix lint
This commit is contained in:
Charles Bochet
2023-11-22 22:32:25 +01:00
committed by GitHub
parent 41c0cebf48
commit ec3cfe6fdb
42 changed files with 425 additions and 300 deletions

View File

@ -63,6 +63,7 @@ const opportunityMetadata = {
},
description: 'Opportunity pipeline step',
icon: 'IconKanban',
isSystem: true,
isNullable: true,
},
{
@ -90,6 +91,7 @@ const opportunityMetadata = {
description: 'Opportunity person',
icon: 'IconUser',
isNullable: true,
isSystem: true,
},
{
isCustom: false,

View File

@ -23,7 +23,7 @@ const personMetadata = {
},
description: 'Contacts name',
icon: 'IconUser',
isNullable: false,
isNullable: true,
},
{
isCustom: false,
@ -116,7 +116,7 @@ const personMetadata = {
},
description: 'Contacts avatar',
icon: 'IconFileUpload',
isNullable: false,
isNullable: true,
},
// Relations
{
@ -151,8 +151,8 @@ const personMetadata = {
label: 'POC for Opportunities',
targetColumnMap: {},
description: 'Point of Contact for Opportunities',
icon: 'IconArrowTarget',
isNullable: false,
icon: 'IconTargetArrow',
isNullable: true,
},
{
isCustom: false,

View File

@ -47,7 +47,7 @@ export const basicFieldsMetadata: Partial<FieldMetadataEntity>[] = [
value: 'id',
},
isNullable: true,
// isSystem: true,
isSystem: true,
isCustom: false,
isActive: true,
defaultValue: { type: 'uuid' },
@ -75,6 +75,7 @@ export const basicFieldsMetadata: Partial<FieldMetadataEntity>[] = [
icon: 'IconCalendar',
isNullable: true,
isCustom: false,
isSystem: true,
isActive: true,
defaultValue: { type: 'now' },
},