From 50196d8fded08745b5604c981a5f9dafecc73235 Mon Sep 17 00:00:00 2001 From: JimmFly Date: Wed, 17 May 2023 17:16:07 +0800 Subject: [PATCH] chore: update preloading page (#2409) --- packages/env/src/blocksuite.ts | 2 +- packages/templates/src/AFFiNE-beta-0.5.4.md | 49 +++++++++++++++++++ .../affine/affine-public-workspace.spec.ts | 2 +- 3 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 packages/templates/src/AFFiNE-beta-0.5.4.md diff --git a/packages/env/src/blocksuite.ts b/packages/env/src/blocksuite.ts index b0f03c9572..90ae0f3af9 100644 --- a/packages/env/src/blocksuite.ts +++ b/packages/env/src/blocksuite.ts @@ -1,5 +1,5 @@ import { DebugLogger } from '@affine/debug'; -import markdown from '@affine/templates/Welcome-to-AFFiNE.md'; +import markdown from '@affine/templates/AFFiNE-beta-0.5.4.md'; import { ContentParser } from '@blocksuite/blocks/content-parser'; import type { Page, Workspace } from '@blocksuite/store'; import { nanoid } from '@blocksuite/store'; diff --git a/packages/templates/src/AFFiNE-beta-0.5.4.md b/packages/templates/src/AFFiNE-beta-0.5.4.md new file mode 100644 index 0000000000..2afbf346d0 --- /dev/null +++ b/packages/templates/src/AFFiNE-beta-0.5.4.md @@ -0,0 +1,49 @@ +## AFFiNE - not just a note taking app + +There are lots of apps out there, so why chose AFFiNE? + +AFFiNE is **feature-rich** - offering a wide-range of _blocks_ that _empower_ your docs + +AFFiNE is **privacy focussed** - with a local-first approach, keep control of your data + +AFFiNE is **open**\-**source** - you can check us out on[GitHub: toeverything/AFFiNE](https://github.com/toeverything/affine) + +--- + +## Let's **Write**, **Draw** and **Plan** with **AFFiNE** + +### Create Your Workspace + +Creating a workspace in AFFiNE is easy! With just a few clicks, you can create a new workspace and start organising your content in a clean, user-friendly interface. + +![](https://cdn.affine.pro/94d27d73c5767986d26b81a0ced25ac6ab16686971734ba0d9c0987c.gif) + +### Organise Your Pages + +Manage your favourites and add links between your pages to easily navigate between them. This makes it easy to keep track of your content, and ensures that you always know where everything is. + +![](https://cdn.affine.pro/1326bc48553a572c6756d9ee1b30a0dfdda26222fc2d2c872b14e609.gif) + +### Write Your Content + +Easily create rich, interactive pages that combine text, images, and other media to create a dynamic, engaging experience. + +![](https://cdn.affine.pro/5fa80ab814f052d259ed6863a336a719eef746ed1bdd9b973750ce0c.gif) + +### Draw and Be Creative + +Our Edgeless Mode can be utilised as a whiteboard, allowing you to create content that extends beyond the boundaries of a traditional page - limited only by your imagination. + +![](https://cdn.affine.pro/cf5d44d36ec3167519e6d6518914d28acaf426f001da717c1e98e760.gif) + +**Plan Effecively and Efficiently** + +With powerful databases you can create your content inside of tables but leverage powerful features. From adding due dates, tracking progress, adding tags and status labels. + +![](https://cdn.affine.pro/eb9832e551551d480f38b70145b28b7552e2a9f899ddfa6d813049a9.gif) + +--- + +## More support? + +If you are looking for more support, you can come and join the awesome [AFFiNE Community](https://community.affine.pro) . Whether you want to share new ideas or interact with other like minded individuals - we look forward to having you. diff --git a/tests/parallels/affine/affine-public-workspace.spec.ts b/tests/parallels/affine/affine-public-workspace.spec.ts index 96ffb6a302..0b8920ae82 100644 --- a/tests/parallels/affine/affine-public-workspace.spec.ts +++ b/tests/parallels/affine/affine-public-workspace.spec.ts @@ -38,7 +38,7 @@ test('enable public workspace', async ({ page, context }) => { await page2.waitForSelector('thead', { timeout: 10000, }); - await page2.getByText('Welcome to AFFiNE').click(); + await page2.getByText('AFFiNE - not just a note taking app').click(); }); test('access public workspace page', async ({ page, browser }) => {