mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 02:56:23 +08:00
feat(core): add createdBy property to default property (#8642)
close AF-1563
This commit is contained in:
@@ -33,4 +33,10 @@ export const BUILT_IN_CUSTOM_PROPERTY_TYPE = [
|
||||
type: 'updatedAt',
|
||||
index: 'a0000005',
|
||||
},
|
||||
{
|
||||
id: 'createdBy',
|
||||
type: 'createdBy',
|
||||
show: 'always-hide',
|
||||
index: 'a0000006',
|
||||
},
|
||||
] as DocCustomPropertyInfo[];
|
||||
|
||||
@@ -128,6 +128,7 @@ test('property table reordering', async ({ page }) => {
|
||||
'Journal',
|
||||
'Created at',
|
||||
'Updated at',
|
||||
'Created by',
|
||||
'Number',
|
||||
'Date',
|
||||
'Checkbox',
|
||||
@@ -170,6 +171,7 @@ test('page info show more will show all properties', async ({ page }) => {
|
||||
'Journal',
|
||||
'Created at',
|
||||
'Updated at',
|
||||
'Created by',
|
||||
'Text',
|
||||
'Number',
|
||||
'Date',
|
||||
|
||||
Reference in New Issue
Block a user