mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 05:55:51 +08:00
action list
This commit is contained in:
parent
2fbfc988c4
commit
fc61fd0f50
@ -1,9 +1,15 @@
|
||||
import React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
const ActionList = () => {
|
||||
const { t } = useTranslation()
|
||||
return (
|
||||
<div>
|
||||
<h1>Action List</h1>
|
||||
<div className='px-4 py-2'>
|
||||
<div className='mb-1 h-6 flex items-center text-text-secondary system-sm-semibold-uppercase'>{t('plugin.detailPanel.actionNum', { num: 3 })}</div>
|
||||
<div className='px-4 py-3 bg-components-panel-item-bg rounded-xl border-[0.5px] border-components-panel-border-subtle shadow-xs cursor-pointer hover:bg-components-panel-on-panel-item-bg-hover'>
|
||||
<div className='pb-0.5 text-text-secondary system-md-semibold'>Notion Page Search</div>
|
||||
<div className='text-text-tertiary system-xs-regular line-clamp-2'>A tool for performing a Google SERP search and extracting snippets and webpages.Input should be a search query.</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
@ -24,8 +24,8 @@ import Loading from '@/app/components/base/loading'
|
||||
import cn from '@/utils/classnames'
|
||||
import {
|
||||
// extensionDallE,
|
||||
modelGPT4,
|
||||
// toolNotion,
|
||||
// modelGPT4,
|
||||
toolNotion,
|
||||
} from '@/app/components/plugins/card/card-mock'
|
||||
|
||||
type Props = {
|
||||
@ -57,7 +57,7 @@ const PluginDetailPanel: FC<Props> = ({
|
||||
const detail = await fetchPluginDetail(org, name)
|
||||
setPluginDetail({
|
||||
...detail,
|
||||
...modelGPT4,
|
||||
...toolNotion,
|
||||
} as any)
|
||||
setLoading(false)
|
||||
}
|
||||
|
@ -12,6 +12,7 @@ const translation = {
|
||||
remove: 'Remove',
|
||||
},
|
||||
modelNum: '{{num}} MODELS INCLUDED',
|
||||
actionNum: '{{num}} ACTIONS INCLUDED',
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -12,6 +12,7 @@ const translation = {
|
||||
remove: '移除',
|
||||
},
|
||||
modelNum: '{{num}} 模型已包含',
|
||||
actionNum: '{{num}} ACTIONS 已包含',
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user