-
- {isExpanded ? : }
-
+ <>
+
+
+
+ {isExpanded ? (
+
+ ) : (
+
+ )}
+
-
- {isExpanded ? (
-
- ) : (
-
- )}
-
+
+ {isExpanded ? (
+
+ ) : (
+
+ )}
+
+
+
+ {folder.name}
+
-
- {folder.name}
-
-
-
e.stopPropagation()}>
-
+
e.stopPropagation()}>
+
+
-
+
+ {/* Delete Confirmation Dialog */}
+
+
+
+ Are you sure you want to delete "{folder.name}"?
+
+ Child folders and workflows will be moved to the parent folder.
+
+
+
+ Cancel
+
+ {isDeleting ? 'Deleting...' : 'Delete'}
+
+
+
+
+ >
)
}
diff --git a/apps/sim/app/w/components/sidebar/components/settings-modal/components/general/general.tsx b/apps/sim/app/w/components/sidebar/components/settings-modal/components/general/general.tsx
index 88ff1dcdea4..602768e82c1 100644
--- a/apps/sim/app/w/components/sidebar/components/settings-modal/components/general/general.tsx
+++ b/apps/sim/app/w/components/sidebar/components/settings-modal/components/general/general.tsx
@@ -265,7 +265,7 @@ export function General() {
Cancel
Reset Data
diff --git a/apps/sim/app/w/knowledge/[id]/base.tsx b/apps/sim/app/w/knowledge/[id]/base.tsx
index 4eba4ca7fc8..52f275ff5de 100644
--- a/apps/sim/app/w/knowledge/[id]/base.tsx
+++ b/apps/sim/app/w/knowledge/[id]/base.tsx
@@ -941,7 +941,7 @@ export function KnowledgeBase({
{isDeleting ? 'Deleting...' : 'Delete Knowledge Base'}
diff --git a/apps/sim/blocks/blocks/huggingface.ts b/apps/sim/blocks/blocks/huggingface.ts
index 8aa50ec516d..2fc6e6f6b2e 100644
--- a/apps/sim/blocks/blocks/huggingface.ts
+++ b/apps/sim/blocks/blocks/huggingface.ts
@@ -10,7 +10,7 @@ export const HuggingFaceBlock: BlockConfig
= {
'Generate completions using Hugging Face Inference API with access to various open-source models. Leverage cutting-edge AI models for chat completions, content generation, and AI-powered conversations with customizable parameters.',
docsLink: 'https://docs.simstudio.ai/tools/huggingface',
category: 'tools',
- bgColor: '#181C1E',
+ bgColor: '#0B0F19',
icon: HuggingFaceIcon,
subBlocks: [
{
diff --git a/apps/sim/blocks/blocks/workflow.ts b/apps/sim/blocks/blocks/workflow.ts
index c46b9f92761..854bc814c7f 100644
--- a/apps/sim/blocks/blocks/workflow.ts
+++ b/apps/sim/blocks/blocks/workflow.ts
@@ -1,4 +1,4 @@
-import { ComponentIcon } from '@/components/icons'
+import { WorkflowIcon } from '@/components/icons'
import { createLogger } from '@/lib/logs/console-logger'
import { useWorkflowRegistry } from '@/stores/workflows/registry/store'
import type { ToolResponse } from '@/tools/types'
@@ -39,10 +39,10 @@ const getAvailableWorkflows = (): Array<{ label: string; id: string }> => {
export const WorkflowBlock: BlockConfig = {
type: 'workflow',
name: 'Workflow',
- description: 'Execute another workflow as a block',
+ description: 'Execute another workflow',
category: 'blocks',
- bgColor: '#6366f1',
- icon: ComponentIcon,
+ bgColor: '#705335',
+ icon: WorkflowIcon,
subBlocks: [
{
id: 'workflowId',
diff --git a/apps/sim/components/icons.tsx b/apps/sim/components/icons.tsx
index 1f061476d34..db6522097fe 100644
--- a/apps/sim/components/icons.tsx
+++ b/apps/sim/components/icons.tsx
@@ -214,6 +214,73 @@ export function WorkIcon(props: SVGProps) {
)
}
+export function WorkflowIcon(props: SVGProps) {
+ return (
+
+ )
+}
+
export function WarnIcon(props: SVGProps) {
return (