diff --git a/packages/iconify-collections/assets/vender/line/others/dhs.svg b/packages/iconify-collections/assets/vender/line/others/dhs.svg
new file mode 100644
index 0000000000..54e8eff8c2
--- /dev/null
+++ b/packages/iconify-collections/assets/vender/line/others/dhs.svg
@@ -0,0 +1,5 @@
+
diff --git a/packages/iconify-collections/assets/vender/line/others/dvs.svg b/packages/iconify-collections/assets/vender/line/others/dvs.svg
new file mode 100644
index 0000000000..3b1c9f2f4c
--- /dev/null
+++ b/packages/iconify-collections/assets/vender/line/others/dvs.svg
@@ -0,0 +1,5 @@
+
diff --git a/packages/iconify-collections/assets/vender/line/others/evaluation.svg b/packages/iconify-collections/assets/vender/line/others/evaluation.svg
new file mode 100644
index 0000000000..3856b8b176
--- /dev/null
+++ b/packages/iconify-collections/assets/vender/line/others/evaluation.svg
@@ -0,0 +1,3 @@
+
diff --git a/packages/iconify-collections/custom-public/icons.json b/packages/iconify-collections/custom-public/icons.json
index 7c7d110be8..7e258d97fc 100644
--- a/packages/iconify-collections/custom-public/icons.json
+++ b/packages/iconify-collections/custom-public/icons.json
@@ -1,6 +1,6 @@
{
"prefix": "custom-public",
- "lastModified": 1776313052,
+ "lastModified": 1776670225,
"icons": {
"avatar-user": {
"body": "",
diff --git a/packages/iconify-collections/custom-vender/icons.json b/packages/iconify-collections/custom-vender/icons.json
index d588db650e..e4d2bd3272 100644
--- a/packages/iconify-collections/custom-vender/icons.json
+++ b/packages/iconify-collections/custom-vender/icons.json
@@ -1,6 +1,6 @@
{
"prefix": "custom-vender",
- "lastModified": 1776313052,
+ "lastModified": 1776670225,
"icons": {
"features-citations": {
"body": ""
@@ -513,12 +513,27 @@
"width": 14,
"height": 14
},
+ "line-others-dhs": {
+ "body": "",
+ "width": 18,
+ "height": 18
+ },
"line-others-drag-handle": {
"body": ""
},
+ "line-others-dvs": {
+ "body": "",
+ "width": 18,
+ "height": 18
+ },
"line-others-env": {
"body": ""
},
+ "line-others-evaluation": {
+ "body": "",
+ "width": 18,
+ "height": 18
+ },
"line-others-global-variable": {
"body": ""
},
diff --git a/packages/iconify-collections/custom-vender/info.json b/packages/iconify-collections/custom-vender/info.json
index ea5f666503..52df22b171 100644
--- a/packages/iconify-collections/custom-vender/info.json
+++ b/packages/iconify-collections/custom-vender/info.json
@@ -1,7 +1,7 @@
{
"prefix": "custom-vender",
"name": "Dify Custom Vender",
- "total": 278,
+ "total": 281,
"version": "0.0.0-private",
"author": {
"name": "LangGenius, Inc.",
diff --git a/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/layout-main.tsx b/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/layout-main.tsx
index 7f8d6d535e..5c3a237aca 100644
--- a/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/layout-main.tsx
+++ b/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/layout-main.tsx
@@ -8,8 +8,6 @@ import {
RiDashboard2Line,
RiFileList3Fill,
RiFileList3Line,
- RiFlaskFill,
- RiFlaskLine,
RiTerminalBoxFill,
RiTerminalBoxLine,
RiTerminalWindowFill,
@@ -43,6 +41,10 @@ type IAppDetailLayoutProps = {
appId: string
}
+const EvaluationIcon = ({ className }: { className?: string }) => {
+ return
+}
+
const AppDetailLayout: FC = (props) => {
const {
children,
@@ -80,14 +82,6 @@ const AppDetailLayout: FC = (props) => {
icon: RiTerminalWindowLine,
selectedIcon: RiTerminalWindowFill,
})
- if (canAccessSnippetsAndEvaluation) {
- navConfig.push({
- name: t('appMenus.evaluation', { ns: 'common' }),
- href: `/app/${appId}/evaluation`,
- icon: RiFlaskLine,
- selectedIcon: RiFlaskFill,
- })
- }
}
navConfig.push({
@@ -114,6 +108,16 @@ const AppDetailLayout: FC = (props) => {
icon: RiDashboard2Line,
selectedIcon: RiDashboard2Fill,
})
+
+ if (isCurrentWorkspaceEditor && canAccessSnippetsAndEvaluation) {
+ navConfig.push({
+ name: t('appMenus.evaluation', { ns: 'common' }),
+ href: `/app/${appId}/evaluation`,
+ icon: EvaluationIcon,
+ selectedIcon: EvaluationIcon,
+ })
+ }
+
return navConfig
}, [canAccessSnippetsAndEvaluation, t])
diff --git a/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout-main.tsx b/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout-main.tsx
index c5719d6a61..179557b40e 100644
--- a/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout-main.tsx
+++ b/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout-main.tsx
@@ -7,8 +7,6 @@ import {
RiEqualizer2Line,
RiFileTextFill,
RiFileTextLine,
- RiFlaskFill,
- RiFlaskLine,
RiFocus2Fill,
RiFocus2Line,
} from '@remixicon/react'
@@ -34,6 +32,10 @@ type IAppDetailLayoutProps = {
datasetId: string
}
+const EvaluationIcon = ({ className }: { className?: string }) => {
+ return
+}
+
const DatasetDetailLayout: FC = (props) => {
const {
children,
@@ -106,16 +108,16 @@ const DatasetDetailLayout: FC = (props) => {
selectedIcon: PipelineFill as RemixiconComponentType,
disabled: false,
},
+ ...baseNavigation,
...(isRagPipelineDataset && canAccessSnippetsAndEvaluation
? [{
name: t('datasetMenus.evaluation', { ns: 'common' }),
href: `/datasets/${datasetId}/evaluation`,
- icon: RiFlaskLine,
- selectedIcon: RiFlaskFill,
+ icon: EvaluationIcon,
+ selectedIcon: EvaluationIcon,
disabled: isButtonDisabledWithPipeline,
}]
: []),
- ...baseNavigation,
]
}
diff --git a/web/app/components/app/app-publisher/sections.tsx b/web/app/components/app/app-publisher/sections.tsx
index 51b1ac2f7b..3bcad6a533 100644
--- a/web/app/components/app/app-publisher/sections.tsx
+++ b/web/app/components/app/app-publisher/sections.tsx
@@ -205,7 +205,7 @@ export const PublisherSummarySection = ({