mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 06:05:51 +08:00
add plugin description
This commit is contained in:
parent
10190a9aa5
commit
307af29b65
@ -11,7 +11,7 @@ import {
|
||||
} from '@remixicon/react'
|
||||
import type { PluginDetail } from '../types'
|
||||
import { PluginSource } from '../types'
|
||||
// import Description from '../card/base/description'
|
||||
import Description from '../card/base/description'
|
||||
import Icon from '../card/base/card-icon'
|
||||
import Title from '../card/base/title'
|
||||
import OrgInfo from '../card/base/org-info'
|
||||
@ -122,8 +122,7 @@ const PluginDetailPanel: FC<Props> = ({
|
||||
</ActionButton>
|
||||
</div>
|
||||
</div>
|
||||
{/* category === extension TODO */}
|
||||
{/* <Description className='mt-3' text={pluginDetail.declaration.brief[locale]} descriptionLineRows={2}></Description> */}
|
||||
<Description className='mt-3' text={pluginDetail.declaration.description[locale]} descriptionLineRows={2}></Description>
|
||||
</div>
|
||||
<div className='grow overflow-y-auto'>
|
||||
<ActionList />
|
||||
|
@ -17,7 +17,7 @@ export const toolNotion = {
|
||||
'en-US': 'Notion Page Search',
|
||||
'zh-Hans': 'Notion 页面搜索',
|
||||
},
|
||||
brief: {
|
||||
description: {
|
||||
'en-US': 'Description: Search Notion pages and open visited ones faster. No admin access required.More and more info...More and more info...More and more info...',
|
||||
'zh-Hans': '搜索 Notion 页面并更快地打开已访问的页面。无需管理员访问权限。More and more info...More and more info...More and more info...',
|
||||
},
|
||||
|
@ -43,7 +43,7 @@ export type PluginDeclaration = {
|
||||
name: string
|
||||
category: PluginType
|
||||
label: Record<Locale, string>
|
||||
brief: Record<Locale, string>
|
||||
description: Record<Locale, string>
|
||||
created_at: string
|
||||
resource: any // useless in frontend
|
||||
plugins: any // useless in frontend
|
||||
|
Loading…
x
Reference in New Issue
Block a user