diff --git a/web/app/components/workflow/skill/editor/skill-editor/plugins/file-picker-panel.tsx b/web/app/components/workflow/skill/editor/skill-editor/plugins/file-picker-panel.tsx
index c57dbb02bf..a6423d50c3 100644
--- a/web/app/components/workflow/skill/editor/skill-editor/plugins/file-picker-panel.tsx
+++ b/web/app/components/workflow/skill/editor/skill-editor/plugins/file-picker-panel.tsx
@@ -1,7 +1,6 @@
import type { NodeRendererProps } from 'react-arborist'
import type { FileAppearanceType } from '@/app/components/base/file-uploader/types'
import type { TreeNodeData } from '@/app/components/workflow/skill/type'
-import { RiArrowDownSLine, RiArrowRightSLine, RiFolderLine, RiFolderOpenLine } from '@remixicon/react'
import { useSize } from 'ahooks'
import * as React from 'react'
import { useCallback, useMemo, useRef } from 'react'
@@ -66,8 +65,8 @@ const FilePickerTreeNode = ({ node, style, dragHandle, onSelectNode }: FilePicke
{isFolder
? (
node.isOpen
- ?
- :
+ ?
+ :
)
: (
@@ -103,8 +102,8 @@ const FilePickerTreeNode = ({ node, style, dragHandle, onSelectNode }: FilePicke
)}
>
{node.isOpen
- ?
- : }
+ ?
+ : }
)}
diff --git a/web/app/components/workflow/skill/editor/skill-editor/plugins/file-reference-block/component.tsx b/web/app/components/workflow/skill/editor/skill-editor/plugins/file-reference-block/component.tsx
index 577177a77c..cadaaacd50 100644
--- a/web/app/components/workflow/skill/editor/skill-editor/plugins/file-reference-block/component.tsx
+++ b/web/app/components/workflow/skill/editor/skill-editor/plugins/file-reference-block/component.tsx
@@ -3,7 +3,6 @@ import type { FileAppearanceType } from '@/app/components/base/file-uploader/typ
import type { TreeNodeData } from '@/app/components/workflow/skill/type'
import type { AppAssetTreeView } from '@/types/app-asset'
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext'
-import { RiAlertFill, RiFolderLine } from '@remixicon/react'
import { $getNodeByKey } from 'lexical'
import * as React from 'react'
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
@@ -186,7 +185,7 @@ const FileReferenceBlock = ({ nodeKey, resourceId }: FileReferenceBlockProps) =>
>
{isFolder
- ?
+ ?
: (
{
isMissing && (
-
+
)
}
diff --git a/web/app/components/workflow/skill/editor/skill-editor/plugins/file-reference-block/file-preview-panel.tsx b/web/app/components/workflow/skill/editor/skill-editor/plugins/file-reference-block/file-preview-panel.tsx
index 7dbae49dd2..4358582ed9 100644
--- a/web/app/components/workflow/skill/editor/skill-editor/plugins/file-reference-block/file-preview-panel.tsx
+++ b/web/app/components/workflow/skill/editor/skill-editor/plugins/file-reference-block/file-preview-panel.tsx
@@ -1,6 +1,5 @@
import type { FileAppearanceType } from '@/app/components/base/file-uploader/types'
import type { AppAssetTreeView } from '@/types/app-asset'
-import { RiCloseLine, RiExternalLinkLine, RiFolderLine } from '@remixicon/react'
import * as React from 'react'
import { useCallback, useMemo } from 'react'
import { useTranslation } from 'react-i18next'
@@ -97,7 +96,7 @@ const FilePreviewPanel = ({ resourceId, currentNode, className, style, onClose }
{folderName && (
-
+
{folderName}
@@ -133,7 +132,7 @@ const FilePreviewPanel = ({ resourceId, currentNode, className, style, onClose }
)}
aria-label={t('skillEditor.openInSkillEditor', { ns: 'workflow' })}
>
-
+
diff --git a/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/component.tsx b/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/component.tsx
index 3c613d7e41..588cbebde8 100644
--- a/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/component.tsx
+++ b/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/component.tsx
@@ -4,7 +4,6 @@ import type { ToolValue } from '@/app/components/workflow/block-selector/types'
import type { ToolWithProvider } from '@/app/components/workflow/types'
import type { AppAssetTreeView } from '@/types/app-asset'
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext'
-import { RiAlertFill, RiEqualizer2Line } from '@remixicon/react'
import * as React from 'react'
import { useEffect, useMemo, useState } from 'react'
import { createPortal } from 'react-dom'
@@ -381,9 +380,9 @@ const ToolBlockComponent = ({
)
})()
const hoverIcon = (
-
{authBadgeLabel}
-
+
)}
diff --git a/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-group-block-component.tsx b/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-group-block-component.tsx
index 951638869a..9a0ee06cdd 100644
--- a/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-group-block-component.tsx
+++ b/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-group-block-component.tsx
@@ -4,7 +4,6 @@ import type { ToolParameter } from '@/app/components/tools/types'
import type { ToolValue } from '@/app/components/workflow/block-selector/types'
import type { ToolWithProvider } from '@/app/components/workflow/types'
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext'
-import { RiAlertFill, RiCloseLine, RiEqualizer2Line } from '@remixicon/react'
import * as React from 'react'
import { useCallback, useEffect, useMemo, useState } from 'react'
import { createPortal } from 'react-dom'
@@ -561,9 +560,9 @@ const ToolGroupBlockComponent = ({
)
})()
const hoverIcon = (
-
{t('operation.close', { ns: 'common' })}
-
+
{providerDescription && (
@@ -789,7 +788,7 @@ const ToolGroupBlockComponent = ({
setExpandedToolId(item.configId)
}}
>
-
+
{t('operation.settings', { ns: 'common' })}
@@ -849,7 +848,7 @@ const ToolGroupBlockComponent = ({
? (
{authBadgeLabel}
-
+
)
: (
diff --git a/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-header.tsx b/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-header.tsx
index 59b6a75396..141461bcf3 100644
--- a/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-header.tsx
+++ b/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-header.tsx
@@ -1,7 +1,6 @@
'use client'
import type { Emoji } from '@/app/components/tools/types'
-import { RiArrowLeftSLine, RiCloseLine } from '@remixicon/react'
import AppIcon from '@/app/components/base/app-icon'
type ToolHeaderProps = {
@@ -71,7 +70,7 @@ const ToolHeader = ({
onBack()
}}
>
-
+
)}
{renderHeaderIcon()}
@@ -89,7 +88,7 @@ const ToolHeader = ({
onClose()
}}
>
-
+
diff --git a/web/app/components/workflow/skill/file-tree/artifacts/artifacts-section.tsx b/web/app/components/workflow/skill/file-tree/artifacts/artifacts-section.tsx
index 1d61e355ca..31671e20e2 100644
--- a/web/app/components/workflow/skill/file-tree/artifacts/artifacts-section.tsx
+++ b/web/app/components/workflow/skill/file-tree/artifacts/artifacts-section.tsx
@@ -1,7 +1,6 @@
'use client'
import type { SandboxFileTreeNode } from '@/types/sandbox-file'
-import { RiArrowDownSLine, RiArrowRightSLine, RiLoader2Line } from '@remixicon/react'
import * as React from 'react'
import { useCallback, useState } from 'react'
import { useTranslation } from 'react-i18next'
@@ -74,15 +73,15 @@ const ArtifactsSection = ({ className }: ArtifactsSectionProps) => {
{showSpinner
- ?
+ ?
: (
<>
{showBlueDot && (
)}
{isExpanded
- ?
- :
}
+ ?
+ :
}
>
)}
diff --git a/web/app/components/workflow/skill/file-tree/artifacts/artifacts-tree.tsx b/web/app/components/workflow/skill/file-tree/artifacts/artifacts-tree.tsx
index b8e006c1cc..7a11cfaef0 100644
--- a/web/app/components/workflow/skill/file-tree/artifacts/artifacts-tree.tsx
+++ b/web/app/components/workflow/skill/file-tree/artifacts/artifacts-tree.tsx
@@ -2,7 +2,6 @@
import type { FileAppearanceType } from '@/app/components/base/file-uploader/types'
import type { SandboxFileTreeNode } from '@/types/sandbox-file'
-import { RiDownloadLine, RiFolderLine, RiFolderOpenLine } from '@remixicon/react'
import * as React from 'react'
import { useCallback, useState } from 'react'
import FileTypeIcon from '@/app/components/base/file-uploader/file-type-icon'
@@ -84,8 +83,8 @@ const ArtifactsTreeNode = ({
{isFolder
? (
isExpanded
- ?
- :
+ ?
+ :
)
: }
@@ -107,7 +106,7 @@ const ArtifactsTreeNode = ({
)}
aria-label={`Download ${node.name}`}
>
-
+
)}
diff --git a/web/app/components/workflow/skill/file-tree/tree/file-tree.tsx b/web/app/components/workflow/skill/file-tree/tree/file-tree.tsx
index f30b68856f..5a6729adfb 100644
--- a/web/app/components/workflow/skill/file-tree/tree/file-tree.tsx
+++ b/web/app/components/workflow/skill/file-tree/tree/file-tree.tsx
@@ -4,7 +4,6 @@ import type { MoveHandler, NodeApi, NodeRendererProps, TreeApi } from 'react-arb
import type { TreeNodeData } from '../../type'
import type { OpensObject } from '@/app/components/workflow/store/workflow/skill-editor/file-tree-slice'
import type { AppAssetTreeView } from '@/types/app-asset'
-import { RiDragDropLine } from '@remixicon/react'
import { useIsMutating } from '@tanstack/react-query'
import { useSize } from 'ahooks'
import * as React from 'react'
@@ -82,7 +81,7 @@ const DropTip = () => {
const { t } = useTranslation('workflow')
return (
-
+
{t('skillSidebar.dropTip')}
diff --git a/web/app/components/workflow/skill/file-tree/tree/menu-item.spec.tsx b/web/app/components/workflow/skill/file-tree/tree/menu-item.spec.tsx
index 037e728fd2..1eb3aa3b0c 100644
--- a/web/app/components/workflow/skill/file-tree/tree/menu-item.spec.tsx
+++ b/web/app/components/workflow/skill/file-tree/tree/menu-item.spec.tsx
@@ -68,7 +68,7 @@ describe('MenuItem', () => {
// Arrange
const tooltipText = 'Show help'
const { container } = renderMenuItem({ tooltip: tooltipText })
- const tooltipIcon = container.querySelector('svg.text-text-quaternary')
+ const tooltipIcon = container.querySelector('.i-ri-question-line')
// Act
expect(tooltipIcon).toBeTruthy()
@@ -103,7 +103,7 @@ describe('MenuItem', () => {
// Arrange
const onClick = vi.fn()
const { container } = renderMenuItem({ onClick, tooltip: 'Help' })
- const tooltipIcon = container.querySelector('svg.text-text-quaternary')
+ const tooltipIcon = container.querySelector('.i-ri-question-line')
// Act
expect(tooltipIcon).toBeTruthy()
diff --git a/web/app/components/workflow/skill/file-tree/tree/menu-item.tsx b/web/app/components/workflow/skill/file-tree/tree/menu-item.tsx
index dcc33f5f1d..10ddc625f9 100644
--- a/web/app/components/workflow/skill/file-tree/tree/menu-item.tsx
+++ b/web/app/components/workflow/skill/file-tree/tree/menu-item.tsx
@@ -1,7 +1,6 @@
'use client'
import type { VariantProps } from 'class-variance-authority'
-import { RiQuestionLine } from '@remixicon/react'
import { cva } from 'class-variance-authority'
import * as React from 'react'
import Tooltip from '@/app/components/base/tooltip'
@@ -52,7 +51,7 @@ const labelVariants = cva('text-text-secondary system-sm-regular', {
})
export type MenuItemProps = {
- icon: React.ElementType
+ icon: React.ElementType | string
label: string
kbd?: readonly string[]
onClick: React.MouseEventHandler
@@ -73,7 +72,9 @@ const MenuItem = ({ icon: Icon, label, kbd, onClick, disabled, variant, tooltip
disabled={disabled}
className={cn(menuItemVariants({ variant }))}
>
-
+ {typeof Icon === 'string'
+ ?
+ : }
{label}
{kbd && kbd.length > 0 && }
{tooltip && (
@@ -88,7 +89,7 @@ const MenuItem = ({ icon: Icon, label, kbd, onClick, disabled, variant, tooltip
event.stopPropagation()
}}
>
-
+
)}
diff --git a/web/app/components/workflow/skill/file-tree/tree/node-menu.tsx b/web/app/components/workflow/skill/file-tree/tree/node-menu.tsx
index 0363545c9f..651dc9e2ed 100644
--- a/web/app/components/workflow/skill/file-tree/tree/node-menu.tsx
+++ b/web/app/components/workflow/skill/file-tree/tree/node-menu.tsx
@@ -3,14 +3,6 @@
import type { NodeApi, TreeApi } from 'react-arborist'
import type { NodeMenuType } from '../../constants'
import type { TreeNodeData } from '../../type'
-import {
- RiClipboardLine,
- RiDeleteBinLine,
- RiEdit2Line,
- RiFolderUploadLine,
- RiScissorsLine,
- RiUploadLine,
-} from '@remixicon/react'
import dynamic from 'next/dynamic'
import * as React from 'react'
import { useCallback, useState } from 'react'
@@ -146,7 +138,7 @@ const NodeMenu = ({
disabled={isLoading}
/>
diff --git a/web/app/components/workflow/skill/skill-body/sidebar-search-add.tsx b/web/app/components/workflow/skill/skill-body/sidebar-search-add.tsx
index a6da6b241d..fc4bbb79c2 100644
--- a/web/app/components/workflow/skill/skill-body/sidebar-search-add.tsx
+++ b/web/app/components/workflow/skill/skill-body/sidebar-search-add.tsx
@@ -1,10 +1,5 @@
'use client'
-import {
- RiAddLine,
- RiFolderUploadLine,
- RiUploadLine,
-} from '@remixicon/react'
import dynamic from 'next/dynamic'
import * as React from 'react'
import { useMemo, useState } from 'react'
@@ -81,7 +76,7 @@ const SidebarSearchAdd = () => {
className="!size-6 shrink-0 !p-1"
aria-label={t('operation.add', { ns: 'common' })}
>
-
+
@@ -124,7 +119,7 @@ const SidebarSearchAdd = () => {
disabled={isLoading}
/>
folderInputRef.current?.click()}
disabled={isLoading}
@@ -133,7 +128,7 @@ const SidebarSearchAdd = () => {
setIsImportModalOpen(true)}
disabled={isLoading}
diff --git a/web/app/components/workflow/skill/skill-body/tabs/file-tab-item.tsx b/web/app/components/workflow/skill/skill-body/tabs/file-tab-item.tsx
index 33ffdfb066..4d61747f0e 100644
--- a/web/app/components/workflow/skill/skill-body/tabs/file-tab-item.tsx
+++ b/web/app/components/workflow/skill/skill-body/tabs/file-tab-item.tsx
@@ -1,7 +1,6 @@
'use client'
import type { FileAppearanceType } from '@/app/components/base/file-uploader/types'
-import { RiCloseLine } from '@remixicon/react'
import * as React from 'react'
import { useCallback } from 'react'
import { useTranslation } from 'react-i18next'
@@ -95,7 +94,7 @@ const FileTabItem = ({
aria-label={t('operation.close', { ns: 'common' })}
onClick={handleClose}
>
-
+
)
diff --git a/web/app/components/workflow/skill/start-tab/create-import-section.tsx b/web/app/components/workflow/skill/start-tab/create-import-section.tsx
index 274786b69d..0dbb03d23f 100644
--- a/web/app/components/workflow/skill/start-tab/create-import-section.tsx
+++ b/web/app/components/workflow/skill/start-tab/create-import-section.tsx
@@ -1,6 +1,5 @@
'use client'
-import { RiAddCircleFill, RiUploadLine } from '@remixicon/react'
import dynamic from 'next/dynamic'
import { memo, useState } from 'react'
import { useTranslation } from 'react-i18next'
@@ -20,13 +19,13 @@ const CreateImportSection = () => {
<>
}
+ icon={
}
title={t('skill.startTab.createBlankSkill')}
description={t('skill.startTab.createBlankSkillDesc')}
onClick={() => setIsCreateModalOpen(true)}
/>
}
+ icon={
}
title={t('skill.startTab.importSkill')}
description={t('skill.startTab.importSkillDesc')}
onClick={() => setIsImportModalOpen(true)}
diff --git a/web/app/components/workflow/skill/start-tab/import-skill-modal.tsx b/web/app/components/workflow/skill/start-tab/import-skill-modal.tsx
index 8499fc0410..380a2a04c5 100644
--- a/web/app/components/workflow/skill/start-tab/import-skill-modal.tsx
+++ b/web/app/components/workflow/skill/start-tab/import-skill-modal.tsx
@@ -1,7 +1,6 @@
'use client'
import type { ChangeEvent, DragEvent } from 'react'
-import { RiUploadCloud2Line } from '@remixicon/react'
import { memo, useCallback, useRef, useState } from 'react'
import { useTranslation } from 'react-i18next'
import { useStore as useAppStore } from '@/app/components/app/store'
@@ -181,7 +180,7 @@ const ImportSkillModal = ({ isOpen, onClose }: ImportSkillModalProps) => {
onDrop={handleDrop}
onClick={() => fileInputRef.current?.click()}
>
-
+
{t(`${PREFIX}.dropHint`, { ns: NS })}
{' '}
diff --git a/web/app/components/workflow/skill/start-tab/template-card.tsx b/web/app/components/workflow/skill/start-tab/template-card.tsx
index abfab60f2e..369bef37a9 100644
--- a/web/app/components/workflow/skill/start-tab/template-card.tsx
+++ b/web/app/components/workflow/skill/start-tab/template-card.tsx
@@ -1,7 +1,6 @@
'use client'
import type { SkillTemplateSummary } from './templates/types'
-import { RiAddLine, RiCheckLine } from '@remixicon/react'
import { memo } from 'react'
import { useTranslation } from 'react-i18next'
import AppIcon from '@/app/components/base/app-icon'
@@ -51,7 +50,7 @@ const TemplateCard = ({ template, added, disabled, loading, onUse }: TemplateCar
className="w-full"
disabled
>
-
+
{t('skill.startTab.skillAdded')}
)
@@ -64,7 +63,7 @@ const TemplateCard = ({ template, added, disabled, loading, onUse }: TemplateCar
loading={loading}
onClick={() => onUse(template)}
>
-
+
{t('skill.startTab.useThisSkill')}
)}
diff --git a/web/app/components/workflow/skill/viewer/pdf-file-preview.tsx b/web/app/components/workflow/skill/viewer/pdf-file-preview.tsx
index 161937858a..c435a58cfb 100644
--- a/web/app/components/workflow/skill/viewer/pdf-file-preview.tsx
+++ b/web/app/components/workflow/skill/viewer/pdf-file-preview.tsx
@@ -1,6 +1,5 @@
'use client'
-import { RiZoomInLine, RiZoomOutLine } from '@remixicon/react'
import { noop } from 'es-toolkit/function'
import * as React from 'react'
import { useState } from 'react'
@@ -36,7 +35,7 @@ const PdfFilePreview = ({ downloadUrl }: PdfFilePreviewProps) => {
className="flex size-8 cursor-pointer items-center justify-center rounded-lg bg-components-panel-bg shadow-md hover:bg-state-base-hover"
aria-label="Zoom out"
>
-
+
diff --git a/web/app/components/workflow/skill/viewer/sqlite-file-preview/table-selector.tsx b/web/app/components/workflow/skill/viewer/sqlite-file-preview/table-selector.tsx
index 9f89a3a5c1..2202f1be05 100644
--- a/web/app/components/workflow/skill/viewer/sqlite-file-preview/table-selector.tsx
+++ b/web/app/components/workflow/skill/viewer/sqlite-file-preview/table-selector.tsx
@@ -1,4 +1,3 @@
-import { RiArrowDownSLine } from '@remixicon/react'
import * as React from 'react'
import { useMemo, useState } from 'react'
import { useTranslation } from 'react-i18next'
@@ -74,7 +73,7 @@ const TableSelector = ({
{label}
-
+