diff --git a/web/app/(commonLayout)/plugins/test/card/page.tsx b/web/app/(commonLayout)/plugins/test/card/page.tsx index ac85164412..952660feea 100644 --- a/web/app/(commonLayout)/plugins/test/card/page.tsx +++ b/web/app/(commonLayout)/plugins/test/card/page.tsx @@ -3,15 +3,34 @@ import { extensionDallE, modelGPT4, toolNotion } from '@/app/components/plugins/ const PluginList = async () => { return ( - <> -
- - - - - +
+
+

Dify Plugin list

+
+ + + + + +
+ +

Install Plugin / Package under bundle

+
+ +
+

Installed

+
+ +
- +
) } diff --git a/web/app/components/plugins/card-mock.ts b/web/app/components/plugins/card-mock.ts index f054afb855..27f7fd5386 100644 --- a/web/app/components/plugins/card-mock.ts +++ b/web/app/components/plugins/card-mock.ts @@ -11,8 +11,8 @@ export const toolNotion = { 'zh-Hans': 'Notion 页面搜索', }, brief: { - 'en-US': 'Description: Search Notion pages and open visited ones faster. No admin access required.', - 'zh-Hans': '搜索 Notion 页面并更快地打开已访问的页面。无需管理员访问权限。', + '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...', }, } diff --git a/web/app/components/plugins/card.tsx b/web/app/components/plugins/card.tsx index 30885961ea..291b7b1a84 100644 --- a/web/app/components/plugins/card.tsx +++ b/web/app/components/plugins/card.tsx @@ -1,5 +1,5 @@ import React, { useMemo } from 'react' -import { RiVerifiedBadgeLine } from '@remixicon/react' +import { RiCheckLine, RiVerifiedBadgeLine } from '@remixicon/react' import type { FC } from 'react' import { LeftCorner } from '../base/icons/src/vender/plugin' import type { Plugin } from './types' @@ -31,6 +31,13 @@ export const Icon = ({ backgroundImage: `url(${src})`, }} > + {installed + &&
+
+ +
+
+ }
) } @@ -108,7 +115,7 @@ const Card = ({ const { type, name, org, label } = payload return ( -
+
{/* Header */}