diff --git a/packages/common/infra/src/blocksuite/initialization/index.ts b/packages/common/infra/src/blocksuite/initialization/index.ts index e5b1ffa7b6..28756701eb 100644 --- a/packages/common/infra/src/blocksuite/initialization/index.ts +++ b/packages/common/infra/src/blocksuite/initialization/index.ts @@ -100,13 +100,13 @@ export async function buildShowcaseWorkspace( store.set(atoms.pageMode, edgelessPage1, 'edgeless'); } - // should jump to "Getting Started" by default - const gettingStartedPage = (workspace.meta.pages as PageMeta[])?.find(p => - p.title.startsWith('Getting Started') + // should jump to "AFFiNE - not just a note-taking app" by default + const defaultPage = (workspace.meta.pages as PageMeta[])?.find(p => + p.title.startsWith('AFFiNE - not just a note-taking app') )?.id; - if (gettingStartedPage) { - workspace.setPageMeta(gettingStartedPage, { + if (defaultPage) { + workspace.setPageMeta(defaultPage, { jumpOnce: true, }); } diff --git a/packages/frontend/core/public/static/029uztLz2CzJezK7UUhrbGiWUdZ0J7NVs_qR6RDsvb8=.png b/packages/frontend/core/public/static/029uztLz2CzJezK7UUhrbGiWUdZ0J7NVs_qR6RDsvb8=.png deleted file mode 100644 index 50f5f4a79c..0000000000 Binary files a/packages/frontend/core/public/static/029uztLz2CzJezK7UUhrbGiWUdZ0J7NVs_qR6RDsvb8=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/0hjYqQd8SvwHT2gPds7qFw8W6qIEGVbZvG45uzoYjUU=.png b/packages/frontend/core/public/static/0hjYqQd8SvwHT2gPds7qFw8W6qIEGVbZvG45uzoYjUU=.png deleted file mode 100644 index 5ed2a396e0..0000000000 Binary files a/packages/frontend/core/public/static/0hjYqQd8SvwHT2gPds7qFw8W6qIEGVbZvG45uzoYjUU=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/4HXJrnBZGaGPFpowNawNog0aMg3dgoVaAnNqEMeUxq0=.png b/packages/frontend/core/public/static/4HXJrnBZGaGPFpowNawNog0aMg3dgoVaAnNqEMeUxq0=.png deleted file mode 100644 index 27a179798f..0000000000 Binary files a/packages/frontend/core/public/static/4HXJrnBZGaGPFpowNawNog0aMg3dgoVaAnNqEMeUxq0=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/5Cfem_137WmzR35ZeIC76oTkq5SQt-eHlZwJiLy0hgU=.png b/packages/frontend/core/public/static/5Cfem_137WmzR35ZeIC76oTkq5SQt-eHlZwJiLy0hgU=.png deleted file mode 100644 index 0f9fffb635..0000000000 Binary files a/packages/frontend/core/public/static/5Cfem_137WmzR35ZeIC76oTkq5SQt-eHlZwJiLy0hgU=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/8oj6ym4HlTcshT40Zn6D5DeOgaVCSOOXJvT_EyiqUw8=.png b/packages/frontend/core/public/static/8oj6ym4HlTcshT40Zn6D5DeOgaVCSOOXJvT_EyiqUw8=.png deleted file mode 100644 index 6b301c078d..0000000000 Binary files a/packages/frontend/core/public/static/8oj6ym4HlTcshT40Zn6D5DeOgaVCSOOXJvT_EyiqUw8=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/9vXwWGEX5W9v5pzwpu0eK4pf22DZ_sCloO0zCH1aVQ4=.png b/packages/frontend/core/public/static/9vXwWGEX5W9v5pzwpu0eK4pf22DZ_sCloO0zCH1aVQ4=.png deleted file mode 100644 index d4075df77e..0000000000 Binary files a/packages/frontend/core/public/static/9vXwWGEX5W9v5pzwpu0eK4pf22DZ_sCloO0zCH1aVQ4=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/Bd5F0WRI0fLh8RK1al9PawPVT3jv7VwBrqiiBEtdV-g=.png b/packages/frontend/core/public/static/Bd5F0WRI0fLh8RK1al9PawPVT3jv7VwBrqiiBEtdV-g=.png deleted file mode 100644 index d62ea0d0f0..0000000000 Binary files a/packages/frontend/core/public/static/Bd5F0WRI0fLh8RK1al9PawPVT3jv7VwBrqiiBEtdV-g=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/CBWoKrhSDndjBJzscQKENRqiXOOZnzIA5qyiCoy4-A0=.png b/packages/frontend/core/public/static/CBWoKrhSDndjBJzscQKENRqiXOOZnzIA5qyiCoy4-A0=.png deleted file mode 100644 index aeaf8c48ac..0000000000 Binary files a/packages/frontend/core/public/static/CBWoKrhSDndjBJzscQKENRqiXOOZnzIA5qyiCoy4-A0=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/D7g-4LMqOsVWBNOD-_kGgCOvJEoc8rcpYbkfDlF2u5U=.png b/packages/frontend/core/public/static/D7g-4LMqOsVWBNOD-_kGgCOvJEoc8rcpYbkfDlF2u5U=.png deleted file mode 100644 index c913cab1b1..0000000000 Binary files a/packages/frontend/core/public/static/D7g-4LMqOsVWBNOD-_kGgCOvJEoc8rcpYbkfDlF2u5U=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/Vqc8rxFbGyc5L1QeE_Zr10XEcIai_0Xw4Qv6d3ldRPE=.png b/packages/frontend/core/public/static/Vqc8rxFbGyc5L1QeE_Zr10XEcIai_0Xw4Qv6d3ldRPE=.png deleted file mode 100644 index 54d0a94745..0000000000 Binary files a/packages/frontend/core/public/static/Vqc8rxFbGyc5L1QeE_Zr10XEcIai_0Xw4Qv6d3ldRPE=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/VuXYyM9JUv1Fv_qjg1v5Go4Zksz0r4NXFeh3Na7JkIc=.png b/packages/frontend/core/public/static/VuXYyM9JUv1Fv_qjg1v5Go4Zksz0r4NXFeh3Na7JkIc=.png deleted file mode 100644 index 7b99e76507..0000000000 Binary files a/packages/frontend/core/public/static/VuXYyM9JUv1Fv_qjg1v5Go4Zksz0r4NXFeh3Na7JkIc=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/bfXllFddegV9vvxPcSWnOtm-_tuzXm-0OQ59z9Su1zA=.png b/packages/frontend/core/public/static/bfXllFddegV9vvxPcSWnOtm-_tuzXm-0OQ59z9Su1zA=.png deleted file mode 100644 index 08bb6a338f..0000000000 Binary files a/packages/frontend/core/public/static/bfXllFddegV9vvxPcSWnOtm-_tuzXm-0OQ59z9Su1zA=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/cw9XjQ-pCeSW7LKMzVREGHeCPTXWYbtE-QbZLEY3RrI=.png b/packages/frontend/core/public/static/cw9XjQ-pCeSW7LKMzVREGHeCPTXWYbtE-QbZLEY3RrI=.png deleted file mode 100644 index ba1432f399..0000000000 Binary files a/packages/frontend/core/public/static/cw9XjQ-pCeSW7LKMzVREGHeCPTXWYbtE-QbZLEY3RrI=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/f9yKnlNMgKhF-CxOgHBsXkxfViCCkC6KwTv6Uj2Fcjw=.png b/packages/frontend/core/public/static/f9yKnlNMgKhF-CxOgHBsXkxfViCCkC6KwTv6Uj2Fcjw=.png deleted file mode 100644 index 07ada56265..0000000000 Binary files a/packages/frontend/core/public/static/f9yKnlNMgKhF-CxOgHBsXkxfViCCkC6KwTv6Uj2Fcjw=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/fb0SNPtMpQlzBQ90_PB7vCu34WpiSUJbNKocFkL2vIo=.png b/packages/frontend/core/public/static/fb0SNPtMpQlzBQ90_PB7vCu34WpiSUJbNKocFkL2vIo=.png deleted file mode 100644 index b57d8358ab..0000000000 Binary files a/packages/frontend/core/public/static/fb0SNPtMpQlzBQ90_PB7vCu34WpiSUJbNKocFkL2vIo=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/gZLmSgmwumNdgf0eIfOSW44emctrLyFUaZapbk8eZ6s=.png b/packages/frontend/core/public/static/gZLmSgmwumNdgf0eIfOSW44emctrLyFUaZapbk8eZ6s=.png deleted file mode 100644 index 59dd5eaeb6..0000000000 Binary files a/packages/frontend/core/public/static/gZLmSgmwumNdgf0eIfOSW44emctrLyFUaZapbk8eZ6s=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/i39ZQ24NlUfWI0MhkbtvHTzGnWMVdr-aC2aOjvHPVg4=.png b/packages/frontend/core/public/static/i39ZQ24NlUfWI0MhkbtvHTzGnWMVdr-aC2aOjvHPVg4=.png deleted file mode 100644 index 231b54e25d..0000000000 Binary files a/packages/frontend/core/public/static/i39ZQ24NlUfWI0MhkbtvHTzGnWMVdr-aC2aOjvHPVg4=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/k07JiWnb-S7qgd9gDQNgqo-LYMe03RX8fR0TXQ-SpG4=.png b/packages/frontend/core/public/static/k07JiWnb-S7qgd9gDQNgqo-LYMe03RX8fR0TXQ-SpG4=.png deleted file mode 100644 index 320252758c..0000000000 Binary files a/packages/frontend/core/public/static/k07JiWnb-S7qgd9gDQNgqo-LYMe03RX8fR0TXQ-SpG4=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/nSEEkYxrThpZfLoPNOzMp6HWekvutAIYmADElDe1J6I=.png b/packages/frontend/core/public/static/nSEEkYxrThpZfLoPNOzMp6HWekvutAIYmADElDe1J6I=.png deleted file mode 100644 index a9e99ebddb..0000000000 Binary files a/packages/frontend/core/public/static/nSEEkYxrThpZfLoPNOzMp6HWekvutAIYmADElDe1J6I=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/pIqdA3pM1la1gKzxOmAcpLmTh3yXBrL9mGTz_hGj5xE=.png b/packages/frontend/core/public/static/pIqdA3pM1la1gKzxOmAcpLmTh3yXBrL9mGTz_hGj5xE=.png deleted file mode 100644 index fa838d643d..0000000000 Binary files a/packages/frontend/core/public/static/pIqdA3pM1la1gKzxOmAcpLmTh3yXBrL9mGTz_hGj5xE=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/qezoK6du9n3PF4dl4aq5r7LeXz_sV3xOVpFzVVgjNsE=.png b/packages/frontend/core/public/static/qezoK6du9n3PF4dl4aq5r7LeXz_sV3xOVpFzVVgjNsE=.png deleted file mode 100644 index aa059d52b6..0000000000 Binary files a/packages/frontend/core/public/static/qezoK6du9n3PF4dl4aq5r7LeXz_sV3xOVpFzVVgjNsE=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/rY96Bunn-69CnNe5X_e5CJLwgCJnN6rcbUisecs8kkQ=.png b/packages/frontend/core/public/static/rY96Bunn-69CnNe5X_e5CJLwgCJnN6rcbUisecs8kkQ=.png deleted file mode 100644 index e5734eb915..0000000000 Binary files a/packages/frontend/core/public/static/rY96Bunn-69CnNe5X_e5CJLwgCJnN6rcbUisecs8kkQ=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/sNVNYDBzUDN2J9OFVJdLJlryBLzRZBLl-4MTNoPF1tA=.png b/packages/frontend/core/public/static/sNVNYDBzUDN2J9OFVJdLJlryBLzRZBLl-4MTNoPF1tA=.png deleted file mode 100644 index 931a08dc2d..0000000000 Binary files a/packages/frontend/core/public/static/sNVNYDBzUDN2J9OFVJdLJlryBLzRZBLl-4MTNoPF1tA=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/uvpOG9DrldeqIGNaqfwjFdMw_CcfXKfiEjYf7RXdeL0=.png b/packages/frontend/core/public/static/uvpOG9DrldeqIGNaqfwjFdMw_CcfXKfiEjYf7RXdeL0=.png deleted file mode 100644 index 3bbc22cefb..0000000000 Binary files a/packages/frontend/core/public/static/uvpOG9DrldeqIGNaqfwjFdMw_CcfXKfiEjYf7RXdeL0=.png and /dev/null differ diff --git a/packages/frontend/core/public/static/v2yF7lY2L5rtorTtTmYFsoMb9dBPKs5M1y9cUKxcI1M=.png b/packages/frontend/core/public/static/v2yF7lY2L5rtorTtTmYFsoMb9dBPKs5M1y9cUKxcI1M=.png deleted file mode 100644 index 02627f54c2..0000000000 Binary files a/packages/frontend/core/public/static/v2yF7lY2L5rtorTtTmYFsoMb9dBPKs5M1y9cUKxcI1M=.png and /dev/null differ diff --git a/packages/frontend/templates/onboarding/-P-O4GSfVGTkI16zJRVa4.snapshot.json b/packages/frontend/templates/onboarding/-P-O4GSfVGTkI16zJRVa4.snapshot.json deleted file mode 100644 index 58cf1f459a..0000000000 --- a/packages/frontend/templates/onboarding/-P-O4GSfVGTkI16zJRVa4.snapshot.json +++ /dev/null @@ -1,211 +0,0 @@ -{ - "type": "page", - "meta": { - "id": "-P-O4GSfVGTkI16zJRVa4", - "title": "Templates Galleries ", - "createDate": 1691551731225, - "tags": [] - }, - "blocks": { - "type": "block", - "id": "Tz41kDyemg", - "flavour": "affine:page", - "props": { - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Templates Galleries " - } - ] - } - }, - "children": [ - { - "type": "block", - "id": "PCxQvHuwt1", - "flavour": "affine:surface", - "props": { - "elements": {} - }, - "children": [] - }, - { - "type": "block", - "id": "PMY4JPuq4o", - "flavour": "affine:note", - "props": { - "xywh": "[0,0,800,529]", - "background": "--affine-background-secondary-color", - "index": "a0", - "hidden": false, - "edgeless": { - "style": { - "borderRadius": 8, - "borderSize": 4, - "borderStyle": "solid", - "shadowType": "--affine-note-shadow-box" - } - } - }, - "children": [ - { - "type": "block", - "id": "1KJadeDAj-", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "_a8e4OM_PP", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "No matter if you're " - }, - { - "insert": "organizing your personal life", - "attributes": { - "bold": true - } - }, - { - "insert": " or " - }, - { - "insert": "getting things done at work", - "attributes": { - "bold": true - } - }, - { - "insert": ", our templates galleries have got you covered! " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "ndmUz6zEr1", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Here We offer a wide range of resources to meet your unique needs and help you achieve your goals, whether in your personal or professional life." - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "yIcapYtWKm", - "flavour": "affine:divider", - "props": {}, - "children": [] - }, - { - "type": "block", - "id": "gPqHv8Whaq", - "flavour": "affine:paragraph", - "props": { - "type": "quote", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Tired of managing your notes or coming up with a effient work plan? Whether you're a student, parent, or have diverse interests, here we provide a few templates to kick off your journey and unlock your true potential with AFFiNE and reap incredible benefits." - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "pp12c2slOV", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": " ", - "attributes": { - "reference": { - "type": "LinkedPage", - "pageId": "0nee_XzkrN23Xy7HMoXL-" - } - } - }, - { - "insert": " " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "VyoH5kUerc", - "flavour": "affine:paragraph", - "props": { - "type": "quote", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Staying organized and efficient in a dynamic work environment is essential for today's working people. AFFiNE elevates productivity for project managers, software engineers, and professionals alike. We're excited to provide insights into how AFFiNE transforms work life. " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "XvCeZ-f-ib", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": " ", - "attributes": { - "reference": { - "type": "LinkedPage", - "pageId": "nPPyOV0JBNKu5hvW9hE00" - } - } - } - ] - } - }, - "children": [] - } - ] - } - ] - } -} \ No newline at end of file diff --git a/packages/frontend/templates/onboarding/0nee_XzkrN23Xy7HMoXL-.snapshot.json b/packages/frontend/templates/onboarding/0nee_XzkrN23Xy7HMoXL-.snapshot.json deleted file mode 100644 index 69b15f5ddd..0000000000 --- a/packages/frontend/templates/onboarding/0nee_XzkrN23Xy7HMoXL-.snapshot.json +++ /dev/null @@ -1,178 +0,0 @@ -{ - "type": "page", - "meta": { - "id": "0nee_XzkrN23Xy7HMoXL-", - "title": "Personal Home", - "createDate": 1691552082822, - "tags": [] - }, - "blocks": { - "type": "block", - "id": "QmQb34xduM", - "flavour": "affine:page", - "props": { - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Personal Home" - } - ] - } - }, - "children": [ - { - "type": "block", - "id": "f4WAKZ67ki", - "flavour": "affine:surface", - "props": { - "elements": {} - }, - "children": [] - }, - { - "type": "block", - "id": "xj7QSmgQgT", - "flavour": "affine:note", - "props": { - "xywh": "[0,0,800,547]", - "background": "--affine-background-secondary-color", - "index": "a0", - "hidden": false, - "edgeless": { - "style": { - "borderRadius": 8, - "borderSize": 4, - "borderStyle": "solid", - "shadowType": "--affine-note-shadow-box" - } - } - }, - "children": [ - { - "type": "block", - "id": "qlnEliaAwr", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "U6w_UTi2p5", - "flavour": "affine:list", - "props": { - "type": "bulleted", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": " ", - "attributes": { - "reference": { - "type": "LinkedPage", - "pageId": "e5cYLNpIRUb-nwpSZGdix" - } - } - }, - { - "insert": " " - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - }, - { - "type": "block", - "id": "YN7S4Pe19c", - "flavour": "affine:paragraph", - "props": { - "type": "quote", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Personal knowledge management (PKM for short) is " - }, - { - "insert": "the process of collecting, organizing, and storing information", - "attributes": { - "bold": true - } - }, - { - "insert": ", so it's easier to search for, retrieve, share, expand upon, and use later on." - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "V9nK8F7B0R", - "flavour": "affine:divider", - "props": {}, - "children": [] - }, - { - "type": "block", - "id": "jj-qOseCj-", - "flavour": "affine:list", - "props": { - "type": "bulleted", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": " ", - "attributes": { - "reference": { - "type": "LinkedPage", - "pageId": "Scod6coKmJJ-waH1-jkiW" - } - } - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - }, - { - "type": "block", - "id": "hgSgQdYwWJ", - "flavour": "affine:paragraph", - "props": { - "type": "quote", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "An event planning template ", - "attributes": { - "bold": true - } - }, - { - "insert": "is an efficient framework that details the steps you and your team need to consider taking to plan and execute a successful event." - } - ] - } - }, - "children": [] - } - ] - } - ] - } -} \ No newline at end of file diff --git a/packages/frontend/templates/onboarding/GWsRbUtMF4Ee6foVg-H9R.snapshot.json b/packages/frontend/templates/onboarding/GWsRbUtMF4Ee6foVg-H9R.snapshot.json deleted file mode 100644 index e134df4fb6..0000000000 --- a/packages/frontend/templates/onboarding/GWsRbUtMF4Ee6foVg-H9R.snapshot.json +++ /dev/null @@ -1,310 +0,0 @@ -{ - "type": "page", - "meta": { - "id": "GWsRbUtMF4Ee6foVg-H9R", - "title": "Meeting Summary ", - "createDate": 1691635388447, - "tags": [ - "Oe5dSe1DDJ" - ] - }, - "blocks": { - "type": "block", - "id": "EYboj1it1i", - "flavour": "affine:page", - "props": { - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Meeting Summary " - } - ] - } - }, - "children": [ - { - "type": "block", - "id": "86K_nlhKXG", - "flavour": "affine:surface", - "props": { - "elements": {} - }, - "children": [] - }, - { - "type": "block", - "id": "q7fYMX90uJ", - "flavour": "affine:note", - "props": { - "xywh": "[0,0,800,1237]", - "background": "--affine-background-secondary-color", - "index": "a0", - "hidden": false, - "edgeless": { - "style": { - "borderRadius": 8, - "borderSize": 4, - "borderStyle": "solid", - "shadowType": "--affine-note-shadow-box" - } - } - }, - "children": [ - { - "type": "block", - "id": "IuRC73HZLH", - "flavour": "affine:image", - "props": { - "caption": "", - "sourceId": "/static/f9yKnlNMgKhF-CxOgHBsXkxfViCCkC6KwTv6Uj2Fcjw=.png", - "width": 752, - "height": 501.6328125, - "index": "a0", - "xywh": "[0,0,0,0]", - "rotate": 0, - "size": -1 - }, - "children": [] - }, - { - "type": "block", - "id": "YuOqeDHzoe", - "flavour": "affine:paragraph", - "props": { - "type": "quote", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Project:" - }, - { - "insert": " [Link the project plan]\n", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - }, - { - "insert": "]Attendees: " - }, - { - "insert": "[@mention teammates]", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - }, - { - "insert": "\nDate & Time:" - }, - { - "insert": " [type /today]", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "jPGxHHA_QX", - "flavour": "affine:paragraph", - "props": { - "type": "h1", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Agenda" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "sCk70nT5eX", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Write down the main topic to discuss." - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "iKwcxVFpCH", - "flavour": "affine:list", - "props": { - "type": "bulleted", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "E.g. content roadmap" - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - }, - { - "type": "block", - "id": "RPED0t8fSj", - "flavour": "affine:list", - "props": { - "type": "bulleted", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Get aligned on the main upcoming topics" - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - }, - { - "type": "block", - "id": "D3Y93H8WvU", - "flavour": "affine:paragraph", - "props": { - "type": "h1", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Notes" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "BfO7S4Gkfm", - "flavour": "affine:paragraph", - "props": { - "type": "quote", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Cover any key information discussed in the meeting." - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "Stcz30R0Ad", - "flavour": "affine:paragraph", - "props": { - "type": "h1", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Outcomes" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "YKIkBUmv01", - "flavour": "affine:paragraph", - "props": { - "type": "quote", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Summarize key decisions in a tidy paragraph and communicate them to the team." - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "JzAgpzljrp", - "flavour": "affine:paragraph", - "props": { - "type": "h1", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Action items" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "FSkrwB-T33", - "flavour": "affine:list", - "props": { - "type": "todo", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "E.g. @jess review the content roadmap" - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - }, - { - "type": "block", - "id": "abGz-82vvA", - "flavour": "affine:list", - "props": { - "type": "todo", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "E.g. @mike contact copywriter freelancers" - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - } - ] - } - ] - } -} \ No newline at end of file diff --git a/packages/frontend/templates/onboarding/RCpxnWMtBWmUZy5awgJBh.snapshot.json b/packages/frontend/templates/onboarding/RCpxnWMtBWmUZy5awgJBh.snapshot.json deleted file mode 100644 index 49e6b5182d..0000000000 --- a/packages/frontend/templates/onboarding/RCpxnWMtBWmUZy5awgJBh.snapshot.json +++ /dev/null @@ -1,457 +0,0 @@ -{ - "type": "page", - "meta": { - "id": "RCpxnWMtBWmUZy5awgJBh", - "title": "OKR Template", - "createDate": 1691636192263, - "tags": [ - "q3mceOl_zi", - "g1L5dXKctL" - ] - }, - "blocks": { - "type": "block", - "id": "0tJt1nfXpr", - "flavour": "affine:page", - "props": { - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "OKR Template" - } - ] - } - }, - "children": [ - { - "type": "block", - "id": "-SeDPuI6pE", - "flavour": "affine:surface", - "props": { - "elements": {} - }, - "children": [] - }, - { - "type": "block", - "id": "gjPKqwOdlZ", - "flavour": "affine:note", - "props": { - "xywh": "[0,0,800,1418]", - "background": "--affine-background-secondary-color", - "index": "a0", - "hidden": false, - "edgeless": { - "style": { - "borderRadius": 8, - "borderSize": 4, - "borderStyle": "solid", - "shadowType": "--affine-note-shadow-box" - } - } - }, - "children": [ - { - "type": "block", - "id": "syUYSO6Hlw", - "flavour": "affine:image", - "props": { - "caption": "", - "sourceId": "/static/VuXYyM9JUv1Fv_qjg1v5Go4Zksz0r4NXFeh3Na7JkIc=.png", - "width": 752, - "height": 501.2734375, - "index": "a0", - "xywh": "[0,0,0,0]", - "rotate": 0, - "size": -1 - }, - "children": [] - }, - { - "type": "block", - "id": "B12ua5IVdH", - "flavour": "affine:paragraph", - "props": { - "type": "quote", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Using " - }, - { - "insert": "OKR (Objectives and Key Results)", - "attributes": { - "link": "https://en.wikipedia.org/wiki/Objectives_and_key_results" - } - }, - { - "insert": " helps teams work together to create and break down their goals. They also figure out how to reach those goals and use their own ideas and creativity. Every week, the team checks in to make sure everyone understands the goals, shares their thoughts, and makes changes as needed to get the job done well and quickly." - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "UWKiht4_yF", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "tsqRR7Aqqe", - "flavour": "affine:paragraph", - "props": { - "type": "h2", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "I. Synchronization of team OKR progress " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "TzALQTyjsF", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "-RNdJMcB-M", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "All team members collectively update the latest progress and the next step plan for the person responsible for the OKR. These updates are discussed during the weekly Team OKR meeting." - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "_E43A1XjkR", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "lbLc-rsTQ_", - "flavour": "affine:paragraph", - "props": { - "type": "h1", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "O1: Fourth quarter revenue 1 million " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "IbLsSTqZWu", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "LfH4-lvRy1", - "flavour": "affine:database", - "props": { - "views": [ - { - "id": "BjTEwK-3iR", - "name": "table", - "mode": "table", - "columns": [ - { - "id": "f15PcPjtU8", - "width": 246 - }, - { - "id": "LfH4-lvRy1", - "hide": false, - "width": 260 - }, - { - "id": "ftL1qPRgYl", - "hide": false, - "width": 200 - }, - { - "id": "3s4GtwNZTH", - "hide": false, - "width": 108 - }, - { - "id": "IwZCoBvV9W", - "hide": false, - "width": 142 - } - ], - "filter": { - "type": "group", - "op": "and", - "conditions": [] - } - } - ], - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "KR setting & reviewing " - } - ] - }, - "cells": { - "C75yOBGfeP": { - "ftL1qPRgYl": { - "columnId": "ftL1qPRgYl", - "value": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "the planning case has been reviewed, see doc for details " - } - ] - } - }, - "IwZCoBvV9W": { - "columnId": "IwZCoBvV9W", - "value": 85 - } - }, - "iouBY8Zk33": { - "ftL1qPRgYl": { - "columnId": "ftL1qPRgYl", - "value": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "worning on it " - } - ] - } - }, - "IwZCoBvV9W": { - "columnId": "IwZCoBvV9W", - "value": 46 - }, - "3s4GtwNZTH": { - "columnId": "3s4GtwNZTH", - "value": "Qp1kGLAbfE" - } - }, - "jRFdpU21Jf": { - "ftL1qPRgYl": { - "columnId": "ftL1qPRgYl", - "value": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "waiting " - } - ] - } - }, - "IwZCoBvV9W": { - "columnId": "IwZCoBvV9W", - "value": 3 - }, - "3s4GtwNZTH": { - "columnId": "3s4GtwNZTH", - "value": "yCF1NgLWhh" - } - }, - "CLLfj990JA": { - "ftL1qPRgYl": { - "columnId": "ftL1qPRgYl", - "value": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "The planning case has been reviewed, see doc for details " - } - ] - } - }, - "IwZCoBvV9W": { - "columnId": "IwZCoBvV9W", - "value": 70 - }, - "3s4GtwNZTH": { - "columnId": "3s4GtwNZTH", - "value": "KHKc4e79W8" - } - } - }, - "columns": [ - { - "id": "f15PcPjtU8", - "type": "title", - "name": "Key Resluts ", - "data": {} - }, - { - "type": "title", - "id": "LfH4-lvRy1", - "name": "Title", - "data": {} - }, - { - "type": "progress", - "name": "progress bar ", - "data": {}, - "id": "IwZCoBvV9W" - }, - { - "type": "rich-text", - "name": "Notes ", - "data": { - "options": [] - }, - "id": "ftL1qPRgYl" - }, - { - "type": "select", - "name": "priority ", - "data": { - "options": [ - { - "id": "yCF1NgLWhh", - "value": "not urgent", - "color": "var(--affine-tag-blue)" - }, - { - "id": "Qp1kGLAbfE", - "value": "urgent", - "color": "var(--affine-tag-red)" - }, - { - "id": "KHKc4e79W8", - "value": "important", - "color": "var(--affine-tag-yellow)" - } - ] - }, - "id": "3s4GtwNZTH" - } - ] - }, - "children": [ - { - "type": "block", - "id": "CLLfj990JA", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "The campus activity was successfully released, and the exposure was not less than 1 million people" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "iouBY8Zk33", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "describe Key results " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "jRFdpU21Jf", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "KR1: Describe Key results " - } - ] - } - }, - "children": [] - } - ] - }, - { - "type": "block", - "id": "PmstSRjisx", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - } - ] - } - ] - } -} \ No newline at end of file diff --git a/packages/frontend/templates/onboarding/Scod6coKmJJ-waH1-jkiW.snapshot.json b/packages/frontend/templates/onboarding/Scod6coKmJJ-waH1-jkiW.snapshot.json deleted file mode 100644 index 01584cef2a..0000000000 --- a/packages/frontend/templates/onboarding/Scod6coKmJJ-waH1-jkiW.snapshot.json +++ /dev/null @@ -1,330 +0,0 @@ -{ - "type": "page", - "meta": { - "id": "Scod6coKmJJ-waH1-jkiW", - "title": "Brief Event planning ", - "createDate": 1691634722239, - "tags": [ - "ze07JVwBu4" - ] - }, - "blocks": { - "type": "block", - "id": "SMCf2aOH8T", - "flavour": "affine:page", - "props": { - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Brief Event planning " - } - ] - } - }, - "children": [ - { - "type": "block", - "id": "_07_dOaECY", - "flavour": "affine:surface", - "props": { - "elements": {} - }, - "children": [] - }, - { - "type": "block", - "id": "0n7YghSHPc", - "flavour": "affine:note", - "props": { - "xywh": "[0,0,800,527]", - "background": "--affine-background-secondary-color", - "index": "a0", - "hidden": false, - "edgeless": { - "style": { - "borderRadius": 8, - "borderSize": 4, - "borderStyle": "solid", - "shadowType": "--affine-note-shadow-box" - } - } - }, - "children": [ - { - "type": "block", - "id": "d6Alacwr32", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "9slwdYgqgq", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "An event brief outline the goals and key elements needed to plan a successful event. This AFFiNE Event Planning template will help you gain alignment and kick off your event planning. " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "6dH3Amz0rn", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "ObsV2gBxUe", - "flavour": "affine:database", - "props": { - "views": [ - { - "id": "sfIqqrnI2q", - "name": "table", - "mode": "table", - "columns": [ - { - "id": "WtNvmw4ls-", - "width": 186 - }, - { - "id": "ObsV2gBxUe", - "hide": false, - "width": 246 - }, - { - "id": "FCYCytB4wx", - "hide": false, - "width": 162 - }, - { - "id": "mGltZNTJmw", - "hide": false, - "width": 176 - }, - { - "id": "ozFBusFd0s", - "hide": false, - "width": 200 - } - ], - "filter": { - "type": "group", - "op": "and", - "conditions": [] - } - } - ], - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Event Planning" - } - ] - }, - "cells": { - "pFlIzSXLOj": { - "mGltZNTJmw": { - "columnId": "mGltZNTJmw", - "value": [ - "bsTnd_L1aE", - "oU49ElCHCG" - ] - }, - "FCYCytB4wx": { - "columnId": "FCYCytB4wx", - "value": 100 - }, - "ozFBusFd0s": { - "columnId": "ozFBusFd0s", - "value": "https://affine.pro/blog/free-event-planning-templates-for-professsional-2023" - } - }, - "4XPamQdWpq": { - "mGltZNTJmw": { - "columnId": "mGltZNTJmw", - "value": [ - "oU49ElCHCG", - "d6riek6K4d" - ] - }, - "FCYCytB4wx": { - "columnId": "FCYCytB4wx", - "value": 50 - } - }, - "3uJL-VNu7K": { - "mGltZNTJmw": { - "columnId": "mGltZNTJmw", - "value": [ - "bsTnd_L1aE", - "z3vOXFIT-T" - ] - }, - "FCYCytB4wx": { - "columnId": "FCYCytB4wx", - "value": 8 - } - } - }, - "columns": [ - { - "id": "WtNvmw4ls-", - "type": "title", - "name": "Title", - "data": {} - }, - { - "type": "title", - "id": "ObsV2gBxUe", - "name": "Title", - "data": {} - }, - { - "type": "multi-select", - "name": "Tag", - "data": { - "options": [ - { - "id": "z3vOXFIT-T", - "value": "not important", - "color": "var(--affine-tag-teal)" - }, - { - "id": "ZbJHxXJK3L", - "value": "nit important", - "color": "var(--affine-tag-pink)" - }, - { - "id": "d6riek6K4d", - "value": "important", - "color": "var(--affine-tag-yellow)" - }, - { - "id": "oU49ElCHCG", - "value": "urgent", - "color": "var(--affine-tag-purple)" - }, - { - "id": "bsTnd_L1aE", - "value": "must", - "color": "var(--affine-tag-green)" - }, - { - "id": "hHjqAauZu6", - "value": "urgent", - "color": "var(--affine-tag-gray)" - } - ] - }, - "id": "mGltZNTJmw" - }, - { - "type": "progress", - "name": "progress", - "data": {}, - "id": "FCYCytB4wx" - }, - { - "type": "link", - "name": "additional link ", - "data": {}, - "id": "ozFBusFd0s" - } - ] - }, - "children": [ - { - "type": "block", - "id": "pFlIzSXLOj", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "research" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "4XPamQdWpq", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "book accommondation" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "3uJL-VNu7K", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "arrange transportation " - } - ] - } - }, - "children": [] - } - ] - }, - { - "type": "block", - "id": "xf1m62_pbc", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - } - ] - } - ] - } -} \ No newline at end of file diff --git a/packages/frontend/templates/onboarding/b1F2xKjgZ4ISHhXNe1kck.snapshot.json b/packages/frontend/templates/onboarding/b1F2xKjgZ4ISHhXNe1kck.snapshot.json deleted file mode 100644 index 0406d5cf43..0000000000 --- a/packages/frontend/templates/onboarding/b1F2xKjgZ4ISHhXNe1kck.snapshot.json +++ /dev/null @@ -1,750 +0,0 @@ -{ - "type": "page", - "meta": { - "id": "b1F2xKjgZ4ISHhXNe1kck", - "title": "Annual Performance Review", - "createDate": 1691575011078, - "tags": [ - "8qcYPCTK0h" - ] - }, - "blocks": { - "type": "block", - "id": "mMBWzZtpvM", - "flavour": "affine:page", - "props": { - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Annual Performance Review" - } - ] - } - }, - "children": [ - { - "type": "block", - "id": "XSMCxudQf4", - "flavour": "affine:surface", - "props": { - "elements": {} - }, - "children": [] - }, - { - "type": "block", - "id": "2xxenQgE1-", - "flavour": "affine:note", - "props": { - "xywh": "[0,0,800,91]", - "background": "--affine-background-secondary-color", - "index": "a0", - "hidden": false, - "edgeless": { - "style": { - "borderRadius": 8, - "borderSize": 4, - "borderStyle": "solid", - "shadowType": "--affine-note-shadow-box" - } - } - }, - "children": [ - { - "type": "block", - "id": "G7wJk4W9lz", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - } - ] - }, - { - "type": "block", - "id": "ca2-VFQV45", - "flavour": "affine:note", - "props": { - "xywh": "[0,0,800,1719]", - "background": "--affine-background-secondary-color", - "index": "a0", - "hidden": false, - "edgeless": { - "style": { - "borderRadius": 8, - "borderSize": 4, - "borderStyle": "solid", - "shadowType": "--affine-note-shadow-box" - } - } - }, - "children": [ - { - "type": "block", - "id": "viFZDjrBqJ", - "flavour": "affine:image", - "props": { - "caption": "", - "sourceId": "/static/gZLmSgmwumNdgf0eIfOSW44emctrLyFUaZapbk8eZ6s=.png", - "width": 752, - "height": 422.9140625, - "index": "a0", - "xywh": "[0,0,0,0]", - "rotate": 0, - "size": -1 - }, - "children": [] - }, - { - "type": "block", - "id": "XPiPjHYnvE", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Employee Information:", - "attributes": { - "underline": true, - "bold": true - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "qpyYi7g_c6", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Name:", - "attributes": { - "bold": true - } - }, - { - "insert": " " - }, - { - "insert": "[Employee Name]", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "NpbigpLTNh", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Department:", - "attributes": { - "bold": true - } - }, - { - "insert": " " - }, - { - "insert": "[Department Name]", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "e1ax4lVFjW", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Job Title:", - "attributes": { - "bold": true - } - }, - { - "insert": " " - }, - { - "insert": "[Job Title]", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "rEKXjYtGDR", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Date of Joining:", - "attributes": { - "bold": true - } - }, - { - "insert": " " - }, - { - "insert": "[Date of Joining]", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "gYcGYxQ88e", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Review Date: ", - "attributes": { - "bold": true - } - }, - { - "insert": " " - }, - { - "insert": "[Review Date]", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "OyFSyuWbzw", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "VcUt-bpjIK", - "flavour": "affine:database", - "props": { - "views": [ - { - "id": "bIFdicaEON", - "name": "table", - "mode": "table", - "columns": [ - { - "id": "jPry_IOhQt", - "width": 343 - }, - { - "id": "VcUt-bpjIK", - "hide": false, - "width": 260 - }, - { - "id": "teyC7JgUni", - "hide": false, - "width": 200 - } - ], - "filter": { - "type": "group", - "op": "and", - "conditions": [] - } - } - ], - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Employee's performance " - } - ] - }, - "cells": { - "VwZ3681tdd": { - "teyC7JgUni": { - "columnId": "teyC7JgUni", - "value": [ - "rwjdYVF3jd" - ] - } - }, - "jT3Oo2XSeJ": { - "teyC7JgUni": { - "columnId": "teyC7JgUni", - "value": [ - "4dHxaZ8cKk" - ] - } - }, - "RviIfLJUPX": { - "teyC7JgUni": { - "columnId": "teyC7JgUni", - "value": [ - "wgvB2fzMu6" - ] - } - } - }, - "columns": [ - { - "id": "jPry_IOhQt", - "type": "title", - "name": "Title", - "data": {} - }, - { - "type": "title", - "id": "VcUt-bpjIK", - "name": "Title", - "data": {} - }, - { - "type": "multi-select", - "name": "score ", - "data": { - "options": [ - { - "id": "rwjdYVF3jd", - "value": "awsome", - "color": "var(--affine-tag-yellow)" - }, - { - "id": "4dHxaZ8cKk", - "value": "well", - "color": "var(--affine-tag-purple)" - }, - { - "id": "wgvB2fzMu6", - "value": "good", - "color": "var(--affine-tag-green)" - }, - { - "id": "YGPLhMJkni", - "value": "done", - "color": "var(--affine-tag-pink)" - }, - { - "id": "Q1-TuffR-9", - "value": "in progress", - "color": "var(--affine-tag-white)" - } - ] - }, - "id": "teyC7JgUni" - } - ] - }, - "children": [ - { - "type": "block", - "id": "VwZ3681tdd", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "[List Employee's Performance Goal 1]" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "jT3Oo2XSeJ", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "[List Employee's Performance Goal 2]" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "RviIfLJUPX", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "[List Employee's Performance Goal 3]" - } - ] - } - }, - "children": [] - } - ] - }, - { - "type": "block", - "id": "a0xWifxvFi", - "flavour": "affine:database", - "props": { - "views": [ - { - "id": "MvodpC_iAj", - "name": "table", - "mode": "table", - "columns": [ - { - "id": "lvyHgZEelb", - "width": 354 - }, - { - "id": "a0xWifxvFi", - "hide": false, - "width": 260 - }, - { - "id": "ZdTyvkjQwz", - "hide": false, - "width": 200 - } - ], - "filter": { - "type": "group", - "op": "and", - "conditions": [] - } - } - ], - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Job responsibility " - } - ] - }, - "cells": {}, - "columns": [ - { - "id": "lvyHgZEelb", - "type": "title", - "name": "Title", - "data": {} - }, - { - "type": "title", - "id": "a0xWifxvFi", - "name": "Title", - "data": {} - }, - { - "type": "multi-select", - "name": "Tag", - "data": { - "options": [] - }, - "id": "ZdTyvkjQwz" - } - ] - }, - "children": [ - { - "type": "block", - "id": "ZEi_-9SS-Y", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "[List Job Responsibility 1]" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "8LPVaagwtP", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "[List Job Responsibility 2]" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "lYnANRxW0A", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "[List Job Responsibility 3]" - } - ] - } - }, - "children": [] - } - ] - }, - { - "type": "block", - "id": "YiQINiDM6W", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Employee's Signature: " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "Zp-YtzbUUK", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Date: " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "ZMfsmg_5oZ", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "XH7xQMlX_0", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Manager's Signature: " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "mBO-_pWGoi", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Date: " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "X_SNf6rQf4", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "0LF9mjFcX9", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "[Company Name]", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "d2IrxHbD5D", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "[Address]", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "IdLESwrZ-U", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "[Phone Number]", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "6YwnA2HHQM", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "[Email]", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - } - ] - } - }, - "children": [] - } - ] - } - ] - } -} \ No newline at end of file diff --git a/packages/frontend/templates/onboarding/e5cYLNpIRUb-nwpSZGdix.snapshot.json b/packages/frontend/templates/onboarding/e5cYLNpIRUb-nwpSZGdix.snapshot.json deleted file mode 100644 index 115d3d7e8b..0000000000 --- a/packages/frontend/templates/onboarding/e5cYLNpIRUb-nwpSZGdix.snapshot.json +++ /dev/null @@ -1,1108 +0,0 @@ -{ - "type": "page", - "meta": { - "id": "e5cYLNpIRUb-nwpSZGdix", - "title": "Personal-Knowledge Management ", - "createDate": 1691574859042, - "tags": [] - }, - "blocks": { - "type": "block", - "id": "F19ZttSiUA", - "flavour": "affine:page", - "props": { - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Personal-Knowledge Management " - } - ] - } - }, - "children": [ - { - "type": "block", - "id": "OzSHckdEQ6", - "flavour": "affine:surface", - "props": { - "elements": { - "pMyfZPwXXU": { - "type": "connector", - "mode": 1, - "strokeWidth": 2, - "stroke": "--affine-palette-line-black", - "strokeStyle": "solid", - "roughness": 1.4, - "source": { - "id": "f6Owaa00aK", - "position": [ - 0.5010332476508476, - 1 - ] - }, - "target": { - "id": "-tH5D5Hf4J" - }, - "controllers": [], - "id": "pMyfZPwXXU", - "index": "a2", - "seed": 1151132732, - "xywh": "[581.9546735491072,-359.54656036633406,650.69,379.64]" - } - } - }, - "children": [] - }, - { - "type": "block", - "id": "f6Owaa00aK", - "flavour": "affine:note", - "props": { - "xywh": "[420.1386841846113,-539.5481469931723,322.9614914325105,102]", - "background": "--affine-background-secondary-color", - "index": "a0", - "hidden": false, - "edgeless": { - "style": { - "borderRadius": 8, - "borderSize": 4, - "borderStyle": "solid", - "shadowType": "--affine-note-shadow-box" - } - } - }, - "children": [ - { - "type": "block", - "id": "qyCHSngWfV", - "flavour": "affine:paragraph", - "props": { - "type": "quote", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Write your motto here, for example:" - }, - { - "insert": " It always seems impossible until it’s done. You can do it.", - "attributes": { - "italic": true - } - } - ] - } - }, - "children": [] - } - ] - }, - { - "type": "block", - "id": "-tH5D5Hf4J", - "flavour": "affine:note", - "props": { - "xywh": "[832.6496028098738,20.093439633665938,800,1296]", - "background": "--affine-background-secondary-color", - "index": "a01", - "hidden": false, - "edgeless": { - "style": { - "borderRadius": 8, - "borderSize": 4, - "borderStyle": "solid", - "shadowType": "--affine-note-shadow-box" - } - } - }, - "children": [ - { - "type": "block", - "id": "ir2DPxrZN9", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "Bm3PQLWdKK", - "flavour": "affine:paragraph", - "props": { - "type": "h3", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "📖 Reading list" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "rLuDwMETvq", - "flavour": "affine:image", - "props": { - "caption": "Books are a uniquely portable magic", - "sourceId": "/static/pIqdA3pM1la1gKzxOmAcpLmTh3yXBrL9mGTz_hGj5xE=.png", - "width": 752, - "height": 501.328125, - "index": "a0", - "xywh": "[0,0,0,0]", - "rotate": 0, - "size": -1 - }, - "children": [] - }, - { - "type": "block", - "id": "s7EitB9S6F", - "flavour": "affine:paragraph", - "props": { - "type": "quote", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Using a form view, you can clearly list the reading status of all books. This can give you a direct understanding of the overall progress. Make good use of your time and read more books!" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "L0wkiKeVji", - "flavour": "affine:database", - "props": { - "views": [ - { - "id": "yYzkaFTs41", - "name": "table", - "mode": "table", - "columns": [ - { - "id": "Hzbcv9VHMw", - "width": 361 - }, - { - "id": "L0wkiKeVji", - "hide": false, - "width": 302 - }, - { - "id": "scBkEETna6", - "hide": false, - "width": 180 - }, - { - "id": "QmfyAdToer", - "hide": false, - "width": 169 - }, - { - "id": "ppQS-BaKNB", - "hide": false, - "width": 200 - } - ], - "filter": { - "type": "group", - "op": "and", - "conditions": [] - } - } - ], - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": " 8 books I should finished " - } - ] - }, - "cells": { - "lMu_xf4xVF": { - "QmfyAdToer": { - "columnId": "QmfyAdToer", - "value": 87 - }, - "ppQS-BaKNB": { - "columnId": "ppQS-BaKNB", - "value": "" - }, - "scBkEETna6": { - "columnId": "scBkEETna6", - "value": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Jennifer Egan" - } - ] - } - } - }, - "vFgr3oyqOJ": { - "QmfyAdToer": { - "columnId": "QmfyAdToer", - "value": 100 - }, - "ppQS-BaKNB": { - "columnId": "ppQS-BaKNB", - "value": null - }, - "scBkEETna6": { - "columnId": "scBkEETna6", - "value": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Claire-Louise Bennett" - } - ] - } - } - }, - "1TYjc-QdZj": { - "QmfyAdToer": { - "columnId": "QmfyAdToer", - "value": 83 - }, - "ppQS-BaKNB": { - "columnId": "ppQS-BaKNB", - "value": null - }, - "scBkEETna6": { - "columnId": "scBkEETna6", - "value": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Barbara Kingsolver" - } - ] - } - } - }, - "ROpYva-V1J": { - "QmfyAdToer": { - "columnId": "QmfyAdToer", - "value": 60 - }, - "ppQS-BaKNB": { - "columnId": "ppQS-BaKNB", - "value": null - }, - "scBkEETna6": { - "columnId": "scBkEETna6", - "value": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Namwali Serpell" - } - ] - } - } - }, - "CXTh8uALzr": { - "QmfyAdToer": { - "columnId": "QmfyAdToer", - "value": 21 - }, - "ppQS-BaKNB": { - "columnId": "ppQS-BaKNB", - "value": null - }, - "scBkEETna6": { - "columnId": "scBkEETna6", - "value": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Hernan Diaz" - } - ] - } - } - }, - "WrMjzOnJH3": { - "QmfyAdToer": { - "columnId": "QmfyAdToer", - "value": 100 - }, - "ppQS-BaKNB": { - "columnId": "ppQS-BaKNB", - "value": null - }, - "scBkEETna6": { - "columnId": "scBkEETna6", - "value": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Ed Yong" - } - ] - } - } - }, - "R__nq8e75I": { - "ppQS-BaKNB": { - "columnId": "ppQS-BaKNB", - "value": null - }, - "scBkEETna6": { - "columnId": "scBkEETna6", - "value": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Hua Hsu" - } - ] - } - } - }, - "XeJ1gW0QDw": { - "ppQS-BaKNB": { - "columnId": "ppQS-BaKNB", - "value": null - }, - "scBkEETna6": { - "columnId": "scBkEETna6", - "value": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Rachel Aviv" - } - ] - } - } - } - }, - "columns": [ - { - "id": "Hzbcv9VHMw", - "type": "title", - "name": "Readlist ", - "data": {} - }, - { - "type": "title", - "id": "L0wkiKeVji", - "name": "Title", - "data": {} - }, - { - "type": "progress", - "name": "progress ", - "data": {}, - "id": "QmfyAdToer" - }, - { - "type": "link", - "name": "Additional information ", - "data": {}, - "id": "ppQS-BaKNB" - }, - { - "type": "rich-text", - "name": "Author", - "data": {}, - "id": "scBkEETna6" - } - ] - }, - "children": [ - { - "type": "block", - "id": "lMu_xf4xVF", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "THE CANDY HOUSE", - "attributes": { - "bold": true - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "vFgr3oyqOJ", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "CHECKOUT 19", - "attributes": { - "bold": true - } - }, - { - "insert": " " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "1TYjc-QdZj", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": " " - }, - { - "insert": "DEMON COPPERHEAD", - "attributes": { - "bold": true - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "ROpYva-V1J", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "THE FURROWS", - "attributes": { - "bold": true - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "CXTh8uALzr", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "TRUST", - "attributes": { - "bold": true - } - }, - { - "insert": " " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "WrMjzOnJH3", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "AN IMMENSE WORLD", - "attributes": { - "bold": true - } - }, - { - "insert": " " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "R__nq8e75I", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "STAY TRUE", - "attributes": { - "bold": true - } - }, - { - "insert": " " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "XeJ1gW0QDw", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "STRANGERS TO OURSELVES", - "attributes": { - "bold": true - } - }, - { - "insert": " " - } - ] - } - }, - "children": [] - } - ] - }, - { - "type": "block", - "id": "lfXQ_rY3fA", - "flavour": "affine:divider", - "props": {}, - "children": [] - } - ] - }, - { - "type": "block", - "id": "W6M-MPQ5-F", - "flavour": "affine:note", - "props": { - "xywh": "[-218.38057009913342,20.089515493697448,800,1444]", - "background": "--affine-background-secondary-color", - "index": "a01", - "hidden": false, - "edgeless": { - "style": { - "borderRadius": 8, - "borderSize": 4, - "borderStyle": "solid", - "shadowType": "--affine-note-shadow-box" - } - } - }, - "children": [ - { - "type": "block", - "id": "A-XAaszL_S", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "n5t18a4pCF", - "flavour": "affine:paragraph", - "props": { - "type": "h3", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "📑 Study Plan" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "NzeIqA5Q6j", - "flavour": "affine:image", - "props": { - "caption": "A goal without a plan is just a wish", - "sourceId": "/static/9vXwWGEX5W9v5pzwpu0eK4pf22DZ_sCloO0zCH1aVQ4=.png", - "width": 752, - "height": 501.328125, - "index": "a0", - "xywh": "[0,0,0,0]", - "rotate": 0, - "size": -1 - }, - "children": [] - }, - { - "type": "block", - "id": "uZTvHIo1eH", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Using a " - }, - { - "insert": "kanban", - "attributes": { - "link": "https://en.wikipedia.org/wiki/Kanban_(development)" - } - }, - { - "insert": " system to manage your tasks is a very effective method." - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "YsMF9PplY6", - "flavour": "affine:list", - "props": { - "type": "bulleted", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Ungroups", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - }, - { - "insert": ": Your study task inbox." - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - }, - { - "type": "block", - "id": "aMVed60Zxh", - "flavour": "affine:list", - "props": { - "type": "bulleted", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "not started:", - "attributes": { - "background": "var(--affine-text-highlight-orange)" - } - }, - { - "insert": " Tasks in your plan that haven't been started yet." - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - }, - { - "type": "block", - "id": "G_hTd1c1Xr", - "flavour": "affine:list", - "props": { - "type": "bulleted", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "in-progress:", - "attributes": { - "background": "var(--affine-text-highlight-green)" - } - }, - { - "insert": " The tasks you are currently working on can have their progress indicated by updating a progress bar to show the approximate completion." - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - }, - { - "type": "block", - "id": "mcg7ZXEIUL", - "flavour": "affine:list", - "props": { - "type": "bulleted", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "finished:", - "attributes": { - "background": "var(--affine-text-highlight-blue)" - } - }, - { - "insert": " List the tasks that have been completed. Here, you can easily review what you've learned." - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - }, - { - "type": "block", - "id": "0H9dtAEA7G", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "z3JCtDKEnH", - "flavour": "affine:database", - "props": { - "views": [ - { - "id": "_KB-Dww-OJ", - "name": "Kanban View", - "mode": "kanban", - "columns": [ - { - "id": "z3JCtDKEnH", - "hide": false - }, - { - "id": "XdrUZWMCAy", - "hide": false - }, - { - "id": "MZ4j6XeWN2", - "hide": false - } - ], - "filter": { - "type": "group", - "op": "and", - "conditions": [] - }, - "groupBy": { - "type": "groupBy", - "columnId": "XdrUZWMCAy", - "name": "multi-select" - }, - "header": { - "titleColumn": "z3JCtDKEnH", - "iconColumn": "type" - }, - "groupProperties": [ - { - "key": "Ungroups", - "hide": false, - "manuallyCardSort": [ - "m7Wa1L5dzo" - ] - }, - { - "key": "7MeJP6tYbY", - "hide": false, - "manuallyCardSort": [ - "z38CbkWI85" - ] - }, - { - "key": "UzOiUYq0f5", - "hide": false, - "manuallyCardSort": [] - }, - { - "key": "s28YFoSwsn", - "hide": false, - "manuallyCardSort": [] - } - ] - }, - { - "id": "vyeVaTiV6v", - "name": "Table View", - "mode": "table", - "columns": [ - { - "id": "DrdPpsoRQl", - "width": 200 - } - ], - "filter": { - "type": "group", - "op": "and", - "conditions": [] - }, - "header": { - "titleColumn": "z3JCtDKEnH", - "iconColumn": "type" - } - } - ], - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Study Plan" - } - ] - }, - "cells": { - "VCBzCpQ4Pj": { - "XdrUZWMCAy": { - "columnId": "XdrUZWMCAy", - "value": [ - "UzOiUYq0f5" - ] - }, - "MZ4j6XeWN2": { - "columnId": "MZ4j6XeWN2", - "value": 76 - } - }, - "8SmLofa6Sa": { - "XdrUZWMCAy": { - "columnId": "XdrUZWMCAy", - "value": [ - "s28YFoSwsn" - ] - }, - "MZ4j6XeWN2": { - "columnId": "MZ4j6XeWN2", - "value": 100 - } - }, - "z38CbkWI85": { - "XdrUZWMCAy": { - "columnId": "XdrUZWMCAy", - "value": [ - "7MeJP6tYbY" - ] - } - }, - "m7Wa1L5dzo": { - "XdrUZWMCAy": { - "columnId": "XdrUZWMCAy", - "value": [ - null - ] - } - }, - "gSQczpW-cC": { - "XdrUZWMCAy": { - "columnId": "XdrUZWMCAy", - "value": [] - } - }, - "1GiXKFEQTr": { - "XdrUZWMCAy": { - "columnId": "XdrUZWMCAy", - "value": [] - } - } - }, - "columns": [ - { - "id": "DrdPpsoRQl", - "type": "title", - "name": "Task", - "data": {} - }, - { - "type": "title", - "id": "z3JCtDKEnH", - "name": "Title", - "data": {} - }, - { - "type": "multi-select", - "name": "Tag", - "data": { - "options": [ - { - "id": "7MeJP6tYbY", - "value": "not started", - "color": "var(--affine-tag-orange)" - }, - { - "id": "s28YFoSwsn", - "value": "finished", - "color": "var(--affine-tag-blue)" - }, - { - "id": "UzOiUYq0f5", - "value": "in-progress", - "color": "var(--affine-tag-green)" - } - ] - }, - "id": "XdrUZWMCAy" - }, - { - "type": "progress", - "name": "Progress", - "data": {}, - "id": "MZ4j6XeWN2" - } - ] - }, - "children": [ - { - "type": "block", - "id": "VCBzCpQ4Pj", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Task 1" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "8SmLofa6Sa", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Task 2" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "z38CbkWI85", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Task 3" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "gSQczpW-cC", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "New Task" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "1GiXKFEQTr", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "New Task 2" - } - ] - } - }, - "children": [] - } - ] - } - ] - } - ] - } -} \ No newline at end of file diff --git a/packages/frontend/templates/onboarding/info.json b/packages/frontend/templates/onboarding/info.json index 1565a44f30..523373390f 100644 --- a/packages/frontend/templates/onboarding/info.json +++ b/packages/frontend/templates/onboarding/info.json @@ -24,68 +24,10 @@ "properties": { "tags": { "options": [ - { - "id": "icg1n5UdkP", - "value": "Travel", - "color": "var(--affine-tag-gray)" - }, - { - "id": "Oe5dSe1DDJ", - "value": "Quick summary", - "color": "var(--affine-tag-green)" - }, - { - "id": "g1L5dXKctL", - "value": "OKR", - "color": "var(--affine-tag-purple)" - }, - { - "id": "q3mceOl_zi", - "value": "Streamline your workflow", - "color": "var(--affine-tag-teal)" - }, - { - "id": "ze07JVwBu4", - "value": "Plan", - "color": "var(--affine-tag-teal)" - }, - { - "id": "8qcYPCTK0h", - "value": "Review", - "color": "var(--affine-tag-orange)" - }, - { - "id": "wg-fBtd2eI", - "value": "Engage", - "color": "var(--affine-tag-pink)" - }, - { - "id": "QYFD_HeQc-", - "value": "Create", - "color": "var(--affine-tag-blue)" - }, - { - "id": "ZHBa2NtdSo", - "value": "Learn", - "color": "var(--affine-tag-yellow)" - } ] } }, "pages": [ - { - "id": "rzyBHDgN5KIlEYzB9oBaD", - "title": "Getting Started👇", - "createDate": 1691548231530, - "tags": [ - "ZHBa2NtdSo", - "QYFD_HeQc-", - "wg-fBtd2eI" - ], - "updatedDate": 1691676331623, - "favorite": true, - "jumpOnce": false - }, { "id": "9iIScyvuIB_kUKbs1AYOQ", "title": "AFFiNE - not just a note-taking app", @@ -93,83 +35,6 @@ "tags": [], "updatedDate": 1691676775642, "favorite": false - }, - { - "id": "-P-O4GSfVGTkI16zJRVa4", - "title": "Templates Galleries ", - "createDate": 1691551731225, - "tags": [], - "updatedDate": 1691654611175, - "favorite": false - }, - { - "id": "0nee_XzkrN23Xy7HMoXL-", - "title": "Personal Home", - "createDate": 1691552082822, - "tags": [], - "updatedDate": 1691654606912, - "favorite": false - }, - { - "id": "nPPyOV0JBNKu5hvW9hE00", - "title": "Working Home", - "createDate": 1691552090989, - "tags": [], - "updatedDate": 1691646748171, - "favorite": false - }, - { - "id": "wbXL4bZcblxLKC6ETqcQ1", - "title": "AFFiNE's Personal project management", - "createDate": 1691564303138, - "tags": [], - "updatedDate": 1691646845195 - }, - { - "id": "e5cYLNpIRUb-nwpSZGdix", - "title": "Personal-Knowledge Management ", - "createDate": 1691574859042, - "tags": [], - "updatedDate": 1691648159371 - }, - { - "id": "b1F2xKjgZ4ISHhXNe1kck", - "title": "Annual Performance Review", - "createDate": 1691575011078, - "tags": [ - "8qcYPCTK0h" - ], - "updatedDate": 1691645074511, - "favorite": false - }, - { - "id": "Scod6coKmJJ-waH1-jkiW", - "title": "Brief Event planning ", - "createDate": 1691634722239, - "tags": [ - "ze07JVwBu4" - ], - "updatedDate": 1691647069662, - "favorite": false - }, - { - "id": "GWsRbUtMF4Ee6foVg-H9R", - "title": "Meeting Summary ", - "createDate": 1691635388447, - "tags": [ - "Oe5dSe1DDJ" - ], - "updatedDate": 1691645873930 - }, - { - "id": "RCpxnWMtBWmUZy5awgJBh", - "title": "OKR Template", - "createDate": 1691636192263, - "tags": [ - "q3mceOl_zi", - "g1L5dXKctL" - ], - "updatedDate": 1691645102104 } ] } \ No newline at end of file diff --git a/packages/frontend/templates/onboarding/nPPyOV0JBNKu5hvW9hE00.snapshot.json b/packages/frontend/templates/onboarding/nPPyOV0JBNKu5hvW9hE00.snapshot.json deleted file mode 100644 index dc295906ea..0000000000 --- a/packages/frontend/templates/onboarding/nPPyOV0JBNKu5hvW9hE00.snapshot.json +++ /dev/null @@ -1,355 +0,0 @@ -{ - "type": "page", - "meta": { - "id": "nPPyOV0JBNKu5hvW9hE00", - "title": "Working Home", - "createDate": 1691552090989, - "tags": [] - }, - "blocks": { - "type": "block", - "id": "qsMt8nCetT", - "flavour": "affine:page", - "props": { - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Working Home" - } - ] - } - }, - "children": [ - { - "type": "block", - "id": "yC-F6Rj9bA", - "flavour": "affine:surface", - "props": { - "elements": {} - }, - "children": [] - }, - { - "type": "block", - "id": "pk_Cjkpyd4", - "flavour": "affine:note", - "props": { - "xywh": "[0,0,800,939]", - "background": "--affine-background-secondary-color", - "index": "a0", - "hidden": false, - "edgeless": { - "style": { - "borderRadius": 8, - "borderSize": 4, - "borderStyle": "solid", - "shadowType": "--affine-note-shadow-box" - } - } - }, - "children": [ - { - "type": "block", - "id": "IAOXx-DBBz", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "5hR-BR03ms", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": " ", - "attributes": { - "reference": { - "type": "LinkedPage", - "pageId": "b1F2xKjgZ4ISHhXNe1kck" - } - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "zVgCQKWH-c", - "flavour": "affine:paragraph", - "props": { - "type": "quote", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "This " - }, - { - "insert": "Annual Performance Review template", - "attributes": { - "bold": true - } - }, - { - "insert": " is ideal for businesses seeking a structured and comprehensive approach to evaluating employee performance. By utilizing this template, you will gain clarity on individual strengths and areas for improvement, fostering effective communication and driving professional growth within your organization." - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "ym2g48zSU_", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "o1UyrWV30t", - "flavour": "affine:divider", - "props": {}, - "children": [] - }, - { - "type": "block", - "id": "1EUiH1t60b", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": " ", - "attributes": { - "reference": { - "type": "LinkedPage", - "pageId": "GWsRbUtMF4Ee6foVg-H9R" - } - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "HmzMXKFaci", - "flavour": "affine:paragraph", - "props": { - "type": "quote", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Meeting minutes are an official record of a meeting", - "attributes": { - "bold": true - } - }, - { - "insert": " for its participants. They're also sources of information for teammates who were unable to attend." - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "v5CGQQPDrt", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "lcf4te4rxB", - "flavour": "affine:divider", - "props": {}, - "children": [] - }, - { - "type": "block", - "id": "AbN8iFn0RW", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "uXdWxSSWgl", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": " ", - "attributes": { - "reference": { - "type": "LinkedPage", - "pageId": "RCpxnWMtBWmUZy5awgJBh" - } - } - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "TBjwPij8cJ", - "flavour": "affine:paragraph", - "props": { - "type": "quote", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Maximize your team's performance and drive goal-oriented success with our extensive collection of " - }, - { - "insert": "OKR templates", - "attributes": { - "bold": true - } - }, - { - "insert": ", specifically crafted to facilitate effective objective setting, key result tracking, and overall performance improvement." - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "mjgDUguqmV", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "c_gX1ik0kK", - "flavour": "affine:divider", - "props": {}, - "children": [] - }, - { - "type": "block", - "id": "IU3gGmIffA", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "LnERZXy0xj", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "🔔Reminder: Click the " - }, - { - "insert": "+New page ", - "attributes": { - "bold": true - } - }, - { - "insert": "to start your journey in AFFiNE " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "oi0BxPtiit", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "✏Unleash your creativity and elevate your work efficiency to new heights by customizing templates that perfectly align with your unique needs and objectives." - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "DuRxwNJe2w", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - } - ] - } - ] - } -} \ No newline at end of file diff --git a/packages/frontend/templates/onboarding/rzyBHDgN5KIlEYzB9oBaD.snapshot.json b/packages/frontend/templates/onboarding/rzyBHDgN5KIlEYzB9oBaD.snapshot.json deleted file mode 100644 index fff2c70731..0000000000 --- a/packages/frontend/templates/onboarding/rzyBHDgN5KIlEYzB9oBaD.snapshot.json +++ /dev/null @@ -1,419 +0,0 @@ -{ - "type": "page", - "meta": { - "id": "rzyBHDgN5KIlEYzB9oBaD", - "title": "Getting Started👇", - "createDate": 1691548231530, - "tags": [ - "ZHBa2NtdSo", - "QYFD_HeQc-", - "wg-fBtd2eI" - ] - }, - "blocks": { - "type": "block", - "id": "1FO1aYcosq", - "flavour": "affine:page", - "props": { - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Getting Started👇" - } - ] - } - }, - "children": [ - { - "type": "block", - "id": "f7o2Osxfa_", - "flavour": "affine:surface", - "props": { - "elements": {} - }, - "children": [] - }, - { - "type": "block", - "id": "NDAzEfCZnv", - "flavour": "affine:note", - "props": { - "xywh": "[-12.5684605441112,-52.45959387999099,800,582]", - "background": "--affine-background-secondary-color", - "index": "a0", - "hidden": false, - "edgeless": { - "style": { - "borderRadius": 8, - "borderSize": 4, - "borderStyle": "solid", - "shadowType": "--affine-note-shadow-box" - } - } - }, - "children": [ - { - "type": "block", - "id": "jArWNRgiLB", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Basic things you should know: " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "TUx2T-R2zT", - "flavour": "affine:list", - "props": { - "type": "todo", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Drag " - }, - { - "insert": "blocks ", - "attributes": { - "bold": true - } - }, - { - "insert": "(put a symbol) at the bottom right of the page to insert a new block, list, database, etc." - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [ - { - "type": "block", - "id": "kyqLH3oNHK", - "flavour": "affine:list", - "props": { - "type": "todo", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Hit \"" - }, - { - "insert": "/", - "attributes": { - "bold": true - } - }, - { - "insert": " \"to see all the types of content you can add - headings, videos, link pages, etc." - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - }, - { - "type": "block", - "id": "kyQSXZ39ce", - "flavour": "affine:list", - "props": { - "type": "todo", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Edit any text, and " - }, - { - "insert": "stylish", - "attributes": { - "bold": true - } - }, - { - "insert": " " - }, - { - "insert": "your", - "attributes": { - "italic": true - } - }, - { - "insert": " " - }, - { - "insert": "writing", - "attributes": { - "underline": true - } - }, - { - "insert": " freely." - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - } - ] - }, - { - "type": "block", - "id": "tKK8W8BwHQ", - "flavour": "affine:list", - "props": { - "type": "todo", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Follow " - }, - { - "insert": " ", - "attributes": { - "reference": { - "type": "LinkedPage", - "pageId": "9iIScyvuIB_kUKbs1AYOQ" - } - } - }, - { - "insert": "knowing how to " - }, - { - "insert": "write, draw, and plan all at once", - "attributes": { - "bold": true - } - }, - { - "insert": "." - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [ - { - "type": "block", - "id": "APwWQJEqlF", - "flavour": "affine:list", - "props": { - "type": "todo", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Not sure where to start with? Refer to" - }, - { - "insert": " ", - "attributes": { - "reference": { - "type": "LinkedPage", - "pageId": "-P-O4GSfVGTkI16zJRVa4" - } - } - }, - { - "insert": "in your sidebar to get started with pre-built pages." - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - } - ] - }, - { - "type": "block", - "id": "q4UGzfn08o", - "flavour": "affine:list", - "props": { - "type": "todo", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Click the drop-down menu " - }, - { - "insert": "\"v\" next to the title for more advanced options", - "attributes": { - "bold": true - } - }, - { - "insert": ", such as the ability to one-click export your work into PDF/HTML/Markdown formats." - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - }, - { - "type": "block", - "id": "yDnnnpnCFh", - "flavour": "affine:list", - "props": { - "type": "todo", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "👉 Encounter" - }, - { - "insert": " ", - "attributes": { - "bold": true - } - }, - { - "insert": "a question? Click the \"" - }, - { - "insert": "?\" Button ", - "attributes": { - "bold": true - } - }, - { - "insert": "at the bottom right for more guides, or directly send us a message." - } - ] - }, - "checked": false, - "collapsed": false - }, - "children": [] - }, - { - "type": "block", - "id": "Uq0yIH932N", - "flavour": "affine:paragraph", - "props": { - "type": "h6", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "🎉 Congratulations! You already go through all of this list!" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "Ag86EJnVv0", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Click the" - }, - { - "insert": " ", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - }, - { - "insert": "+ New Page", - "attributes": { - "background": "var(--affine-text-highlight-grey)", - "bold": true - } - }, - { - "insert": " ", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - }, - { - "insert": "button at the bottom of your sidebar to start your journey in AFFiNE" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "iQUJlC0oQT", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "wtxc_a6qxN", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "⏰ Kindly Reminder: This page is automatically set up in the" - }, - { - "insert": " ", - "attributes": { - "background": "var(--affine-text-highlight-grey)" - } - }, - { - "insert": "+New Workspace", - "attributes": { - "background": "var(--affine-text-highlight-grey)", - "bold": true - } - }, - { - "insert": ". If you ever find yourself unsure about how to use AFFiNE, simply click on the workspace avatar and select \"Add a New Workspace\" to revisit this page and get the guidance you need." - } - ] - } - }, - "children": [] - } - ] - } - ] - } -} \ No newline at end of file diff --git a/packages/frontend/templates/onboarding/wbXL4bZcblxLKC6ETqcQ1.snapshot.json b/packages/frontend/templates/onboarding/wbXL4bZcblxLKC6ETqcQ1.snapshot.json deleted file mode 100644 index 1fde02cdc3..0000000000 --- a/packages/frontend/templates/onboarding/wbXL4bZcblxLKC6ETqcQ1.snapshot.json +++ /dev/null @@ -1,191 +0,0 @@ -{ - "type": "page", - "meta": { - "id": "wbXL4bZcblxLKC6ETqcQ1", - "title": "AFFiNE's Personal project management", - "createDate": 1691564303138, - "tags": [] - }, - "blocks": { - "type": "block", - "id": "LvRIWQ1EAT", - "flavour": "affine:page", - "props": { - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "AFFiNE's Personal project management" - } - ] - } - }, - "children": [ - { - "type": "block", - "id": "9eBKQxt8ax", - "flavour": "affine:surface", - "props": { - "elements": {} - }, - "children": [] - }, - { - "type": "block", - "id": "2nHeyqzDMf", - "flavour": "affine:note", - "props": { - "xywh": "[0,0,800,361]", - "background": "--affine-background-secondary-color", - "index": "a0", - "hidden": false, - "edgeless": { - "style": { - "borderRadius": 8, - "borderSize": 4, - "borderStyle": "solid", - "shadowType": "--affine-note-shadow-box" - } - } - }, - "children": [ - { - "type": "block", - "id": "g0M-Toj8iK", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "To-do-list " - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "JpcfJa6HqU", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "/" - } - ] - } - }, - "children": [] - }, - { - "type": "block", - "id": "w9Oyl2J6bd", - "flavour": "affine:database", - "props": { - "views": [ - { - "id": "zp1yuVbPHH", - "name": "table", - "mode": "table", - "columns": [ - { - "id": "46SguLuWz3", - "width": 185 - }, - { - "id": "uSHvJhR2FN", - "width": 200 - } - ], - "filter": { - "type": "group", - "op": "and", - "conditions": [] - } - } - ], - "title": { - "$blocksuite:internal:text$": true, - "delta": [ - { - "insert": "Database" - } - ] - }, - "cells": {}, - "columns": [ - { - "id": "46SguLuWz3", - "type": "title", - "name": "Title", - "data": {} - }, - { - "type": "title", - "id": "w9Oyl2J6bd", - "name": "Title", - "data": {} - }, - { - "type": "multi-select", - "name": "Tag", - "data": { - "options": [] - }, - "id": "uSHvJhR2FN" - } - ] - }, - "children": [ - { - "type": "block", - "id": "yP88q8kMa_", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "xo7ok9TmO7", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - }, - { - "type": "block", - "id": "dOQULUJfK6", - "flavour": "affine:paragraph", - "props": { - "type": "text", - "text": { - "$blocksuite:internal:text$": true, - "delta": [] - } - }, - "children": [] - } - ] - } - ] - } - ] - } -} \ No newline at end of file diff --git a/packages/frontend/templates/templates.gen.ts b/packages/frontend/templates/templates.gen.ts index aaf6e85bcb..f2eaeea81b 100644 --- a/packages/frontend/templates/templates.gen.ts +++ b/packages/frontend/templates/templates.gen.ts @@ -1,29 +1,9 @@ /* eslint-disable simple-import-sort/imports */ // Auto generated, do not edit manually -import json_0 from './onboarding/wbXL4bZcblxLKC6ETqcQ1.snapshot.json'; -import json_1 from './onboarding/Scod6coKmJJ-waH1-jkiW.snapshot.json'; -import json_2 from './onboarding/rzyBHDgN5KIlEYzB9oBaD.snapshot.json'; -import json_3 from './onboarding/RCpxnWMtBWmUZy5awgJBh.snapshot.json'; -import json_4 from './onboarding/nPPyOV0JBNKu5hvW9hE00.snapshot.json'; -import json_5 from './onboarding/info.json'; -import json_6 from './onboarding/GWsRbUtMF4Ee6foVg-H9R.snapshot.json'; -import json_7 from './onboarding/e5cYLNpIRUb-nwpSZGdix.snapshot.json'; -import json_8 from './onboarding/b1F2xKjgZ4ISHhXNe1kck.snapshot.json'; -import json_9 from './onboarding/9iIScyvuIB_kUKbs1AYOQ.snapshot.json'; -import json_10 from './onboarding/0nee_XzkrN23Xy7HMoXL-.snapshot.json'; -import json_11 from './onboarding/-P-O4GSfVGTkI16zJRVa4.snapshot.json'; +import json_0 from './onboarding/info.json'; +import json_1 from './onboarding/9iIScyvuIB_kUKbs1AYOQ.snapshot.json'; export const onboarding = { - 'wbXL4bZcblxLKC6ETqcQ1.snapshot.json': json_0, - 'Scod6coKmJJ-waH1-jkiW.snapshot.json': json_1, - 'rzyBHDgN5KIlEYzB9oBaD.snapshot.json': json_2, - 'RCpxnWMtBWmUZy5awgJBh.snapshot.json': json_3, - 'nPPyOV0JBNKu5hvW9hE00.snapshot.json': json_4, - 'info.json': json_5, - 'GWsRbUtMF4Ee6foVg-H9R.snapshot.json': json_6, - 'e5cYLNpIRUb-nwpSZGdix.snapshot.json': json_7, - 'b1F2xKjgZ4ISHhXNe1kck.snapshot.json': json_8, - '9iIScyvuIB_kUKbs1AYOQ.snapshot.json': json_9, - '0nee_XzkrN23Xy7HMoXL-.snapshot.json': json_10, - '-P-O4GSfVGTkI16zJRVa4.snapshot.json': json_11 + 'info.json': json_0, + '9iIScyvuIB_kUKbs1AYOQ.snapshot.json': json_1 } \ No newline at end of file diff --git a/tests/affine-desktop/e2e/basic.spec.ts b/tests/affine-desktop/e2e/basic.spec.ts index e19a7b57e8..5e9656c1bc 100644 --- a/tests/affine-desktop/e2e/basic.spec.ts +++ b/tests/affine-desktop/e2e/basic.spec.ts @@ -1,6 +1,9 @@ import { test } from '@affine-test/kit/electron'; import { withCtrlOrMeta } from '@affine-test/kit/utils/keyboard'; -import { getBlockSuiteEditorTitle } from '@affine-test/kit/utils/page-logic'; +import { + clickNewPageButton, + getBlockSuiteEditorTitle, +} from '@affine-test/kit/utils/page-logic'; import { clickSideBarCurrentWorkspaceBanner, clickSideBarSettingButton, @@ -28,9 +31,7 @@ test('app sidebar router forward/back', async ({ page }) => { { // create pages await page.waitForTimeout(500); - await page.getByTestId('sidebar-new-page-button').click({ - delay: 100, - }); + await clickNewPageButton(page); await page.waitForSelector('v-line'); const title = getBlockSuiteEditorTitle(page); await title.focus(); diff --git a/tests/affine-local/e2e/all-page.spec.ts b/tests/affine-local/e2e/all-page.spec.ts index 0fe1e4b08d..868d2d1659 100644 --- a/tests/affine-local/e2e/all-page.spec.ts +++ b/tests/affine-local/e2e/all-page.spec.ts @@ -14,6 +14,7 @@ import { } from '@affine-test/kit/utils/filter'; import { openHomePage } from '@affine-test/kit/utils/load-page'; import { + clickNewPageButton, getBlockSuiteEditorTitle, waitForAllPagesLoad, waitForEditorLoad, @@ -118,7 +119,7 @@ test('allow creation of filters by tags', async ({ page }) => { .locator('[data-testid="page-list-item"]') .all(); const pagesWithTagsCount = pagesWithTags.length; - expect(pagesWithTagsCount).not.toBe(0); + expect(pagesWithTagsCount).toBe(0); await createPageWithTag(page, { title: 'Page A', tags: ['Page A'] }); await createPageWithTag(page, { title: 'Page B', tags: ['Page B'] }); await clickSideBarAllPageButton(page); @@ -183,6 +184,7 @@ test('enable selection and use ESC to disable selection', async ({ page }) => { test('select two pages and delete', async ({ page }) => { await openHomePage(page); await waitForEditorLoad(page); + await clickNewPageButton(page); await clickSideBarAllPageButton(page); await waitForAllPagesLoad(page); @@ -229,6 +231,7 @@ test('select a group of items by clicking "Select All" in group header', async ( }) => { await openHomePage(page); await waitForEditorLoad(page); + await clickNewPageButton(page); await clickSideBarAllPageButton(page); await waitForAllPagesLoad(page); diff --git a/tests/affine-local/e2e/change-page-mode.spec.ts b/tests/affine-local/e2e/change-page-mode.spec.ts index c1351c8680..d2a0a62baf 100644 --- a/tests/affine-local/e2e/change-page-mode.spec.ts +++ b/tests/affine-local/e2e/change-page-mode.spec.ts @@ -1,6 +1,7 @@ import { test } from '@affine-test/kit/playwright'; import { openHomePage } from '@affine-test/kit/utils/load-page'; import { + clickNewPageButton, clickPageMoreActions, waitForEditorLoad, } from '@affine-test/kit/utils/page-logic'; @@ -15,6 +16,7 @@ test('Switch to edgeless by switch edgeless item', async ({ page }) => { } await openHomePage(page); await waitForEditorLoad(page); + await clickNewPageButton(page); const btn = page.getByTestId('switch-edgeless-mode-button'); await page.evaluate(() => { // @ts-expect-error @@ -56,6 +58,7 @@ test('Switch to edgeless by switch edgeless item', async ({ page }) => { test('Convert to edgeless by editor header items', async ({ page }) => { await openHomePage(page); await waitForEditorLoad(page); + await clickNewPageButton(page); await clickPageMoreActions(page); const menusEdgelessItem = page.getByTestId('editor-option-menu-edgeless'); await menusEdgelessItem.click({ delay: 100 }); diff --git a/tests/affine-local/e2e/local-first-favorites-items.spec.ts b/tests/affine-local/e2e/local-first-favorites-items.spec.ts index 86de392aa2..8214ade77a 100644 --- a/tests/affine-local/e2e/local-first-favorites-items.spec.ts +++ b/tests/affine-local/e2e/local-first-favorites-items.spec.ts @@ -135,6 +135,7 @@ test("Deleted page's reference will not be shown in sidebar", async ({ test('Add new favorite page via sidebar', async ({ page }) => { await openHomePage(page); await waitForEditorLoad(page); + await clickNewPageButton(page); await page.getByTestId('slider-bar-add-favorite-button').first().click(); await waitForEmptyEditor(page); diff --git a/tests/affine-local/e2e/local-first-workspace-list.spec.ts b/tests/affine-local/e2e/local-first-workspace-list.spec.ts index d4c9ee7616..8e74758e68 100644 --- a/tests/affine-local/e2e/local-first-workspace-list.spec.ts +++ b/tests/affine-local/e2e/local-first-workspace-list.spec.ts @@ -50,11 +50,11 @@ test('create one workspace in the workspace list', async ({ await clickSideBarAllPageButton(page); await page.waitForTimeout(2000); const result = await getPagesCount(page); - expect(result).toBe(11); + expect(result).toBe(1); await page.reload(); await page.waitForTimeout(4000); const result1 = await getPagesCount(page); - expect(result1).toBe(11); + expect(result1).toBe(1); const currentWorkspace = await workspace.current(); expect(currentWorkspace.meta.flavour).toContain('local'); diff --git a/tests/affine-local/e2e/open-affine.spec.ts b/tests/affine-local/e2e/open-affine.spec.ts index 2a9b639808..cc9af15ac2 100644 --- a/tests/affine-local/e2e/open-affine.spec.ts +++ b/tests/affine-local/e2e/open-affine.spec.ts @@ -40,11 +40,3 @@ test('Download client tip', async ({ page }) => { ); await expect(currentLocalDemoTipsItemItem).toBeVisible(); }); - -test('Check the class name for the scrollbar', async ({ page }) => { - //Because the scroll bar in page mode depends on the class name of blocksuite - await openHomePage(page); - await waitForEditorLoad(page); - const affineDocViewport = page.locator('.affine-doc-viewport'); - await expect(affineDocViewport).toBeVisible(); -}); diff --git a/tests/affine-local/e2e/quick-search.spec.ts b/tests/affine-local/e2e/quick-search.spec.ts index f8cca8b5b5..ffa711d9e4 100644 --- a/tests/affine-local/e2e/quick-search.spec.ts +++ b/tests/affine-local/e2e/quick-search.spec.ts @@ -12,7 +12,7 @@ import { expect, type Locator, type Page } from '@playwright/test'; const openQuickSearchByShortcut = async (page: Page, checkVisible = true) => { await withCtrlOrMeta(page, () => page.keyboard.press('k', { delay: 50 })); if (checkVisible) { - expect(page.getByTestId('cmdk-quick-search')).toBeVisible(); + await expect(page.getByTestId('cmdk-quick-search')).toBeVisible(); } }; @@ -367,6 +367,7 @@ test('can use cmdk to delete page and restore it', async ({ page }) => { await page.getByTestId('confirm-delete-page').click(); const restoreButton = page.getByTestId('page-restore-button'); await expect(restoreButton).toBeVisible(); + await page.waitForTimeout(100); await openQuickSearchByShortcut(page); expect(await commandsIsVisible(page, 'Move to Trash')).toBe(false); expect(await commandsIsVisible(page, 'Export to PDF')).toBe(false); diff --git a/tests/kit/utils/page-logic.ts b/tests/kit/utils/page-logic.ts index a0b8d46a40..9ca0ef6f94 100644 --- a/tests/kit/utils/page-logic.ts +++ b/tests/kit/utils/page-logic.ts @@ -15,6 +15,13 @@ export async function waitForAllPagesLoad(page: Page) { } export async function clickNewPageButton(page: Page) { + //FiXME: when the page is in edgeless mode, clickNewPageButton will create a new edgeless page + const edgelessPage = page.locator('edgeless-editor'); + if (await edgelessPage.isVisible()) { + await page.getByTestId('switch-page-mode-button').click({ + delay: 100, + }); + } // fixme(himself65): if too fast, the page will crash await page.getByTestId('sidebar-new-page-button').click({ delay: 100,