There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(core): correct image action icon (#7370)
forehalod51fd8b54b96
diff --git a/packages/frontend/core/src/blocksuite/presets/ai/_common/config.ts b/packages/frontend/core/src/blocksuite/presets/ai/_common/config.tsindex 2a5a9bb192..297ef05585 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/_common/config.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/_common/config.ts@@ -432,7 +432,7 @@ export function buildAIImageItemGroups(): AIItemGroupConfig[] {items: [{name: 'Explain this image',- icon: ExplainIcon,+ icon: AIImageIcon,showWhen: () => true,handler: actionToHandler('explainImage',@@ -457,14 +457,6 @@ export function buildAIImageItemGroups(): AIItemGroupConfig[] {blockActionTrackerOptions),},- {- name: 'AI image filter',- icon: ImproveWritingIcon,- showWhen: () => true,- subItem: createImageFilterSubItem(blockActionTrackerOptions),- subItemOffset: [12, -4],- beta: true,- },{name: 'Image processing',icon: AIImageIcon,@@ -473,6 +465,14 @@ export function buildAIImageItemGroups(): AIItemGroupConfig[] {subItemOffset: [12, -6],beta: true,},+ {+ name: 'AI image filter',+ icon: ImproveWritingIcon,+ showWhen: () => true,+ subItem: createImageFilterSubItem(blockActionTrackerOptions),+ subItemOffset: [12, -4],+ beta: true,+ },{name: 'Generate a caption',icon: AIPenIcon,