config.handler()}
+ style=${styleMap({
+ display: 'flex',
+ height: '28px',
+ gap: '8px',
+ width: '85%',
+ alignItems: 'center',
+ justifyContent: 'start',
+ })}
+ >
+ ${config.icon}
+
+ ${config.text}
+
+
`;
+ }
+ )}
+ `;
+ }
+
protected override render() {
const { items } = this.chatContextValue;
const { isLoading } = this;
@@ -229,6 +275,7 @@ export class ChatPanelMessages extends WithDisposable(ShadowlessElement) {
? 'AFFiNE AI is loading history...'
: 'What can I help you with?'}
+ ${this._renderAIOnboarding()}
${cache(
this.showChatCards
diff --git a/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/preload-config.ts b/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/preload-config.ts
new file mode 100644
index 0000000000..cae6e6b1cd
--- /dev/null
+++ b/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/preload-config.ts
@@ -0,0 +1,35 @@
+import {
+ ArticleIcon,
+ CommunicateIcon,
+ MindmapIcon,
+ PreloadImageIcon,
+ PreloadPenIcon,
+} from '../_common/icons.js';
+
+export const AIPreloadConfig = [
+ {
+ icon: ArticleIcon,
+ text: 'Read a foreign language article with AI',
+ handler: () => {}, //waiting for implementation
+ },
+ {
+ icon: MindmapIcon,
+ text: 'Tidy a article with AI MindMap Action',
+ handler: () => {},
+ },
+ {
+ icon: PreloadImageIcon,
+ text: 'Add illustrations to the article',
+ handler: () => {},
+ },
+ {
+ icon: PreloadPenIcon,
+ text: 'Complete writing with AI',
+ handler: () => {},
+ },
+ {
+ icon: CommunicateIcon,
+ text: 'Freely communicate with AI',
+ handler: () => {},
+ },
+];
diff --git a/packages/frontend/core/src/components/affine/setting-modal/general-setting/experimental-features/index.tsx b/packages/frontend/core/src/components/affine/setting-modal/general-setting/experimental-features/index.tsx
index 0ba7cf638b..361cf1c365 100644
--- a/packages/frontend/core/src/components/affine/setting-modal/general-setting/experimental-features/index.tsx
+++ b/packages/frontend/core/src/components/affine/setting-modal/general-setting/experimental-features/index.tsx
@@ -127,6 +127,7 @@ const blocksuiteFeatureFlags: Partial