There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
feat(core): add createdBy property to default property (#8642)
JimmFly0f9d11fd5c2e
diff --git a/packages/common/infra/src/modules/doc/constants.ts b/packages/common/infra/src/modules/doc/constants.tsindex 1aaf11f837..2fea3f35d5 100644--- a/packages/common/infra/src/modules/doc/constants.ts+++ b/packages/common/infra/src/modules/doc/constants.ts@@ -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[];diff --git a/tests/affine-local/e2e/page-properties.spec.ts b/tests/affine-local/e2e/page-properties.spec.tsindex 11e9dadf87..474735d1a8 100644--- a/tests/affine-local/e2e/page-properties.spec.ts+++ b/tests/affine-local/e2e/page-properties.spec.ts@@ -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',