Skip to content

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.

fix(core): first page (#3744)

Alex Yang623fa87d5c9e
diff --git a/packages/infra/src/blocksuite/index.ts b/packages/infra/src/blocksuite/index.ts
index cf0cca60ac..509d11a6e4 100644
--- a/packages/infra/src/blocksuite/index.ts
+++ b/packages/infra/src/blocksuite/index.ts
@@ -67,18 +67,18 @@ export async function buildShowcaseWorkspace(workspace: Workspace) {
};
workspace.meta.setProperties(prototypes);
const pageMetas = {
- 'F1SX6cgNxy-hello-world': {
- createDate: 1691548220794,
- tags: [],
- jumpOnce: true,
- updatedDate: 1691676775642,
- favorite: false,
- },
- gc5FeppNDv: {
+ 'gc5FeppNDv-hello-world': {
createDate: 1691548231530,
tags: ['ZHBa2NtdSo', 'QYFD_HeQc-', 'wg-fBtd2eI'],
updatedDate: 1691676331623,
favorite: true,
+ jumpOnce: true,
+ },
+ F1SX6cgNxy: {
+ createDate: 1691548220794,
+ tags: [],
+ updatedDate: 1691676775642,
+ favorite: false,
},
'3R9X-gMh3m': {
createDate: 1691551731225,
@@ -137,8 +137,11 @@ export async function buildShowcaseWorkspace(workspace: Workspace) {
},
} satisfies Record<string, Partial<PageMeta>>;
const data = [
- ['F1SX6cgNxy-hello-world', import('@affine/templates/v1/preloading.json')],
- ['gc5FeppNDv', import('@affine/templates/v1/getting-started.json')],
+ [
+ 'gc5FeppNDv-hello-world',
+ import('@affine/templates/v1/getting-started.json'),
+ ],
+ ['F1SX6cgNxy', import('@affine/templates/v1/preloading.json')],
['3R9X-gMh3m', import('@affine/templates/v1/template-galleries.json')],
['z_v6LOqNpp', import('@affine/templates/v1/personal-home.json')],
['0N0WzwmtK_', import('@affine/templates/v1/working-home.json')],
diff --git a/packages/templates/v1/getting-started.json b/packages/templates/v1/getting-started.json
index 5424072078..9d981c8f05 100644
--- a/packages/templates/v1/getting-started.json
+++ b/packages/templates/v1/getting-started.json
@@ -234,7 +234,7 @@
"attributes": {
"reference": {
"type": "LinkedPage",
- "pageId": "F1SX6cgNxy-hello-world"
+ "pageId": "F1SX6cgNxy"
}
}
},