From 207343c9237bf6d39d7915f185d2ee6d4aa81784 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Mon, 14 Aug 2023 19:16:46 -0400 Subject: [PATCH] fix(core): first page (#3744) (cherry picked from commit 623fa87d5c9e203f9326115820e62f53a738360a) --- packages/infra/src/blocksuite/index.ts | 23 ++++++++++++---------- packages/templates/v1/getting-started.json | 2 +- 2 files changed, 14 insertions(+), 11 deletions(-) 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>; 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" } } },