Are you sure you want to delete{' '}
{knowledgeBaseName}?
- The knowledge base and all {pagination.total} document
- {pagination.total === 1 ? '' : 's'} within it will be removed.{' '}
+
+ The knowledge base and all {pagination.total} document
+ {pagination.total === 1 ? '' : 's'} within it will be removed.
+ {' '}
You can restore it from Recently Deleted in Settings.
@@ -1147,7 +1149,9 @@ export function KnowledgeBase({
it from future syncs. To temporarily hide it from search, disable it instead.
) : (
- This action cannot be undone.
+
+ This will permanently delete the document.
+
)}
)
@@ -1177,7 +1181,10 @@ export function KnowledgeBase({
Are you sure you want to delete {selectedDocuments.size} document
{selectedDocuments.size === 1 ? '' : 's'}?{' '}
- This action cannot be undone.
+
+ This will permanently delete the selected document
+ {selectedDocuments.size === 1 ? '' : 's'}.
+
- Are you sure you want to delete the "{selectedTag?.displayName}" tag? This will
- remove this tag from {selectedTagUsage?.documentCount || 0} document
- {selectedTagUsage?.documentCount !== 1 ? 's' : ''}.{' '}
+ Are you sure you want to delete the "{selectedTag?.displayName}" tag?{' '}
+
+ This will remove this tag from {selectedTagUsage?.documentCount || 0} document
+ {selectedTagUsage?.documentCount !== 1 ? 's' : ''}.
+ {' '}
This action cannot be undone.
diff --git a/apps/sim/app/workspace/[workspaceId]/knowledge/[id]/components/connectors-section/connectors-section.tsx b/apps/sim/app/workspace/[workspaceId]/knowledge/[id]/components/connectors-section/connectors-section.tsx
index 5e80e1f8cd3..5be2c56ad02 100644
--- a/apps/sim/app/workspace/[workspaceId]/knowledge/[id]/components/connectors-section/connectors-section.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/knowledge/[id]/components/connectors-section/connectors-section.tsx
@@ -206,8 +206,13 @@ export function ConnectorsSection({
Delete Connector
- Are you sure you want to remove this connected source? Documents already synced will
- remain in the knowledge base.
+ Are you sure you want to remove this connected source?{' '}
+
+ This will stop future syncs from this source.
+ {' '}
+
+ Documents already synced will remain in the knowledge base.
+
diff --git a/apps/sim/app/workspace/[workspaceId]/knowledge/components/delete-knowledge-base-modal/delete-knowledge-base-modal.tsx b/apps/sim/app/workspace/[workspaceId]/knowledge/components/delete-knowledge-base-modal/delete-knowledge-base-modal.tsx
index 7d1655c3dc5..bfc3b29de17 100644
--- a/apps/sim/app/workspace/[workspaceId]/knowledge/components/delete-knowledge-base-modal/delete-knowledge-base-modal.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/knowledge/components/delete-knowledge-base-modal/delete-knowledge-base-modal.tsx
@@ -46,10 +46,17 @@ export function DeleteKnowledgeBaseModal({
<>
Are you sure you want to delete{' '}
{knowledgeBaseName}?
- All associated documents, chunks, and embeddings will be removed.
+
+ All associated documents, chunks, and embeddings will be removed.
+
>
) : (
- 'Are you sure you want to delete this knowledge base? All associated documents, chunks, and embeddings will be removed.'
+ <>
+ Are you sure you want to delete this knowledge base?{' '}
+
+ All associated documents, chunks, and embeddings will be removed.
+
+ >
)}{' '}
You can restore it from Recently Deleted in Settings.
diff --git a/apps/sim/app/workspace/[workspaceId]/logs/components/logs-toolbar/components/notifications/notifications.tsx b/apps/sim/app/workspace/[workspaceId]/logs/components/logs-toolbar/components/notifications/notifications.tsx
index 277b202a5a9..4691b0c6f98 100644
--- a/apps/sim/app/workspace/[workspaceId]/logs/components/logs-toolbar/components/notifications/notifications.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/logs/components/logs-toolbar/components/notifications/notifications.tsx
@@ -1268,7 +1268,9 @@ export const NotificationSettings = memo(function NotificationSettings({
Delete Notification
- This will permanently remove the notification and stop all deliveries.{' '}
+
+ This will permanently remove the notification and stop all deliveries.
+ {' '}
This action cannot be undone.
diff --git a/apps/sim/app/workspace/[workspaceId]/settings/components/api-keys/api-keys.tsx b/apps/sim/app/workspace/[workspaceId]/settings/components/api-keys/api-keys.tsx
index f4ec9d68063..d60b76eeffd 100644
--- a/apps/sim/app/workspace/[workspaceId]/settings/components/api-keys/api-keys.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/settings/components/api-keys/api-keys.tsx
@@ -371,8 +371,10 @@ export function ApiKeys() {
Deleting{' '}
- {deleteKey?.name} will
- immediately revoke access for any integrations using it.{' '}
+ {deleteKey?.name}{' '}
+
+ will immediately revoke access for any integrations using it.
+ {' '}
This action cannot be undone.
diff --git a/apps/sim/app/workspace/[workspaceId]/settings/components/byok/byok.tsx b/apps/sim/app/workspace/[workspaceId]/settings/components/byok/byok.tsx
index f65b58c333f..c6050f18800 100644
--- a/apps/sim/app/workspace/[workspaceId]/settings/components/byok/byok.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/settings/components/byok/byok.tsx
@@ -404,7 +404,10 @@ export function BYOK() {
{PROVIDERS.find((p) => p.id === deleteConfirmProvider)?.name}
{' '}
- API key? This workspace will revert to using platform hosted keys.
+ API key?{' '}
+
+ This workspace will revert to using platform hosted keys.
+
diff --git a/apps/sim/app/workspace/[workspaceId]/settings/components/copilot/copilot.tsx b/apps/sim/app/workspace/[workspaceId]/settings/components/copilot/copilot.tsx
index cb9085af9be..bc135bfe17c 100644
--- a/apps/sim/app/workspace/[workspaceId]/settings/components/copilot/copilot.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/settings/components/copilot/copilot.tsx
@@ -366,7 +366,9 @@ export function Copilot() {
{deleteKey?.name || 'Unnamed Key'}
{' '}
- will immediately revoke access for any integrations using it.{' '}
+
+ will immediately revoke access for any integrations using it.
+ {' '}
This action cannot be undone.
diff --git a/apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/row-modal/row-modal.tsx b/apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/row-modal/row-modal.tsx
index 1e08d230b13..b506f79230c 100644
--- a/apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/row-modal/row-modal.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/row-modal/row-modal.tsx
@@ -164,8 +164,10 @@ export function RowModal({ mode, isOpen, onClose, table, row, rowIds, onSuccess
)}
Are you sure you want to delete{' '}
- {isSingleRow ? 'this row' : `these ${deleteCount} rows`}? This will permanently remove
- all data in {isSingleRow ? 'this row' : 'these rows'}.{' '}
+ {isSingleRow ? 'this row' : `these ${deleteCount} rows`}?{' '}
+
+ This will permanently remove all data in {isSingleRow ? 'this row' : 'these rows'}.
+ {' '}
This action cannot be undone.
diff --git a/apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table/table.tsx b/apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table/table.tsx
index 70556717975..74f116454d2 100644
--- a/apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table/table.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table/table.tsx
@@ -1809,6 +1809,9 @@ export function Table({
Are you sure you want to delete{' '}
{tableData?.name}?{' '}
+
+ All {tableData?.rowCount ?? 0} rows will be removed.
+ {' '}
You can restore it from Recently Deleted in Settings.
@@ -1845,8 +1848,10 @@ export function Table({
Are you sure you want to delete{' '}
- {deletingColumn}? This
- will remove all data in this column.{' '}
+ {deletingColumn}?{' '}
+
+ This will remove all data in this column.
+ {' '}
This action cannot be undone.
diff --git a/apps/sim/app/workspace/[workspaceId]/tables/tables.tsx b/apps/sim/app/workspace/[workspaceId]/tables/tables.tsx
index 9a2a76e5d4e..8b8a1178122 100644
--- a/apps/sim/app/workspace/[workspaceId]/tables/tables.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/tables/tables.tsx
@@ -320,8 +320,10 @@ export function Tables() {
Are you sure you want to delete{' '}
- {activeTable?.name}?
- All {activeTable?.rowCount} rows will be removed.{' '}
+ {activeTable?.name}?{' '}
+
+ All {activeTable?.rowCount} rows will be removed.
+ {' '}
You can restore it from Recently Deleted in Settings.
diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat/chat.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat/chat.tsx
index 3f0bd88c821..863db7529a0 100644
--- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat/chat.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat/chat.tsx
@@ -929,7 +929,7 @@ export function Chat() {
>
{shouldShowConfigureStartInputsButton && (
- This will permanently delete the tool and remove it from any workflows that are using
- it. This action cannot be undone.
+
+ This will permanently delete the tool and remove it from any workflows that are
+ using it.
+ {' '}
+ This action cannot be undone.
diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx
index fb81604e6e5..ecaf8796d84 100644
--- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx
@@ -874,7 +874,10 @@ export const Panel = memo(function Panel() {
{currentWorkflow?.name ?? 'this workflow'}
- ? All associated blocks, executions, and configuration will be removed.{' '}
+ ?{' '}
+
+ All associated blocks, executions, and configuration will be removed.
+ {' '}
You can restore it from Recently Deleted in Settings.
diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts
index 75c119565f2..9bd258da935 100644
--- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts
+++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts
@@ -1822,7 +1822,7 @@ export function useWorkflowExecution() {
try {
const pointer = await loadExecutionPointer(reconnectWorkflowId)
if (cleanupRan) return
- if (pointer && pointer.executionId) {
+ if (pointer?.executionId) {
executionId = pointer.executionId
fromEventId = pointer.lastEventId
}
diff --git a/apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/collapsed-sidebar-menu/collapsed-sidebar-menu.tsx b/apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/collapsed-sidebar-menu/collapsed-sidebar-menu.tsx
index 565c441d64f..4ad02e3f36d 100644
--- a/apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/collapsed-sidebar-menu/collapsed-sidebar-menu.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/collapsed-sidebar-menu/collapsed-sidebar-menu.tsx
@@ -1,4 +1,4 @@
-import type { MouseEvent as ReactMouseEvent } from 'react'
+import { type MouseEvent as ReactMouseEvent, useState } from 'react'
import { Folder, MoreHorizontal, Plus } from 'lucide-react'
import Link from 'next/link'
import {
@@ -12,6 +12,7 @@ import {
DropdownMenuSubTrigger,
DropdownMenuTrigger,
} from '@/components/emcn'
+import { Pencil, SquareArrowUpRight } from '@/components/emcn/icons'
import { cn } from '@/lib/core/utils/cn'
import { ConversationListItem } from '@/app/workspace/[workspaceId]/components'
import type { useHoverMenu } from '@/app/workspace/[workspaceId]/w/components/sidebar/hooks'
@@ -33,6 +34,7 @@ interface CollapsedSidebarMenuProps {
interface CollapsedTaskFlyoutItemProps {
task: { id: string; href: string; name: string; isActive?: boolean; isUnread?: boolean }
isCurrentRoute: boolean
+ isMenuOpen?: boolean
isEditing?: boolean
editValue?: string
inputRef?: React.RefObject
@@ -56,9 +58,9 @@ interface CollapsedWorkflowFlyoutItemProps {
onEditValueChange?: (value: string) => void
onEditKeyDown?: (e: React.KeyboardEvent) => void
onEditBlur?: () => void
- onContextMenu?: (e: ReactMouseEvent, workflow: WorkflowMetadata) => void
- onMorePointerDown?: () => void
- onMoreClick?: (e: ReactMouseEvent, workflow: WorkflowMetadata) => void
+ onOpenInNewTab?: () => void
+ onRename?: () => void
+ canRename?: boolean
}
const EDIT_ROW_CLASS =
@@ -68,10 +70,12 @@ function FlyoutMoreButton({
ariaLabel,
onPointerDown,
onClick,
+ isVisible,
}: {
ariaLabel: string
onPointerDown?: () => void
onClick: (e: ReactMouseEvent) => void
+ isVisible?: boolean
}) {
return (
@@ -154,7 +161,7 @@ export function CollapsedSidebarMenu({
@@ -180,6 +187,7 @@ export function CollapsedSidebarMenu({
export function CollapsedTaskFlyoutItem({
task,
isCurrentRoute,
+ isMenuOpen = false,
isEditing = false,
editValue,
inputRef,
@@ -221,12 +229,13 @@ export function CollapsedTaskFlyoutItem({
}
return (
-