diff --git a/scripts/readmeWorkflow/syncPluginIndex.ts b/scripts/readmeWorkflow/syncPluginIndex.ts index db2c1fcf54a9..0b5064ef2404 100644 --- a/scripts/readmeWorkflow/syncPluginIndex.ts +++ b/scripts/readmeWorkflow/syncPluginIndex.ts @@ -6,18 +6,16 @@ import { fetchPluginIndex, genLink, genTags, readReadme, updateReadme, writeRead const genPluginTable = (data: DataItem[], lang: string) => { const isCN = lang === 'zh-CN'; - const content = data - .filter((item) => item.author === 'LobeHub') - .map((item) => [ - [ - genLink(item.meta.title, PLGUIN_URL), - `By **${item.author}** on **${item.createAt}**`, - ].join('
'), - genLink(item.homepage.split('github.com/')[1], item.homepage), - [item.meta.description, genTags(item.meta.tags)].join('
'), - ]); + const content = data.map((item) => [ + [ + genLink(item.meta.title, PLGUIN_URL), + `By **${item.author}** on **${item.createAt}**`, + ].join('
'), + genLink(item.homepage.split('github.com/')[1], item.homepage), + [item.meta.description, genTags(item.meta.tags)].join('
'), + ]); return markdownTable([ - isCN ? ['官方插件', '仓库', '插件描述'] : ['Official Plugin', 'Repository', 'Description'], + isCN ? ['最近新增', '仓库', '插件描述'] : ['Recent Submits', 'Repository', 'Description'], ...content, ]); }; diff --git a/src/app/chat/features/ChatInput/ActionBar/Tools/index.tsx b/src/app/chat/features/ChatInput/ActionBar/Tools/index.tsx index 2d3fdd7d5250..a3b0fb42d7fe 100644 --- a/src/app/chat/features/ChatInput/ActionBar/Tools/index.tsx +++ b/src/app/chat/features/ChatInput/ActionBar/Tools/index.tsx @@ -2,7 +2,7 @@ import { ActionIcon, Avatar, Icon } from '@lobehub/ui'; import { Dropdown } from 'antd'; import { createStyles } from 'antd-style'; import isEqual from 'fast-deep-equal'; -import { ArrowRight, PencilRuler, Store, ToyBrick } from 'lucide-react'; +import { ArrowRight, Blocks, Store, ToyBrick } from 'lucide-react'; import { memo, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { Flexbox } from 'react-layout-kit'; @@ -106,7 +106,7 @@ const Tools = memo(() => { placement={'top'} trigger={['click']} > - +